Skip to content

Commit

Permalink
Update payment capture response type to include links (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadonra authored and roopakv committed Nov 18, 2019
1 parent a6e6c7a commit 5feda2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ type (
InvoiceID string `json:"invoice_id,omitempty"`
FinalCapture bool `json:"final_capture,omitempty"`
DisbursementMode string `json:"disbursement_mode,omitempty"`
Links []Link `json:"links,omitempty"`
}

// CaptureOrderRequest - https://developer.paypal.com/docs/api/orders/v2/#orders_capture
Expand Down

0 comments on commit 5feda2c

Please sign in to comment.