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 structure
|
||||||
PaymentResponse struct {
|
PaymentResponse struct {
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
Links []Link `json:"links"`
|
State string `json:"state"`
|
||||||
|
Intent string `json:"intent"`
|
||||||
|
Payer Payer `json:"payer"`
|
||||||
|
Transactions []Transaction `json:"transactions"`
|
||||||
|
Links []Link `json:"links"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Payout struct
|
// Payout struct
|
||||||
|
|
Loading…
Reference in New Issue
Block a user