Skip to content

Commit

Permalink
add refund details to order detail (#394)
Browse files Browse the repository at this point in the history
Co-authored-by: rickycoder <[email protected]>
  • Loading branch information
rickycoder and rickycoder authored May 10, 2024
1 parent f517dc0 commit ab73cf0
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions paypal/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -493,11 +493,24 @@ type Capture struct {
Links []*Link `json:"links,omitempty"`
CreateTime string `json:"create_time,omitempty"`
UpdateTime string `json:"update_time,omitempty"`
InvoiceId string `json:"invoice_id,omitempty"`
CustomId string `json:"custom_id,omitempty"`
}

type Refund struct {
Status string `json:"status,omitempty"`
StatusDetails *StatusDetails `json:"status_details,omitempty"`
Id string `json:"id,omitempty"`
Status string `json:"status,omitempty"`
StatusDetails *StatusDetails `json:"status_details,omitempty"`
InvoiceId string `json:"invoice_id,omitempty"`
CustomId string `json:"custom_id,omitempty"`
AcquirerReferenceNumber string `json:"acquirer_reference_number,omitempty"`
NoteToPayer string `json:"note_to_payer,omitempty"`
SellerPayableBreakdown *SellerPayableBreakdown `json:"seller_payable_breakdown,omitempty"`
Links []*Link `json:"links,omitempty"`
Amount *Amount `json:"amount,omitempty"`
Payer *Payee `json:"payer,omitempty"`
CreateTime string `json:"create_time,omitempty"`
UpdateTime string `json:"update_time,omitempty"`
}

type Link struct {
Expand Down

0 comments on commit ab73cf0

Please sign in to comment.