mirror of
https://github.com/plutov/paypal.git
synced 2025-01-23 10:21:03 +01:00
more fixes
This commit is contained in:
parent
da7d8507ff
commit
a329399695
4
types.go
4
types.go
|
@ -337,13 +337,13 @@ type (
|
||||||
PurchaseUnitRequest struct {
|
PurchaseUnitRequest struct {
|
||||||
ReferenceID string `json:"reference_id"`
|
ReferenceID string `json:"reference_id"`
|
||||||
Amount *PurchaseUnitAmount `json:"amount"`
|
Amount *PurchaseUnitAmount `json:"amount"`
|
||||||
Payee Payee `json:"payee,omitempty"`
|
Payee *Payee `json:"payee,omitempty"`
|
||||||
Description string `json:"description,omitempty"`
|
Description string `json:"description,omitempty"`
|
||||||
CustomID string `json:"custom_id,omitempty"`
|
CustomID string `json:"custom_id,omitempty"`
|
||||||
InvoiceID string `json:"invoice_id,omitempty"`
|
InvoiceID string `json:"invoice_id,omitempty"`
|
||||||
SoftDescriptor string `json:"soft_descriptor,omitempty"`
|
SoftDescriptor string `json:"soft_descriptor,omitempty"`
|
||||||
Items []Item `json:"items,omitempty"`
|
Items []Item `json:"items,omitempty"`
|
||||||
Shipping ShippingDetail `json:"shipping,omitempty"`
|
Shipping *ShippingDetail `json:"shipping,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// MerchantPreferences struct
|
// MerchantPreferences struct
|
||||||
|
|
Loading…
Reference in New Issue
Block a user