Skip to content

Commit

Permalink
Merge upstream and update generated code for v1008
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed May 2, 2024
2 parents e2a00a5 + 6092176 commit 5b608a1
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1007
v1008
2 changes: 1 addition & 1 deletion confirmationtoken.go
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ type ConfirmationTokenPaymentMethodPreviewLink struct {
// Account owner's email address.
Email string `json:"email"`
// [Deprecated] This is a legacy parameter that no longer has any function.
// Deprecated: This property is deprecated, please refer to the description for details.
// Deprecated:
PersistentToken string `json:"persistent_token"`
}
type ConfirmationTokenPaymentMethodPreviewMobilepay struct{}
Expand Down
8 changes: 4 additions & 4 deletions issuing/authorization/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ func (c Client) Update(id string, params *stripe.IssuingAuthorizationParams) (*s
}

// Approve is the method for the `POST /v1/issuing/authorizations/{authorization}/approve` API.
// Deprecated: This method is deprecated, please refer to the description for details.
// Deprecated:
func Approve(id string, params *stripe.IssuingAuthorizationApproveParams) (*stripe.IssuingAuthorization, error) {
return getC().Approve(id, params)
}

// Approve is the method for the `POST /v1/issuing/authorizations/{authorization}/approve` API.
// Deprecated: This method is deprecated, please refer to the description for details.
// Deprecated:
func (c Client) Approve(id string, params *stripe.IssuingAuthorizationApproveParams) (*stripe.IssuingAuthorization, error) {
path := stripe.FormatURLPath("/v1/issuing/authorizations/%s/approve", id)
authorization := &stripe.IssuingAuthorization{}
Expand All @@ -62,13 +62,13 @@ func (c Client) Approve(id string, params *stripe.IssuingAuthorizationApprovePar
}

// Decline is the method for the `POST /v1/issuing/authorizations/{authorization}/decline` API.
// Deprecated: This method is deprecated, please refer to the description for details.
// Deprecated:
func Decline(id string, params *stripe.IssuingAuthorizationDeclineParams) (*stripe.IssuingAuthorization, error) {
return getC().Decline(id, params)
}

// Decline is the method for the `POST /v1/issuing/authorizations/{authorization}/decline` API.
// Deprecated: This method is deprecated, please refer to the description for details.
// Deprecated:
func (c Client) Decline(id string, params *stripe.IssuingAuthorizationDeclineParams) (*stripe.IssuingAuthorization, error) {
path := stripe.FormatURLPath("/v1/issuing/authorizations/%s/decline", id)
authorization := &stripe.IssuingAuthorization{}
Expand Down
4 changes: 2 additions & 2 deletions order.go
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ type OrderPaymentSettingsPaymentMethodOptionsLinkParams struct {
// If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter will unset the stored value for this payment method type.
CaptureMethod *string `form:"capture_method"`
// [Deprecated] This is a legacy parameter that no longer has any function.
// Deprecated: This property is deprecated, please refer to the description for details.
// Deprecated:
PersistentToken *string `form:"persistent_token"`
// Indicates that you intend to make future payments with this PaymentIntent's payment method.
//
Expand Down Expand Up @@ -1426,7 +1426,7 @@ type OrderPaymentSettingsPaymentMethodOptionsLink struct {
// Controls when the funds will be captured from the customer's account.
CaptureMethod OrderPaymentSettingsPaymentMethodOptionsLinkCaptureMethod `json:"capture_method"`
// [Deprecated] This is a legacy parameter that no longer has any function.
// Deprecated: This property is deprecated, please refer to the description for details.
// Deprecated:
PersistentToken string `json:"persistent_token"`
// Indicates that you intend to make future payments with this PaymentIntent's payment method.
//
Expand Down
4 changes: 2 additions & 2 deletions paymentintent.go
Original file line number Diff line number Diff line change
Expand Up @@ -2043,7 +2043,7 @@ type PaymentIntentPaymentMethodOptionsLinkParams struct {
// If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter will unset the stored value for this payment method type.
CaptureMethod *string `form:"capture_method"`
// [Deprecated] This is a legacy parameter that no longer has any function.
// Deprecated: This property is deprecated, please refer to the description for details.
// Deprecated:
PersistentToken *string `form:"persistent_token"`
// Indicates that you intend to make future payments with this PaymentIntent's payment method.
//
Expand Down Expand Up @@ -4304,7 +4304,7 @@ type PaymentIntentPaymentMethodOptionsLink struct {
// Controls when the funds will be captured from the customer's account.
CaptureMethod PaymentIntentPaymentMethodOptionsLinkCaptureMethod `json:"capture_method"`
// [Deprecated] This is a legacy parameter that no longer has any function.
// Deprecated: This property is deprecated, please refer to the description for details.
// Deprecated:
PersistentToken string `json:"persistent_token"`
// Indicates that you intend to make future payments with this PaymentIntent's payment method.
//
Expand Down
2 changes: 1 addition & 1 deletion paymentmethod.go
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ type PaymentMethodLink struct {
// Account owner's email address.
Email string `json:"email"`
// [Deprecated] This is a legacy parameter that no longer has any function.
// Deprecated: This property is deprecated, please refer to the description for details.
// Deprecated:
PersistentToken string `json:"persistent_token"`
}
type PaymentMethodMobilepay struct{}
Expand Down
4 changes: 2 additions & 2 deletions setupintent.go
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ type SetupIntentPaymentMethodOptionsCardPresentParams struct{}
// If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
type SetupIntentPaymentMethodOptionsLinkParams struct {
// [Deprecated] This is a legacy parameter that no longer has any function.
// Deprecated: This property is deprecated, please refer to the description for details.
// Deprecated:
PersistentToken *string `form:"persistent_token"`
}

Expand Down Expand Up @@ -1493,7 +1493,7 @@ type SetupIntentPaymentMethodOptionsCard struct {
type SetupIntentPaymentMethodOptionsCardPresent struct{}
type SetupIntentPaymentMethodOptionsLink struct {
// [Deprecated] This is a legacy parameter that no longer has any function.
// Deprecated: This property is deprecated, please refer to the description for details.
// Deprecated:
PersistentToken string `json:"persistent_token"`
}
type SetupIntentPaymentMethodOptionsPaypal struct {
Expand Down

0 comments on commit 5b608a1

Please sign in to comment.