diff --git a/types.go b/types.go index 11bdf09..655da70 100644 --- a/types.go +++ b/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