mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-15 00:00:44 -04:00
Merge pull request #1499 from stripe/latest-codegen-beta
Update generated code for beta
This commit is contained in:
commit
dfa3166559
@ -1 +1 @@
|
||||
v1383
|
||||
v1405
|
@ -3,6 +3,6 @@
|
||||
|
||||
module Stripe
|
||||
module ApiVersion
|
||||
CURRENT = "2024-11-20.acacia"
|
||||
CURRENT = "2024-12-18.acacia"
|
||||
end
|
||||
end
|
||||
|
@ -19,7 +19,11 @@ module Stripe
|
||||
end
|
||||
attr_reader :monetary, :type
|
||||
end
|
||||
attr_reader :amount, :type
|
||||
|
||||
class CreditsApplicationInvoiceVoided < Stripe::StripeObject
|
||||
attr_reader :invoice, :invoice_line_item
|
||||
end
|
||||
attr_reader :amount, :credits_application_invoice_voided, :type
|
||||
end
|
||||
|
||||
class Debit < Stripe::StripeObject
|
||||
|
@ -38,6 +38,8 @@ module Stripe
|
||||
attr_reader :address_zip
|
||||
# If `address_zip` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`.
|
||||
attr_reader :address_zip_check
|
||||
# This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to “unspecified”.
|
||||
attr_reader :allow_redisplay
|
||||
# A set of available payout methods for this card. Only values from this set should be passed as the `method` when creating a payout.
|
||||
attr_reader :available_payout_methods
|
||||
# Card brand. Can be `American Express`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
|
||||
@ -82,6 +84,8 @@ module Stripe
|
||||
attr_reader :networks
|
||||
# String representing the object's type. Objects of the same type share the same value.
|
||||
attr_reader :object
|
||||
# Status of a card based on the card issuer.
|
||||
attr_reader :regulated_status
|
||||
# For external accounts that are cards, possible values are `new` and `errored`. If a payout fails, the status is set to `errored` and [scheduled payouts](https://stripe.com/docs/payouts#payout-schedule) are stopped until account details are updated.
|
||||
attr_reader :status
|
||||
# If the card number is tokenized, this is the method that was used. Can be `android_pay` (includes Google Pay), `apple_pay`, `masterpass`, `visa_checkout`, or null.
|
||||
|
@ -177,7 +177,7 @@ module Stripe
|
||||
end
|
||||
attr_reader :amex_express_checkout, :apple_pay, :dynamic_last4, :google_pay, :link, :masterpass, :samsung_pay, :type, :visa_checkout
|
||||
end
|
||||
attr_reader :amount_authorized, :amount_requested, :authorization_code, :brand, :capture_before, :checks, :country, :decremental_authorization, :description, :exp_month, :exp_year, :extended_authorization, :fingerprint, :funding, :iin, :incremental_authorization, :installments, :issuer, :last4, :mandate, :moto, :multicapture, :network, :network_token, :overcapture, :partial_authorization, :three_d_secure, :wallet
|
||||
attr_reader :amount_authorized, :amount_requested, :authorization_code, :brand, :capture_before, :checks, :country, :decremental_authorization, :description, :exp_month, :exp_year, :extended_authorization, :fingerprint, :funding, :iin, :incremental_authorization, :installments, :issuer, :last4, :mandate, :moto, :multicapture, :network, :network_token, :network_transaction_id, :overcapture, :partial_authorization, :regulated_status, :three_d_secure, :wallet
|
||||
end
|
||||
|
||||
class CardPresent < Stripe::StripeObject
|
||||
|
@ -131,7 +131,7 @@ module Stripe
|
||||
end
|
||||
attr_reader :amex_express_checkout, :apple_pay, :dynamic_last4, :google_pay, :link, :masterpass, :samsung_pay, :type, :visa_checkout
|
||||
end
|
||||
attr_reader :brand, :checks, :country, :description, :display_brand, :exp_month, :exp_year, :fingerprint, :funding, :generated_from, :iin, :issuer, :last4, :networks, :three_d_secure_usage, :wallet
|
||||
attr_reader :brand, :checks, :country, :description, :display_brand, :exp_month, :exp_year, :fingerprint, :funding, :generated_from, :iin, :issuer, :last4, :networks, :regulated_status, :three_d_secure_usage, :wallet
|
||||
end
|
||||
|
||||
class CardPresent < Stripe::StripeObject
|
||||
|
@ -34,7 +34,11 @@ module Stripe
|
||||
end
|
||||
attr_reader :disputed_transaction, :prior_undisputed_transactions
|
||||
end
|
||||
attr_reader :visa_compelling_evidence_3
|
||||
|
||||
class VisaCompliance < Stripe::StripeObject
|
||||
attr_reader :fee_acknowledged
|
||||
end
|
||||
attr_reader :visa_compelling_evidence_3, :visa_compliance
|
||||
end
|
||||
attr_reader :access_activity_log, :billing_address, :cancellation_policy, :cancellation_policy_disclosure, :cancellation_rebuttal, :customer_communication, :customer_email_address, :customer_name, :customer_purchase_ip, :customer_signature, :duplicate_charge_documentation, :duplicate_charge_explanation, :duplicate_charge_id, :enhanced_evidence, :product_description, :receipt, :refund_policy, :refund_policy_disclosure, :refund_refusal_explanation, :service_date, :service_documentation, :shipping_address, :shipping_carrier, :shipping_date, :shipping_documentation, :shipping_tracking_number, :uncategorized_file, :uncategorized_text
|
||||
end
|
||||
@ -44,7 +48,11 @@ module Stripe
|
||||
class VisaCompellingEvidence3 < Stripe::StripeObject
|
||||
attr_reader :required_actions, :status
|
||||
end
|
||||
attr_reader :visa_compelling_evidence_3
|
||||
|
||||
class VisaCompliance < Stripe::StripeObject
|
||||
attr_reader :status
|
||||
end
|
||||
attr_reader :visa_compelling_evidence_3, :visa_compliance
|
||||
end
|
||||
attr_reader :due_by, :enhanced_eligibility, :has_evidence, :past_due, :submission_count
|
||||
end
|
||||
|
@ -53,7 +53,7 @@ module Stripe
|
||||
end
|
||||
|
||||
class MerchantData < Stripe::StripeObject
|
||||
attr_reader :category, :category_code, :city, :country, :name, :network_id, :postal_code, :state, :terminal_id, :url
|
||||
attr_reader :category, :category_code, :city, :country, :name, :network_id, :postal_code, :state, :tax_id, :terminal_id, :url
|
||||
end
|
||||
|
||||
class NetworkData < Stripe::StripeObject
|
||||
|
@ -22,7 +22,7 @@ module Stripe
|
||||
end
|
||||
|
||||
class MerchantData < Stripe::StripeObject
|
||||
attr_reader :category, :category_code, :city, :country, :name, :network_id, :postal_code, :state, :terminal_id, :url
|
||||
attr_reader :category, :category_code, :city, :country, :name, :network_id, :postal_code, :state, :tax_id, :terminal_id, :url
|
||||
end
|
||||
|
||||
class NetworkData < Stripe::StripeObject
|
||||
|
@ -115,7 +115,7 @@ module Stripe
|
||||
end
|
||||
attr_reader :amex_express_checkout, :apple_pay, :dynamic_last4, :google_pay, :link, :masterpass, :samsung_pay, :type, :visa_checkout
|
||||
end
|
||||
attr_reader :brand, :checks, :country, :description, :display_brand, :exp_month, :exp_year, :fingerprint, :funding, :generated_from, :iin, :issuer, :last4, :networks, :three_d_secure_usage, :wallet
|
||||
attr_reader :brand, :checks, :country, :description, :display_brand, :exp_month, :exp_year, :fingerprint, :funding, :generated_from, :iin, :issuer, :last4, :networks, :regulated_status, :three_d_secure_usage, :wallet
|
||||
end
|
||||
|
||||
class CardPresent < Stripe::StripeObject
|
||||
|
@ -24,10 +24,6 @@ module Stripe
|
||||
attr_reader :currency, :value
|
||||
end
|
||||
|
||||
class AmountRefunded < Stripe::StripeObject
|
||||
attr_reader :currency, :value
|
||||
end
|
||||
|
||||
class AmountRequested < Stripe::StripeObject
|
||||
attr_reader :currency, :value
|
||||
end
|
||||
@ -63,8 +59,6 @@ module Stripe
|
||||
# A representation of an amount of money, consisting of an amount and a currency.
|
||||
attr_reader :amount_guaranteed
|
||||
# A representation of an amount of money, consisting of an amount and a currency.
|
||||
attr_reader :amount_refunded
|
||||
# A representation of an amount of money, consisting of an amount and a currency.
|
||||
attr_reader :amount_requested
|
||||
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
||||
attr_reader :created
|
||||
|
@ -148,6 +148,8 @@ module Stripe
|
||||
attr_reader :acss_debit
|
||||
# Attribute for field alipay
|
||||
attr_reader :alipay
|
||||
# This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to “unspecified”.
|
||||
attr_reader :allow_redisplay
|
||||
# A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount associated with the source. This is the amount for which the source will be chargeable once ready. Required for `single_use` sources.
|
||||
attr_reader :amount
|
||||
# Attribute for field au_becs_debit
|
||||
|
@ -37,7 +37,7 @@ module Stripe
|
||||
attr_reader :object
|
||||
# The account or customer the tax ID belongs to.
|
||||
attr_reader :owner
|
||||
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`. Note that some legacy tax IDs have type `unknown`
|
||||
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`. Note that some legacy tax IDs have type `unknown`
|
||||
attr_reader :type
|
||||
# Value of the tax ID.
|
||||
attr_reader :value
|
||||
|
@ -66,11 +66,11 @@ module Stripe
|
||||
end
|
||||
attr_reader :enable_customer_cancellation, :skip_tipping, :tipping
|
||||
end
|
||||
attr_reader :collect_config, :payment_intent, :payment_method, :stripe_account
|
||||
attr_reader :account, :collect_config, :payment_intent, :payment_method, :stripe_account
|
||||
end
|
||||
|
||||
class ConfirmPaymentIntent < Stripe::StripeObject
|
||||
attr_reader :payment_intent, :stripe_account
|
||||
attr_reader :account, :payment_intent, :stripe_account
|
||||
end
|
||||
|
||||
class ProcessPaymentIntent < Stripe::StripeObject
|
||||
@ -80,7 +80,7 @@ module Stripe
|
||||
end
|
||||
attr_reader :enable_customer_cancellation, :skip_tipping, :tipping
|
||||
end
|
||||
attr_reader :payment_intent, :process_config, :stripe_account
|
||||
attr_reader :account, :payment_intent, :process_config, :stripe_account
|
||||
end
|
||||
|
||||
class ProcessSetupIntent < Stripe::StripeObject
|
||||
@ -94,7 +94,7 @@ module Stripe
|
||||
class RefundPaymentConfig < Stripe::StripeObject
|
||||
attr_reader :enable_customer_cancellation
|
||||
end
|
||||
attr_reader :amount, :charge, :metadata, :payment_intent, :reason, :refund, :refund_application_fee, :refund_payment_config, :reverse_transfer, :stripe_account
|
||||
attr_reader :account, :amount, :charge, :metadata, :payment_intent, :reason, :refund, :refund_application_fee, :refund_payment_config, :reverse_transfer, :stripe_account
|
||||
end
|
||||
|
||||
class SetReaderDisplay < Stripe::StripeObject
|
||||
|
@ -19,8 +19,16 @@ module Stripe
|
||||
sig { returns(String) }
|
||||
attr_reader :type
|
||||
end
|
||||
class CreditsApplicationInvoiceVoided < Stripe::StripeObject
|
||||
sig { returns(T.any(String, Stripe::Invoice)) }
|
||||
attr_reader :invoice
|
||||
sig { returns(String) }
|
||||
attr_reader :invoice_line_item
|
||||
end
|
||||
sig { returns(Amount) }
|
||||
attr_reader :amount
|
||||
sig { returns(T.nilable(CreditsApplicationInvoiceVoided)) }
|
||||
attr_reader :credits_application_invoice_voided
|
||||
sig { returns(String) }
|
||||
attr_reader :type
|
||||
end
|
||||
|
@ -9,7 +9,7 @@ module Stripe
|
||||
class FinancingSummary < SingletonAPIResource
|
||||
class Details < Stripe::StripeObject
|
||||
class CurrentRepaymentInterval < Stripe::StripeObject
|
||||
sig { returns(Integer) }
|
||||
sig { returns(Float) }
|
||||
attr_reader :due_at
|
||||
sig { returns(T.nilable(Integer)) }
|
||||
attr_reader :paid_amount
|
||||
@ -18,7 +18,7 @@ module Stripe
|
||||
end
|
||||
sig { returns(Integer) }
|
||||
attr_reader :advance_amount
|
||||
sig { returns(T.nilable(Integer)) }
|
||||
sig { returns(T.nilable(Float)) }
|
||||
attr_reader :advance_paid_out_at
|
||||
sig { returns(String) }
|
||||
attr_reader :currency
|
||||
@ -30,7 +30,7 @@ module Stripe
|
||||
attr_reader :paid_amount
|
||||
sig { returns(Integer) }
|
||||
attr_reader :remaining_amount
|
||||
sig { returns(T.nilable(Integer)) }
|
||||
sig { returns(T.nilable(Float)) }
|
||||
attr_reader :repayments_begin_at
|
||||
sig { returns(Float) }
|
||||
attr_reader :withhold_rate
|
||||
|
@ -40,6 +40,9 @@ module Stripe
|
||||
sig { returns(T.nilable(String)) }
|
||||
# If `address_zip` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`.
|
||||
attr_reader :address_zip_check
|
||||
sig { returns(T.nilable(String)) }
|
||||
# This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to “unspecified”.
|
||||
attr_reader :allow_redisplay
|
||||
sig { returns(T.nilable(T::Array[String])) }
|
||||
# A set of available payout methods for this card. Only values from this set should be passed as the `method` when creating a payout.
|
||||
attr_reader :available_payout_methods
|
||||
@ -106,6 +109,9 @@ module Stripe
|
||||
# String representing the object's type. Objects of the same type share the same value.
|
||||
attr_reader :object
|
||||
sig { returns(T.nilable(String)) }
|
||||
# Status of a card based on the card issuer.
|
||||
attr_reader :regulated_status
|
||||
sig { returns(T.nilable(String)) }
|
||||
# For external accounts that are cards, possible values are `new` and `errored`. If a payout fails, the status is set to `errored` and [scheduled payouts](https://stripe.com/docs/payouts#payout-schedule) are stopped until account details are updated.
|
||||
attr_reader :status
|
||||
sig { returns(T.nilable(String)) }
|
||||
|
@ -440,10 +440,14 @@ module Stripe
|
||||
attr_reader :network
|
||||
sig { returns(T.nilable(NetworkToken)) }
|
||||
attr_reader :network_token
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :network_transaction_id
|
||||
sig { returns(Overcapture) }
|
||||
attr_reader :overcapture
|
||||
sig { returns(PartialAuthorization) }
|
||||
attr_reader :partial_authorization
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :regulated_status
|
||||
sig { returns(T.nilable(ThreeDSecure)) }
|
||||
attr_reader :three_d_secure
|
||||
sig { returns(T.nilable(Wallet)) }
|
||||
|
@ -343,6 +343,8 @@ module Stripe
|
||||
attr_reader :last4
|
||||
sig { returns(T.nilable(Networks)) }
|
||||
attr_reader :networks
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :regulated_status
|
||||
sig { returns(T.nilable(ThreeDSecureUsage)) }
|
||||
attr_reader :three_d_secure_usage
|
||||
sig { returns(T.nilable(Wallet)) }
|
||||
|
@ -81,8 +81,14 @@ module Stripe
|
||||
sig { returns(T::Array[PriorUndisputedTransaction]) }
|
||||
attr_reader :prior_undisputed_transactions
|
||||
end
|
||||
class VisaCompliance < Stripe::StripeObject
|
||||
sig { returns(T::Boolean) }
|
||||
attr_reader :fee_acknowledged
|
||||
end
|
||||
sig { returns(VisaCompellingEvidence3) }
|
||||
attr_reader :visa_compelling_evidence_3
|
||||
sig { returns(VisaCompliance) }
|
||||
attr_reader :visa_compliance
|
||||
end
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :access_activity_log
|
||||
@ -149,8 +155,14 @@ module Stripe
|
||||
sig { returns(String) }
|
||||
attr_reader :status
|
||||
end
|
||||
class VisaCompliance < Stripe::StripeObject
|
||||
sig { returns(String) }
|
||||
attr_reader :status
|
||||
end
|
||||
sig { returns(VisaCompellingEvidence3) }
|
||||
attr_reader :visa_compelling_evidence_3
|
||||
sig { returns(VisaCompliance) }
|
||||
attr_reader :visa_compliance
|
||||
end
|
||||
sig { returns(T.nilable(Integer)) }
|
||||
attr_reader :due_by
|
||||
|
@ -100,6 +100,8 @@ module Stripe
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :state
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :tax_id
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :terminal_id
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :url
|
||||
|
@ -34,6 +34,8 @@ module Stripe
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :state
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :tax_id
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :terminal_id
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :url
|
||||
|
@ -316,6 +316,8 @@ module Stripe
|
||||
attr_reader :last4
|
||||
sig { returns(T.nilable(Networks)) }
|
||||
attr_reader :networks
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_reader :regulated_status
|
||||
sig { returns(T.nilable(ThreeDSecureUsage)) }
|
||||
attr_reader :three_d_secure_usage
|
||||
sig { returns(T.nilable(Wallet)) }
|
||||
|
@ -26,12 +26,6 @@ module Stripe
|
||||
sig { returns(Integer) }
|
||||
attr_reader :value
|
||||
end
|
||||
class AmountRefunded < Stripe::StripeObject
|
||||
sig { returns(String) }
|
||||
attr_reader :currency
|
||||
sig { returns(Integer) }
|
||||
attr_reader :value
|
||||
end
|
||||
class AmountRequested < Stripe::StripeObject
|
||||
sig { returns(String) }
|
||||
attr_reader :currency
|
||||
@ -119,9 +113,6 @@ module Stripe
|
||||
sig { returns(AmountGuaranteed) }
|
||||
# A representation of an amount of money, consisting of an amount and a currency.
|
||||
attr_reader :amount_guaranteed
|
||||
sig { returns(AmountRefunded) }
|
||||
# A representation of an amount of money, consisting of an amount and a currency.
|
||||
attr_reader :amount_refunded
|
||||
sig { returns(AmountRequested) }
|
||||
# A representation of an amount of money, consisting of an amount and a currency.
|
||||
attr_reader :amount_requested
|
||||
|
@ -560,6 +560,9 @@ module Stripe
|
||||
sig { returns(Alipay) }
|
||||
# Attribute for field alipay
|
||||
attr_reader :alipay
|
||||
sig { returns(T.nilable(String)) }
|
||||
# This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to “unspecified”.
|
||||
attr_reader :allow_redisplay
|
||||
sig { returns(T.nilable(Integer)) }
|
||||
# A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount associated with the source. This is the amount for which the source will be chargeable once ready. Required for `single_use` sources.
|
||||
attr_reader :amount
|
||||
|
@ -48,7 +48,7 @@ module Stripe
|
||||
# The account or customer the tax ID belongs to.
|
||||
attr_reader :owner
|
||||
sig { returns(String) }
|
||||
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, or `za_vat`. Note that some legacy tax IDs have type `unknown`
|
||||
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`. Note that some legacy tax IDs have type `unknown`
|
||||
attr_reader :type
|
||||
sig { returns(String) }
|
||||
# Value of the tax ID.
|
||||
|
@ -104,6 +104,8 @@ module Stripe
|
||||
sig { returns(Tipping) }
|
||||
attr_reader :tipping
|
||||
end
|
||||
sig { returns(String) }
|
||||
attr_reader :account
|
||||
sig { returns(CollectConfig) }
|
||||
attr_reader :collect_config
|
||||
sig { returns(T.any(String, Stripe::PaymentIntent)) }
|
||||
@ -114,6 +116,8 @@ module Stripe
|
||||
attr_reader :stripe_account
|
||||
end
|
||||
class ConfirmPaymentIntent < Stripe::StripeObject
|
||||
sig { returns(String) }
|
||||
attr_reader :account
|
||||
sig { returns(T.any(String, Stripe::PaymentIntent)) }
|
||||
attr_reader :payment_intent
|
||||
sig { returns(String) }
|
||||
@ -132,6 +136,8 @@ module Stripe
|
||||
sig { returns(Tipping) }
|
||||
attr_reader :tipping
|
||||
end
|
||||
sig { returns(String) }
|
||||
attr_reader :account
|
||||
sig { returns(T.any(String, Stripe::PaymentIntent)) }
|
||||
attr_reader :payment_intent
|
||||
sig { returns(ProcessConfig) }
|
||||
@ -156,6 +162,8 @@ module Stripe
|
||||
sig { returns(T::Boolean) }
|
||||
attr_reader :enable_customer_cancellation
|
||||
end
|
||||
sig { returns(String) }
|
||||
attr_reader :account
|
||||
sig { returns(Integer) }
|
||||
attr_reader :amount
|
||||
sig { returns(T.any(String, Stripe::Charge)) }
|
||||
|
Loading…
x
Reference in New Issue
Block a user