forked from go-packages/paypal
Order payer information (#169)
* simplest change * re-using existing type Co-authored-by: John Landis <jlandis@bcorporation.net>
This commit is contained in:
parent
761c20a4ed
commit
289b2669ef
15
types.go
15
types.go
|
@ -580,13 +580,14 @@ type (
|
||||||
|
|
||||||
// Order struct
|
// Order struct
|
||||||
Order struct {
|
Order struct {
|
||||||
ID string `json:"id,omitempty"`
|
ID string `json:"id,omitempty"`
|
||||||
Status string `json:"status,omitempty"`
|
Status string `json:"status,omitempty"`
|
||||||
Intent string `json:"intent,omitempty"`
|
Intent string `json:"intent,omitempty"`
|
||||||
PurchaseUnits []PurchaseUnit `json:"purchase_units,omitempty"`
|
Payer *PayerWithNameAndPhone `json:"payer,omitempty"`
|
||||||
Links []Link `json:"links,omitempty"`
|
PurchaseUnits []PurchaseUnit `json:"purchase_units,omitempty"`
|
||||||
CreateTime *time.Time `json:"create_time,omitempty"`
|
Links []Link `json:"links,omitempty"`
|
||||||
UpdateTime *time.Time `json:"update_time,omitempty"`
|
CreateTime *time.Time `json:"create_time,omitempty"`
|
||||||
|
UpdateTime *time.Time `json:"update_time,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// CaptureAmount struct
|
// CaptureAmount struct
|
||||||
|
|
Loading…
Reference in New Issue
Block a user