Skip to content

Commit

Permalink
Update generated code for v287
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Mar 30, 2023
1 parent b072fe5 commit b4dfa14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v286
v287
13 changes: 2 additions & 11 deletions capital_financingtransaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,6 @@ type CapitalFinancingTransactionListParams struct {
ReversedTransaction *string `form:"reversed_transaction"`
}

// This is an object representing a linked transaction on a Capital Financing Transaction.
type CapitalFinancingTransactionDetailsTransaction struct {
// The linked payment ID.
Charge string `json:"charge"`
// The linked Treasury Financing Transaction ID.
TreasuryTransaction string `json:"treasury_transaction"`
}

// This is an object representing a transaction on a Capital financing offer.
type CapitalFinancingTransactionDetails struct {
// The advance amount being repaid, paid out, or reversed in minor units.
Expand All @@ -64,7 +56,8 @@ type CapitalFinancingTransactionDetails struct {
Currency Currency `json:"currency"`
// The fee amount being repaid, paid out, or reversed in minor units.
FeeAmount int64 `json:"fee_amount"`
// The linked payment for the transaction. This field only applies to financing transactions of type `paydown` and reason `automatic_withholding`.
// The linked payment for the transaction. This field only applies to
// financing transactions of type `paydown` and reason `automatic_withholding`.
LinkedPayment string `json:"linked_payment"`
// The reason for the financing transaction (if applicable).
Reason CapitalFinancingTransactionDetailsReason `json:"reason"`
Expand All @@ -73,8 +66,6 @@ type CapitalFinancingTransactionDetails struct {
ReversedTransaction string `json:"reversed_transaction"`
// The advance and fee amount being repaid, paid out, or reversed in minor units.
TotalAmount int64 `json:"total_amount"`
// This is an object representing a linked transaction on a Capital Financing Transaction.
Transaction *CapitalFinancingTransactionDetailsTransaction `json:"transaction"`
}

// This is an object representing the details of a transaction on a Capital financing object.
Expand Down

0 comments on commit b4dfa14

Please sign in to comment.