forked from go-packages/paypal
Add custom_id to captured orders (#114)
This commit is contained in:
parent
32920d672b
commit
c0ae3c0d06
5
types.go
5
types.go
|
@ -467,8 +467,9 @@ type (
|
||||||
|
|
||||||
// CaptureAmount struct
|
// CaptureAmount struct
|
||||||
CaptureAmount struct {
|
CaptureAmount struct {
|
||||||
ID string `json:"id,omitempty"`
|
ID string `json:"id,omitempty"`
|
||||||
Amount *PurchaseUnitAmount `json:"amount,omitempty"`
|
CustomID string `json:"custom_id,omitempty"`
|
||||||
|
Amount *PurchaseUnitAmount `json:"amount,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// CapturedPayments has the amounts for a captured order
|
// CapturedPayments has the amounts for a captured order
|
||||||
|
|
Loading…
Reference in New Issue
Block a user