diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index e6667adbc1..cb70129c35 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1007 \ No newline at end of file +v1008 \ No newline at end of file diff --git a/confirmationtoken.go b/confirmationtoken.go index 2fcbecefe5..93770e2311 100644 --- a/confirmationtoken.go +++ b/confirmationtoken.go @@ -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{} diff --git a/issuing/authorization/client.go b/issuing/authorization/client.go index a60e68edb9..64d6f567a9 100644 --- a/issuing/authorization/client.go +++ b/issuing/authorization/client.go @@ -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{} @@ -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{} diff --git a/order.go b/order.go index 2dee4f3aca..37d5cfa26b 100644 --- a/order.go +++ b/order.go @@ -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. // @@ -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. // diff --git a/paymentintent.go b/paymentintent.go index 96f10a5dd6..a1417f6b2f 100644 --- a/paymentintent.go +++ b/paymentintent.go @@ -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. // @@ -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. // diff --git a/paymentmethod.go b/paymentmethod.go index 8a5a11f9f8..3edeab868b 100644 --- a/paymentmethod.go +++ b/paymentmethod.go @@ -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{} diff --git a/setupintent.go b/setupintent.go index 7fb0981d5a..93905fde7f 100644 --- a/setupintent.go +++ b/setupintent.go @@ -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"` } @@ -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 {