forked from go-packages/paypal
#69: add payment response
This commit is contained in:
parent
f17191367d
commit
9c283e9d42
8
types.go
8
types.go
|
@ -401,8 +401,12 @@ type (
|
|||
|
||||
// PaymentResponse structure
|
||||
PaymentResponse struct {
|
||||
ID string `json:"id"`
|
||||
Links []Link `json:"links"`
|
||||
ID string `json:"id"`
|
||||
State string `json:"state"`
|
||||
Intent string `json:"intent"`
|
||||
Payer Payer `json:"payer"`
|
||||
Transactions []Transaction `json:"transactions"`
|
||||
Links []Link `json:"links"`
|
||||
}
|
||||
|
||||
// Payout struct
|
||||
|
|
Loading…
Reference in New Issue
Block a user