Skip to content

Commit

Permalink
Update generated code (#1678)
Browse files Browse the repository at this point in the history
* Update generated code for v388

* Update generated code for v391

* Update generated code for v393

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: anniel-stripe <[email protected]>
  • Loading branch information
stripe-openapi[bot] and anniel-stripe authored Jun 22, 2023
1 parent e248480 commit ee48889
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v387
v393
2 changes: 2 additions & 0 deletions mandate.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ type Mandate struct {
MultiUse *MandateMultiUse `json:"multi_use"`
// String representing the object's type. Objects of the same type share the same value.
Object string `json:"object"`
// The account (if any) for which the mandate is intended.
OnBehalfOf string `json:"on_behalf_of"`
// ID of the payment method associated with this mandate.
PaymentMethod *PaymentMethod `json:"payment_method"`
PaymentMethodDetails *MandatePaymentMethodDetails `json:"payment_method_details"`
Expand Down
2 changes: 1 addition & 1 deletion subscriptionschedule.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ type SubscriptionScheduleListParams struct {

// All invoices will be billed using the specified settings.
type SubscriptionScheduleDefaultSettingsInvoiceSettingsParams struct {
// Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`.
// Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `collection_method=charge_automatically`.
DaysUntilDue *int64 `form:"days_until_due"`
}

Expand Down
2 changes: 1 addition & 1 deletion tax_transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ type TaxTransactionCreateReversalParams struct {
Mode *string `form:"mode"`
// The ID of the Transaction to partially or fully reverse.
OriginalTransaction *string `form:"original_transaction"`
// A custom identifier for this reversal, such as 'myOrder_123-refund_1', which must be unique across all transactions. The reference helps identify this reversal transaction in exported [tax reports](https://stripe.com/docs/tax/reports).
// A custom identifier for this reversal, such as `myOrder_123-refund_1`, which must be unique across all transactions. The reference helps identify this reversal transaction in exported [tax reports](https://stripe.com/docs/tax/reports).
Reference *string `form:"reference"`
// The shipping cost to reverse.
ShippingCost *TaxTransactionCreateReversalShippingCostParams `form:"shipping_cost"`
Expand Down

0 comments on commit ee48889

Please sign in to comment.