Add custom_id to captured orders (#114)

This commit is contained in:
Alvaro Carvajal 2019-09-03 22:39:22 +02:00 committed by Roopak Venkatakrishnan
parent 32920d672b
commit c0ae3c0d06

View File

@ -467,8 +467,9 @@ type (
// CaptureAmount struct
CaptureAmount struct {
ID string `json:"id,omitempty"`
Amount *PurchaseUnitAmount `json:"amount,omitempty"`
ID string `json:"id,omitempty"`
CustomID string `json:"custom_id,omitempty"`
Amount *PurchaseUnitAmount `json:"amount,omitempty"`
}
// CapturedPayments has the amounts for a captured order