mirror of
https://github.com/plutov/paypal.git
synced 2025-01-23 10:21:03 +01:00
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 {
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user