Merge branch 'master' into roopakv/tiny_fix

This commit is contained in:
Roopak Venkatakrishnan 2019-06-28 21:01:15 -07:00 committed by GitHub
commit e6cc18e840
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -335,9 +335,9 @@ type (
// PurchaseUnitRequest struct // PurchaseUnitRequest struct
PurchaseUnitRequest struct { PurchaseUnitRequest struct {
ReferenceID string `json:"reference_id"` ReferenceID string `json:"reference_id,omitempty"`
Amount *PurchaseUnitAmount `json:"amount"` Amount *PurchaseUnitAmount `json:"amount"`
Payee *Payee `json:"payee,omitempty"` Payee *PayeeForOrders `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"`
@ -569,6 +569,12 @@ type (
Email string `json:"email"` Email string `json:"email"`
} }
// PayeeForOrders struct
PayeeForOrders struct {
EmailAddress string `json:"email_address,omitempty"`
MerchantID string `json:"merchant_id,omitempty"`
}
// UserInfo struct // UserInfo struct
UserInfo struct { UserInfo struct {
ID string `json:"user_id"` ID string `json:"user_id"`