forked from go-packages/paypal
#163: payment_instruction on the purchase_unit_request
This commit is contained in:
parent
62598e5880
commit
d90cb75e47
2
types.go
2
types.go
|
@ -558,6 +558,7 @@ type (
|
|||
ReferenceID string `json:"reference_id"`
|
||||
Amount *PurchaseUnitAmount `json:"amount,omitempty"`
|
||||
Payments *CapturedPayments `json:"payments,omitempty"`
|
||||
Payment_Instruction *PaymentInstruction `json:"payment_instruction,omitempty"`
|
||||
}
|
||||
|
||||
// TaxInfo used for orders.
|
||||
|
@ -605,6 +606,7 @@ type (
|
|||
SoftDescriptor string `json:"soft_descriptor,omitempty"`
|
||||
Items []Item `json:"items,omitempty"`
|
||||
Shipping *ShippingDetail `json:"shipping,omitempty"`
|
||||
PaymentInstruction *PaymentInstruction `json:"payment_instruction,omitempty"`
|
||||
}
|
||||
|
||||
// MerchantPreferences struct
|
||||
|
|
Loading…
Reference in New Issue
Block a user