forked from go-packages/paypal
Update payment capture response type to include links (#128)
This commit is contained in:
parent
a6e6c7ae98
commit
5feda2cf5e
1
types.go
1
types.go
|
@ -235,6 +235,7 @@ type (
|
||||||
InvoiceID string `json:"invoice_id,omitempty"`
|
InvoiceID string `json:"invoice_id,omitempty"`
|
||||||
FinalCapture bool `json:"final_capture,omitempty"`
|
FinalCapture bool `json:"final_capture,omitempty"`
|
||||||
DisbursementMode string `json:"disbursement_mode,omitempty"`
|
DisbursementMode string `json:"disbursement_mode,omitempty"`
|
||||||
|
Links []Link `json:"links,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// CaptureOrderRequest - https://developer.paypal.com/docs/api/orders/v2/#orders_capture
|
// CaptureOrderRequest - https://developer.paypal.com/docs/api/orders/v2/#orders_capture
|
||||||
|
|
Loading…
Reference in New Issue
Block a user