#163: payment_instruction on the purchase_unit_request

This commit is contained in:
Alex Pliutau 2021-04-10 18:13:45 +02:00
parent 62598e5880
commit d90cb75e47

View File

@ -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