mirror of
https://github.com/plutov/paypal.git
synced 2025-01-23 10:21:03 +01:00
Merge pull request #58 from cwebley/add-payee
add payee struct to Transaction
This commit is contained in:
commit
07b625244a
6
types.go
6
types.go
|
@ -514,6 +514,12 @@ type (
|
||||||
PaymentOptions *PaymentOptions `json:"payment_options,omitempty"`
|
PaymentOptions *PaymentOptions `json:"payment_options,omitempty"`
|
||||||
NotifyURL string `json:"notify_url,omitempty"`
|
NotifyURL string `json:"notify_url,omitempty"`
|
||||||
OrderURL string `json:"order_url,omitempty"`
|
OrderURL string `json:"order_url,omitempty"`
|
||||||
|
Payee *Payee `json:"payee,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
//Payee struct
|
||||||
|
Payee struct {
|
||||||
|
Email string `json:"email"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// UserInfo struct
|
// UserInfo struct
|
||||||
|
|
Loading…
Reference in New Issue
Block a user