mirror of
https://github.com/plutov/paypal.git
synced 2025-01-23 10:21:03 +01:00
Merge pull request #225 from RensTillmann/patch-1
Added missing `items` on `PurchaseUnit` struct
This commit is contained in:
commit
cbabac29c8
1
types.go
1
types.go
|
@ -591,6 +591,7 @@ type (
|
||||||
ID string `json:"id,omitempty"`
|
ID string `json:"id,omitempty"`
|
||||||
SoftDescriptor string `json:"soft_descriptor,omitempty"`
|
SoftDescriptor string `json:"soft_descriptor,omitempty"`
|
||||||
Shipping *ShippingDetail `json:"shipping,omitempty"`
|
Shipping *ShippingDetail `json:"shipping,omitempty"`
|
||||||
|
Items []Item `json:"items,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// TaxInfo used for orders.
|
// TaxInfo used for orders.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user