mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-11-28 00:02:45 -05:00
Update generated code for v1760
This commit is contained in:
parent
1f5eb68c99
commit
e22c744f5b
@ -1 +1 @@
|
||||
v1759
|
||||
v1760
|
||||
@ -157,6 +157,10 @@ module Stripe
|
||||
end
|
||||
|
||||
class Affirm < Stripe::StripeObject
|
||||
# ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
|
||||
attr_reader :location
|
||||
# ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
|
||||
attr_reader :reader
|
||||
# The Affirm transaction ID associated with this payment.
|
||||
attr_reader :transaction_id
|
||||
end
|
||||
@ -1082,6 +1086,10 @@ module Stripe
|
||||
class WechatPay < Stripe::StripeObject
|
||||
# Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
|
||||
attr_reader :fingerprint
|
||||
# ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
|
||||
attr_reader :location
|
||||
# ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
|
||||
attr_reader :reader
|
||||
# Transaction ID of this particular WeChat Pay transaction.
|
||||
attr_reader :transaction_id
|
||||
end
|
||||
|
||||
@ -96,6 +96,10 @@ module Stripe
|
||||
end
|
||||
|
||||
class Affirm < Stripe::StripeObject
|
||||
# ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
|
||||
attr_reader :location
|
||||
# ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
|
||||
attr_reader :reader
|
||||
# The Affirm transaction ID associated with this payment.
|
||||
attr_reader :transaction_id
|
||||
end
|
||||
@ -853,6 +857,10 @@ module Stripe
|
||||
class WechatPay < Stripe::StripeObject
|
||||
# Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
|
||||
attr_reader :fingerprint
|
||||
# ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
|
||||
attr_reader :location
|
||||
# ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
|
||||
attr_reader :reader
|
||||
# Transaction ID of this particular WeChat Pay transaction.
|
||||
attr_reader :transaction_id
|
||||
end
|
||||
|
||||
@ -94,6 +94,10 @@ module Stripe
|
||||
end
|
||||
|
||||
class Affirm < Stripe::StripeObject
|
||||
# ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
|
||||
attr_reader :location
|
||||
# ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
|
||||
attr_reader :reader
|
||||
# The Affirm transaction ID associated with this payment.
|
||||
attr_reader :transaction_id
|
||||
end
|
||||
@ -851,6 +855,10 @@ module Stripe
|
||||
class WechatPay < Stripe::StripeObject
|
||||
# Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
|
||||
attr_reader :fingerprint
|
||||
# ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
|
||||
attr_reader :location
|
||||
# ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
|
||||
attr_reader :reader
|
||||
# Transaction ID of this particular WeChat Pay transaction.
|
||||
attr_reader :transaction_id
|
||||
end
|
||||
|
||||
@ -140,8 +140,14 @@ module Stripe
|
||||
end
|
||||
|
||||
class ConfirmPaymentIntent < Stripe::StripeObject
|
||||
class ConfirmConfig < Stripe::StripeObject
|
||||
# If the customer does not abandon authenticating the payment, they will be redirected to this specified URL after completion.
|
||||
attr_reader :return_url
|
||||
end
|
||||
# Account the payment intent belongs to.
|
||||
attr_reader :account
|
||||
# Represents a per-transaction override of a reader configuration
|
||||
attr_reader :confirm_config
|
||||
# Most recent PaymentIntent processed by the reader.
|
||||
attr_reader :payment_intent
|
||||
end
|
||||
@ -154,6 +160,8 @@ module Stripe
|
||||
end
|
||||
# Enable customer initiated cancellation when processing this payment.
|
||||
attr_reader :enable_customer_cancellation
|
||||
# If the customer does not abandon authenticating the payment, they will be redirected to this specified URL after completion.
|
||||
attr_reader :return_url
|
||||
# Override showing a tipping selection screen on this transaction.
|
||||
attr_reader :skip_tipping
|
||||
# Represents a per-transaction tipping configuration
|
||||
@ -483,12 +491,23 @@ module Stripe
|
||||
end
|
||||
|
||||
class ConfirmPaymentIntentParams < Stripe::RequestParams
|
||||
class ConfirmConfig < Stripe::RequestParams
|
||||
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
|
||||
attr_accessor :return_url
|
||||
|
||||
def initialize(return_url: nil)
|
||||
@return_url = return_url
|
||||
end
|
||||
end
|
||||
# Configuration overrides
|
||||
attr_accessor :confirm_config
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
# PaymentIntent ID
|
||||
attr_accessor :payment_intent
|
||||
|
||||
def initialize(expand: nil, payment_intent: nil)
|
||||
def initialize(confirm_config: nil, expand: nil, payment_intent: nil)
|
||||
@confirm_config = confirm_config
|
||||
@expand = expand
|
||||
@payment_intent = payment_intent
|
||||
end
|
||||
@ -508,6 +527,8 @@ module Stripe
|
||||
attr_accessor :allow_redisplay
|
||||
# Enables cancel button on transaction screens.
|
||||
attr_accessor :enable_customer_cancellation
|
||||
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
|
||||
attr_accessor :return_url
|
||||
# Override showing a tipping selection screen on this transaction.
|
||||
attr_accessor :skip_tipping
|
||||
# Tipping configuration for this transaction.
|
||||
@ -516,11 +537,13 @@ module Stripe
|
||||
def initialize(
|
||||
allow_redisplay: nil,
|
||||
enable_customer_cancellation: nil,
|
||||
return_url: nil,
|
||||
skip_tipping: nil,
|
||||
tipping: nil
|
||||
)
|
||||
@allow_redisplay = allow_redisplay
|
||||
@enable_customer_cancellation = enable_customer_cancellation
|
||||
@return_url = return_url
|
||||
@skip_tipping = skip_tipping
|
||||
@tipping = tipping
|
||||
end
|
||||
|
||||
@ -241,12 +241,23 @@ module Stripe
|
||||
end
|
||||
|
||||
class ConfirmPaymentIntentParams < Stripe::RequestParams
|
||||
class ConfirmConfig < Stripe::RequestParams
|
||||
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
|
||||
attr_accessor :return_url
|
||||
|
||||
def initialize(return_url: nil)
|
||||
@return_url = return_url
|
||||
end
|
||||
end
|
||||
# Configuration overrides
|
||||
attr_accessor :confirm_config
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
# PaymentIntent ID
|
||||
attr_accessor :payment_intent
|
||||
|
||||
def initialize(expand: nil, payment_intent: nil)
|
||||
def initialize(confirm_config: nil, expand: nil, payment_intent: nil)
|
||||
@confirm_config = confirm_config
|
||||
@expand = expand
|
||||
@payment_intent = payment_intent
|
||||
end
|
||||
@ -266,6 +277,8 @@ module Stripe
|
||||
attr_accessor :allow_redisplay
|
||||
# Enables cancel button on transaction screens.
|
||||
attr_accessor :enable_customer_cancellation
|
||||
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
|
||||
attr_accessor :return_url
|
||||
# Override showing a tipping selection screen on this transaction.
|
||||
attr_accessor :skip_tipping
|
||||
# Tipping configuration for this transaction.
|
||||
@ -274,11 +287,13 @@ module Stripe
|
||||
def initialize(
|
||||
allow_redisplay: nil,
|
||||
enable_customer_cancellation: nil,
|
||||
return_url: nil,
|
||||
skip_tipping: nil,
|
||||
tipping: nil
|
||||
)
|
||||
@allow_redisplay = allow_redisplay
|
||||
@enable_customer_cancellation = enable_customer_cancellation
|
||||
@return_url = return_url
|
||||
@skip_tipping = skip_tipping
|
||||
@tipping = tipping
|
||||
end
|
||||
|
||||
@ -15360,6 +15360,12 @@ module Stripe
|
||||
attr_reader :transit_number
|
||||
end
|
||||
class Affirm < Stripe::StripeObject
|
||||
# ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
|
||||
sig { returns(String) }
|
||||
attr_reader :location
|
||||
# ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
|
||||
sig { returns(String) }
|
||||
attr_reader :reader
|
||||
# The Affirm transaction ID associated with this payment.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :transaction_id
|
||||
@ -16531,6 +16537,12 @@ module Stripe
|
||||
# Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :fingerprint
|
||||
# ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
|
||||
sig { returns(String) }
|
||||
attr_reader :location
|
||||
# ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
|
||||
sig { returns(String) }
|
||||
attr_reader :reader
|
||||
# Transaction ID of this particular WeChat Pay transaction.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :transaction_id
|
||||
@ -48458,6 +48470,12 @@ module Stripe
|
||||
attr_reader :transit_number
|
||||
end
|
||||
class Affirm < Stripe::StripeObject
|
||||
# ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
|
||||
sig { returns(String) }
|
||||
attr_reader :location
|
||||
# ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
|
||||
sig { returns(String) }
|
||||
attr_reader :reader
|
||||
# The Affirm transaction ID associated with this payment.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :transaction_id
|
||||
@ -49412,6 +49430,12 @@ module Stripe
|
||||
# Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :fingerprint
|
||||
# ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
|
||||
sig { returns(String) }
|
||||
attr_reader :location
|
||||
# ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
|
||||
sig { returns(String) }
|
||||
attr_reader :reader
|
||||
# Transaction ID of this particular WeChat Pay transaction.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :transaction_id
|
||||
@ -72759,6 +72783,12 @@ module Stripe
|
||||
attr_reader :transit_number
|
||||
end
|
||||
class Affirm < Stripe::StripeObject
|
||||
# ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
|
||||
sig { returns(String) }
|
||||
attr_reader :location
|
||||
# ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
|
||||
sig { returns(String) }
|
||||
attr_reader :reader
|
||||
# The Affirm transaction ID associated with this payment.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :transaction_id
|
||||
@ -73713,6 +73743,12 @@ module Stripe
|
||||
# Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :fingerprint
|
||||
# ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
|
||||
sig { returns(String) }
|
||||
attr_reader :location
|
||||
# ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
|
||||
sig { returns(String) }
|
||||
attr_reader :reader
|
||||
# Transaction ID of this particular WeChat Pay transaction.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :transaction_id
|
||||
@ -102260,9 +102296,17 @@ module Stripe
|
||||
attr_reader :payment_method
|
||||
end
|
||||
class ConfirmPaymentIntent < Stripe::StripeObject
|
||||
class ConfirmConfig < Stripe::StripeObject
|
||||
# If the customer does not abandon authenticating the payment, they will be redirected to this specified URL after completion.
|
||||
sig { returns(String) }
|
||||
attr_reader :return_url
|
||||
end
|
||||
# Account the payment intent belongs to.
|
||||
sig { returns(String) }
|
||||
attr_reader :account
|
||||
# Represents a per-transaction override of a reader configuration
|
||||
sig { returns(ConfirmConfig) }
|
||||
attr_reader :confirm_config
|
||||
# Most recent PaymentIntent processed by the reader.
|
||||
sig { returns(T.any(String, Stripe::PaymentIntent)) }
|
||||
attr_reader :payment_intent
|
||||
@ -102277,6 +102321,9 @@ module Stripe
|
||||
# Enable customer initiated cancellation when processing this payment.
|
||||
sig { returns(T::Boolean) }
|
||||
attr_reader :enable_customer_cancellation
|
||||
# If the customer does not abandon authenticating the payment, they will be redirected to this specified URL after completion.
|
||||
sig { returns(String) }
|
||||
attr_reader :return_url
|
||||
# Override showing a tipping selection screen on this transaction.
|
||||
sig { returns(T::Boolean) }
|
||||
attr_reader :skip_tipping
|
||||
@ -102695,14 +102742,28 @@ module Stripe
|
||||
def initialize(collect_config: nil, expand: nil, payment_intent: nil); end
|
||||
end
|
||||
class ConfirmPaymentIntentParams < Stripe::RequestParams
|
||||
class ConfirmConfig < Stripe::RequestParams
|
||||
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_accessor :return_url
|
||||
sig { params(return_url: T.nilable(String)).void }
|
||||
def initialize(return_url: nil); end
|
||||
end
|
||||
# Configuration overrides
|
||||
sig {
|
||||
returns(T.nilable(::Stripe::Terminal::Reader::ConfirmPaymentIntentParams::ConfirmConfig))
|
||||
}
|
||||
attr_accessor :confirm_config
|
||||
# Specifies which fields in the response should be expanded.
|
||||
sig { returns(T.nilable(T::Array[String])) }
|
||||
attr_accessor :expand
|
||||
# PaymentIntent ID
|
||||
sig { returns(String) }
|
||||
attr_accessor :payment_intent
|
||||
sig { params(expand: T.nilable(T::Array[String]), payment_intent: String).void }
|
||||
def initialize(expand: nil, payment_intent: nil); end
|
||||
sig {
|
||||
params(confirm_config: T.nilable(::Stripe::Terminal::Reader::ConfirmPaymentIntentParams::ConfirmConfig), expand: T.nilable(T::Array[String]), payment_intent: String).void
|
||||
}
|
||||
def initialize(confirm_config: nil, expand: nil, payment_intent: nil); end
|
||||
end
|
||||
class ProcessPaymentIntentParams < Stripe::RequestParams
|
||||
class ProcessConfig < Stripe::RequestParams
|
||||
@ -102719,6 +102780,9 @@ module Stripe
|
||||
# Enables cancel button on transaction screens.
|
||||
sig { returns(T.nilable(T::Boolean)) }
|
||||
attr_accessor :enable_customer_cancellation
|
||||
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_accessor :return_url
|
||||
# Override showing a tipping selection screen on this transaction.
|
||||
sig { returns(T.nilable(T::Boolean)) }
|
||||
attr_accessor :skip_tipping
|
||||
@ -102728,11 +102792,12 @@ module Stripe
|
||||
}
|
||||
attr_accessor :tipping
|
||||
sig {
|
||||
params(allow_redisplay: T.nilable(String), enable_customer_cancellation: T.nilable(T::Boolean), skip_tipping: T.nilable(T::Boolean), tipping: T.nilable(::Stripe::Terminal::Reader::ProcessPaymentIntentParams::ProcessConfig::Tipping)).void
|
||||
params(allow_redisplay: T.nilable(String), enable_customer_cancellation: T.nilable(T::Boolean), return_url: T.nilable(String), skip_tipping: T.nilable(T::Boolean), tipping: T.nilable(::Stripe::Terminal::Reader::ProcessPaymentIntentParams::ProcessConfig::Tipping)).void
|
||||
}
|
||||
def initialize(
|
||||
allow_redisplay: nil,
|
||||
enable_customer_cancellation: nil,
|
||||
return_url: nil,
|
||||
skip_tipping: nil,
|
||||
tipping: nil
|
||||
); end
|
||||
@ -179066,14 +179131,28 @@ module Stripe
|
||||
def initialize(collect_config: nil, expand: nil, payment_intent: nil); end
|
||||
end
|
||||
class ConfirmPaymentIntentParams < Stripe::RequestParams
|
||||
class ConfirmConfig < Stripe::RequestParams
|
||||
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_accessor :return_url
|
||||
sig { params(return_url: T.nilable(String)).void }
|
||||
def initialize(return_url: nil); end
|
||||
end
|
||||
# Configuration overrides
|
||||
sig {
|
||||
returns(T.nilable(::Stripe::Terminal::ReaderService::ConfirmPaymentIntentParams::ConfirmConfig))
|
||||
}
|
||||
attr_accessor :confirm_config
|
||||
# Specifies which fields in the response should be expanded.
|
||||
sig { returns(T.nilable(T::Array[String])) }
|
||||
attr_accessor :expand
|
||||
# PaymentIntent ID
|
||||
sig { returns(String) }
|
||||
attr_accessor :payment_intent
|
||||
sig { params(expand: T.nilable(T::Array[String]), payment_intent: String).void }
|
||||
def initialize(expand: nil, payment_intent: nil); end
|
||||
sig {
|
||||
params(confirm_config: T.nilable(::Stripe::Terminal::ReaderService::ConfirmPaymentIntentParams::ConfirmConfig), expand: T.nilable(T::Array[String]), payment_intent: String).void
|
||||
}
|
||||
def initialize(confirm_config: nil, expand: nil, payment_intent: nil); end
|
||||
end
|
||||
class ProcessPaymentIntentParams < Stripe::RequestParams
|
||||
class ProcessConfig < Stripe::RequestParams
|
||||
@ -179090,6 +179169,9 @@ module Stripe
|
||||
# Enables cancel button on transaction screens.
|
||||
sig { returns(T.nilable(T::Boolean)) }
|
||||
attr_accessor :enable_customer_cancellation
|
||||
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_accessor :return_url
|
||||
# Override showing a tipping selection screen on this transaction.
|
||||
sig { returns(T.nilable(T::Boolean)) }
|
||||
attr_accessor :skip_tipping
|
||||
@ -179099,11 +179181,12 @@ module Stripe
|
||||
}
|
||||
attr_accessor :tipping
|
||||
sig {
|
||||
params(allow_redisplay: T.nilable(String), enable_customer_cancellation: T.nilable(T::Boolean), skip_tipping: T.nilable(T::Boolean), tipping: T.nilable(::Stripe::Terminal::ReaderService::ProcessPaymentIntentParams::ProcessConfig::Tipping)).void
|
||||
params(allow_redisplay: T.nilable(String), enable_customer_cancellation: T.nilable(T::Boolean), return_url: T.nilable(String), skip_tipping: T.nilable(T::Boolean), tipping: T.nilable(::Stripe::Terminal::ReaderService::ProcessPaymentIntentParams::ProcessConfig::Tipping)).void
|
||||
}
|
||||
def initialize(
|
||||
allow_redisplay: nil,
|
||||
enable_customer_cancellation: nil,
|
||||
return_url: nil,
|
||||
skip_tipping: nil,
|
||||
tipping: nil
|
||||
); end
|
||||
|
||||
@ -192,6 +192,12 @@ module Stripe
|
||||
attr_reader :transit_number
|
||||
end
|
||||
class Affirm < Stripe::StripeObject
|
||||
# ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
|
||||
sig { returns(String) }
|
||||
attr_reader :location
|
||||
# ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
|
||||
sig { returns(String) }
|
||||
attr_reader :reader
|
||||
# The Affirm transaction ID associated with this payment.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :transaction_id
|
||||
@ -1363,6 +1369,12 @@ module Stripe
|
||||
# Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :fingerprint
|
||||
# ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
|
||||
sig { returns(String) }
|
||||
attr_reader :location
|
||||
# ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
|
||||
sig { returns(String) }
|
||||
attr_reader :reader
|
||||
# Transaction ID of this particular WeChat Pay transaction.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :transaction_id
|
||||
|
||||
@ -110,6 +110,12 @@ module Stripe
|
||||
attr_reader :transit_number
|
||||
end
|
||||
class Affirm < Stripe::StripeObject
|
||||
# ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
|
||||
sig { returns(String) }
|
||||
attr_reader :location
|
||||
# ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
|
||||
sig { returns(String) }
|
||||
attr_reader :reader
|
||||
# The Affirm transaction ID associated with this payment.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :transaction_id
|
||||
@ -1064,6 +1070,12 @@ module Stripe
|
||||
# Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :fingerprint
|
||||
# ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
|
||||
sig { returns(String) }
|
||||
attr_reader :location
|
||||
# ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
|
||||
sig { returns(String) }
|
||||
attr_reader :reader
|
||||
# Transaction ID of this particular WeChat Pay transaction.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :transaction_id
|
||||
|
||||
@ -110,6 +110,12 @@ module Stripe
|
||||
attr_reader :transit_number
|
||||
end
|
||||
class Affirm < Stripe::StripeObject
|
||||
# ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
|
||||
sig { returns(String) }
|
||||
attr_reader :location
|
||||
# ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
|
||||
sig { returns(String) }
|
||||
attr_reader :reader
|
||||
# The Affirm transaction ID associated with this payment.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :transaction_id
|
||||
@ -1064,6 +1070,12 @@ module Stripe
|
||||
# Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :fingerprint
|
||||
# ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
|
||||
sig { returns(String) }
|
||||
attr_reader :location
|
||||
# ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
|
||||
sig { returns(String) }
|
||||
attr_reader :reader
|
||||
# Transaction ID of this particular WeChat Pay transaction.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :transaction_id
|
||||
|
||||
@ -162,9 +162,17 @@ module Stripe
|
||||
attr_reader :payment_method
|
||||
end
|
||||
class ConfirmPaymentIntent < Stripe::StripeObject
|
||||
class ConfirmConfig < Stripe::StripeObject
|
||||
# If the customer does not abandon authenticating the payment, they will be redirected to this specified URL after completion.
|
||||
sig { returns(String) }
|
||||
attr_reader :return_url
|
||||
end
|
||||
# Account the payment intent belongs to.
|
||||
sig { returns(String) }
|
||||
attr_reader :account
|
||||
# Represents a per-transaction override of a reader configuration
|
||||
sig { returns(ConfirmConfig) }
|
||||
attr_reader :confirm_config
|
||||
# Most recent PaymentIntent processed by the reader.
|
||||
sig { returns(T.any(String, Stripe::PaymentIntent)) }
|
||||
attr_reader :payment_intent
|
||||
@ -179,6 +187,9 @@ module Stripe
|
||||
# Enable customer initiated cancellation when processing this payment.
|
||||
sig { returns(T::Boolean) }
|
||||
attr_reader :enable_customer_cancellation
|
||||
# If the customer does not abandon authenticating the payment, they will be redirected to this specified URL after completion.
|
||||
sig { returns(String) }
|
||||
attr_reader :return_url
|
||||
# Override showing a tipping selection screen on this transaction.
|
||||
sig { returns(T::Boolean) }
|
||||
attr_reader :skip_tipping
|
||||
@ -597,14 +608,28 @@ module Stripe
|
||||
def initialize(collect_config: nil, expand: nil, payment_intent: nil); end
|
||||
end
|
||||
class ConfirmPaymentIntentParams < Stripe::RequestParams
|
||||
class ConfirmConfig < Stripe::RequestParams
|
||||
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_accessor :return_url
|
||||
sig { params(return_url: T.nilable(String)).void }
|
||||
def initialize(return_url: nil); end
|
||||
end
|
||||
# Configuration overrides
|
||||
sig {
|
||||
returns(T.nilable(::Stripe::Terminal::Reader::ConfirmPaymentIntentParams::ConfirmConfig))
|
||||
}
|
||||
attr_accessor :confirm_config
|
||||
# Specifies which fields in the response should be expanded.
|
||||
sig { returns(T.nilable(T::Array[String])) }
|
||||
attr_accessor :expand
|
||||
# PaymentIntent ID
|
||||
sig { returns(String) }
|
||||
attr_accessor :payment_intent
|
||||
sig { params(expand: T.nilable(T::Array[String]), payment_intent: String).void }
|
||||
def initialize(expand: nil, payment_intent: nil); end
|
||||
sig {
|
||||
params(confirm_config: T.nilable(::Stripe::Terminal::Reader::ConfirmPaymentIntentParams::ConfirmConfig), expand: T.nilable(T::Array[String]), payment_intent: String).void
|
||||
}
|
||||
def initialize(confirm_config: nil, expand: nil, payment_intent: nil); end
|
||||
end
|
||||
class ProcessPaymentIntentParams < Stripe::RequestParams
|
||||
class ProcessConfig < Stripe::RequestParams
|
||||
@ -621,6 +646,9 @@ module Stripe
|
||||
# Enables cancel button on transaction screens.
|
||||
sig { returns(T.nilable(T::Boolean)) }
|
||||
attr_accessor :enable_customer_cancellation
|
||||
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_accessor :return_url
|
||||
# Override showing a tipping selection screen on this transaction.
|
||||
sig { returns(T.nilable(T::Boolean)) }
|
||||
attr_accessor :skip_tipping
|
||||
@ -630,11 +658,12 @@ module Stripe
|
||||
}
|
||||
attr_accessor :tipping
|
||||
sig {
|
||||
params(allow_redisplay: T.nilable(String), enable_customer_cancellation: T.nilable(T::Boolean), skip_tipping: T.nilable(T::Boolean), tipping: T.nilable(::Stripe::Terminal::Reader::ProcessPaymentIntentParams::ProcessConfig::Tipping)).void
|
||||
params(allow_redisplay: T.nilable(String), enable_customer_cancellation: T.nilable(T::Boolean), return_url: T.nilable(String), skip_tipping: T.nilable(T::Boolean), tipping: T.nilable(::Stripe::Terminal::Reader::ProcessPaymentIntentParams::ProcessConfig::Tipping)).void
|
||||
}
|
||||
def initialize(
|
||||
allow_redisplay: nil,
|
||||
enable_customer_cancellation: nil,
|
||||
return_url: nil,
|
||||
skip_tipping: nil,
|
||||
tipping: nil
|
||||
); end
|
||||
|
||||
@ -254,14 +254,28 @@ module Stripe
|
||||
def initialize(collect_config: nil, expand: nil, payment_intent: nil); end
|
||||
end
|
||||
class ConfirmPaymentIntentParams < Stripe::RequestParams
|
||||
class ConfirmConfig < Stripe::RequestParams
|
||||
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_accessor :return_url
|
||||
sig { params(return_url: T.nilable(String)).void }
|
||||
def initialize(return_url: nil); end
|
||||
end
|
||||
# Configuration overrides
|
||||
sig {
|
||||
returns(T.nilable(::Stripe::Terminal::ReaderService::ConfirmPaymentIntentParams::ConfirmConfig))
|
||||
}
|
||||
attr_accessor :confirm_config
|
||||
# Specifies which fields in the response should be expanded.
|
||||
sig { returns(T.nilable(T::Array[String])) }
|
||||
attr_accessor :expand
|
||||
# PaymentIntent ID
|
||||
sig { returns(String) }
|
||||
attr_accessor :payment_intent
|
||||
sig { params(expand: T.nilable(T::Array[String]), payment_intent: String).void }
|
||||
def initialize(expand: nil, payment_intent: nil); end
|
||||
sig {
|
||||
params(confirm_config: T.nilable(::Stripe::Terminal::ReaderService::ConfirmPaymentIntentParams::ConfirmConfig), expand: T.nilable(T::Array[String]), payment_intent: String).void
|
||||
}
|
||||
def initialize(confirm_config: nil, expand: nil, payment_intent: nil); end
|
||||
end
|
||||
class ProcessPaymentIntentParams < Stripe::RequestParams
|
||||
class ProcessConfig < Stripe::RequestParams
|
||||
@ -278,6 +292,9 @@ module Stripe
|
||||
# Enables cancel button on transaction screens.
|
||||
sig { returns(T.nilable(T::Boolean)) }
|
||||
attr_accessor :enable_customer_cancellation
|
||||
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_accessor :return_url
|
||||
# Override showing a tipping selection screen on this transaction.
|
||||
sig { returns(T.nilable(T::Boolean)) }
|
||||
attr_accessor :skip_tipping
|
||||
@ -287,11 +304,12 @@ module Stripe
|
||||
}
|
||||
attr_accessor :tipping
|
||||
sig {
|
||||
params(allow_redisplay: T.nilable(String), enable_customer_cancellation: T.nilable(T::Boolean), skip_tipping: T.nilable(T::Boolean), tipping: T.nilable(::Stripe::Terminal::ReaderService::ProcessPaymentIntentParams::ProcessConfig::Tipping)).void
|
||||
params(allow_redisplay: T.nilable(String), enable_customer_cancellation: T.nilable(T::Boolean), return_url: T.nilable(String), skip_tipping: T.nilable(T::Boolean), tipping: T.nilable(::Stripe::Terminal::ReaderService::ProcessPaymentIntentParams::ProcessConfig::Tipping)).void
|
||||
}
|
||||
def initialize(
|
||||
allow_redisplay: nil,
|
||||
enable_customer_cancellation: nil,
|
||||
return_url: nil,
|
||||
skip_tipping: nil,
|
||||
tipping: nil
|
||||
); end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user