Order payer information (#169)

* simplest change

* re-using existing type

Co-authored-by: John Landis <jlandis@bcorporation.net>
This commit is contained in:
John Landis 2020-09-16 18:30:17 -04:00 committed by GitHub
parent 761c20a4ed
commit 289b2669ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -583,6 +583,7 @@ type (
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"`
Payer *PayerWithNameAndPhone `json:"payer,omitempty"`
PurchaseUnits []PurchaseUnit `json:"purchase_units,omitempty"` PurchaseUnits []PurchaseUnit `json:"purchase_units,omitempty"`
Links []Link `json:"links,omitempty"` Links []Link `json:"links,omitempty"`
CreateTime *time.Time `json:"create_time,omitempty"` CreateTime *time.Time `json:"create_time,omitempty"`