forked from go-packages/paypal
Merge branch 'master' into roopakv/tiny_fix
This commit is contained in:
commit
e6cc18e840
10
types.go
10
types.go
|
@ -335,9 +335,9 @@ type (
|
|||
|
||||
// PurchaseUnitRequest struct
|
||||
PurchaseUnitRequest struct {
|
||||
ReferenceID string `json:"reference_id"`
|
||||
ReferenceID string `json:"reference_id,omitempty"`
|
||||
Amount *PurchaseUnitAmount `json:"amount"`
|
||||
Payee *Payee `json:"payee,omitempty"`
|
||||
Payee *PayeeForOrders `json:"payee,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
CustomID string `json:"custom_id,omitempty"`
|
||||
InvoiceID string `json:"invoice_id,omitempty"`
|
||||
|
@ -569,6 +569,12 @@ type (
|
|||
Email string `json:"email"`
|
||||
}
|
||||
|
||||
// PayeeForOrders struct
|
||||
PayeeForOrders struct {
|
||||
EmailAddress string `json:"email_address,omitempty"`
|
||||
MerchantID string `json:"merchant_id,omitempty"`
|
||||
}
|
||||
|
||||
// UserInfo struct
|
||||
UserInfo struct {
|
||||
ID string `json:"user_id"`
|
||||
|
|
Loading…
Reference in New Issue
Block a user