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 {
|
||||
ID string `json:"id,omitempty"`
|
||||
Status string `json:"status,omitempty"`
|
||||
Intent string `json:"intent,omitempty"`
|
||||
PurchaseUnits []PurchaseUnit `json:"purchase_units,omitempty"`
|
||||
Links []Link `json:"links,omitempty"`
|
||||
CreateTime *time.Time `json:"create_time,omitempty"`
|
||||
UpdateTime *time.Time `json:"update_time,omitempty"`
|
||||
ID string `json:"id,omitempty"`
|
||||
Status string `json:"status,omitempty"`
|
||||
Intent string `json:"intent,omitempty"`
|
||||
Payer *PayerWithNameAndPhone `json:"payer,omitempty"`
|
||||
PurchaseUnits []PurchaseUnit `json:"purchase_units,omitempty"`
|
||||
Links []Link `json:"links,omitempty"`
|
||||
CreateTime *time.Time `json:"create_time,omitempty"`
|
||||
UpdateTime *time.Time `json:"update_time,omitempty"`
|
||||
}
|
||||
|
||||
// CaptureAmount struct
|
||||
|
|
Loading…
Reference in New Issue
Block a user