Update payment capture response type to include links (#128)

This commit is contained in:
Eric Lee 2019-11-18 14:44:42 -08:00 committed by Roopak Venkatakrishnan
parent a6e6c7ae98
commit 5feda2cf5e

View File

@ -235,6 +235,7 @@ type (
InvoiceID string `json:"invoice_id,omitempty"`
FinalCapture bool `json:"final_capture,omitempty"`
DisbursementMode string `json:"disbursement_mode,omitempty"`
Links []Link `json:"links,omitempty"`
}
// CaptureOrderRequest - https://developer.paypal.com/docs/api/orders/v2/#orders_capture