mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-11-20 00:01:05 -05:00
Update generated code (#1700)
* Update generated code for v2050 and * Update generated code for v2093 and * Update generated code for v2095 and * Update generated code for v2096 and * Update generated code for v2099 and --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>
This commit is contained in:
parent
7f3f2289d8
commit
1fbf42e7db
@ -1 +1 @@
|
||||
2025-09-30.clover
|
||||
577fcb57736b925392ea563c0284df9002c75ac9
|
||||
@ -1 +1 @@
|
||||
v2028
|
||||
v2099
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module ApiVersion
|
||||
CURRENT = "2025-09-30.clover"
|
||||
CURRENT = "2025-10-29.clover"
|
||||
CURRENT_MAJOR = "clover"
|
||||
end
|
||||
end
|
||||
|
||||
@ -9,11 +9,11 @@ module Stripe
|
||||
"v1.billing.meter.error_report_triggered"
|
||||
end
|
||||
|
||||
class V1BillingMeterErrorReportTriggeredEventData < Stripe::StripeObject
|
||||
class Reason < Stripe::StripeObject
|
||||
class ErrorType < Stripe::StripeObject
|
||||
class SampleError < Stripe::StripeObject
|
||||
class Request < Stripe::StripeObject
|
||||
class V1BillingMeterErrorReportTriggeredEventData < ::Stripe::StripeObject
|
||||
class Reason < ::Stripe::StripeObject
|
||||
class ErrorType < ::Stripe::StripeObject
|
||||
class SampleError < ::Stripe::StripeObject
|
||||
class Request < ::Stripe::StripeObject
|
||||
# The request idempotency key.
|
||||
attr_reader :identifier
|
||||
|
||||
|
||||
@ -9,11 +9,11 @@ module Stripe
|
||||
"v1.billing.meter.no_meter_found"
|
||||
end
|
||||
|
||||
class V1BillingMeterNoMeterFoundEventData < Stripe::StripeObject
|
||||
class Reason < Stripe::StripeObject
|
||||
class ErrorType < Stripe::StripeObject
|
||||
class SampleError < Stripe::StripeObject
|
||||
class Request < Stripe::StripeObject
|
||||
class V1BillingMeterNoMeterFoundEventData < ::Stripe::StripeObject
|
||||
class Reason < ::Stripe::StripeObject
|
||||
class ErrorType < ::Stripe::StripeObject
|
||||
class SampleError < ::Stripe::StripeObject
|
||||
class Request < ::Stripe::StripeObject
|
||||
# The request idempotency key.
|
||||
attr_reader :identifier
|
||||
|
||||
|
||||
@ -88,11 +88,14 @@ module Stripe
|
||||
LineItem.object_name => LineItem,
|
||||
LoginLink.object_name => LoginLink,
|
||||
Mandate.object_name => Mandate,
|
||||
PaymentAttemptRecord.object_name => PaymentAttemptRecord,
|
||||
PaymentIntent.object_name => PaymentIntent,
|
||||
PaymentIntentAmountDetailsLineItem.object_name => PaymentIntentAmountDetailsLineItem,
|
||||
PaymentLink.object_name => PaymentLink,
|
||||
PaymentMethod.object_name => PaymentMethod,
|
||||
PaymentMethodConfiguration.object_name => PaymentMethodConfiguration,
|
||||
PaymentMethodDomain.object_name => PaymentMethodDomain,
|
||||
PaymentRecord.object_name => PaymentRecord,
|
||||
Payout.object_name => Payout,
|
||||
Person.object_name => Person,
|
||||
Plan.object_name => Plan,
|
||||
|
||||
@ -271,6 +271,9 @@ require "stripe/params/issuing/transaction_refund_params"
|
||||
require "stripe/params/issuing/transaction_retrieve_params"
|
||||
require "stripe/params/issuing/transaction_update_params"
|
||||
require "stripe/params/mandate_retrieve_params"
|
||||
require "stripe/params/payment_attempt_record_list_params"
|
||||
require "stripe/params/payment_attempt_record_retrieve_params"
|
||||
require "stripe/params/payment_intent_amount_details_line_item_list_params"
|
||||
require "stripe/params/payment_intent_apply_customer_balance_params"
|
||||
require "stripe/params/payment_intent_cancel_params"
|
||||
require "stripe/params/payment_intent_capture_params"
|
||||
@ -303,6 +306,14 @@ require "stripe/params/payment_method_domain_validate_params"
|
||||
require "stripe/params/payment_method_list_params"
|
||||
require "stripe/params/payment_method_retrieve_params"
|
||||
require "stripe/params/payment_method_update_params"
|
||||
require "stripe/params/payment_record_report_payment_attempt_canceled_params"
|
||||
require "stripe/params/payment_record_report_payment_attempt_failed_params"
|
||||
require "stripe/params/payment_record_report_payment_attempt_guaranteed_params"
|
||||
require "stripe/params/payment_record_report_payment_attempt_informational_params"
|
||||
require "stripe/params/payment_record_report_payment_attempt_params"
|
||||
require "stripe/params/payment_record_report_payment_params"
|
||||
require "stripe/params/payment_record_report_refund_params"
|
||||
require "stripe/params/payment_record_retrieve_params"
|
||||
require "stripe/params/payout_cancel_params"
|
||||
require "stripe/params/payout_create_params"
|
||||
require "stripe/params/payout_list_params"
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountCapabilityListParams < Stripe::RequestParams
|
||||
class AccountCapabilityListParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountCapabilityRetrieveParams < Stripe::RequestParams
|
||||
class AccountCapabilityRetrieveParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountCapabilityUpdateParams < Stripe::RequestParams
|
||||
class AccountCapabilityUpdateParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
# To request a new capability for an account, pass true. There can be a delay before the requested capability becomes active. If the capability has any activation requirements, the response includes them in the `requirements` arrays.
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountCreateParams < Stripe::RequestParams
|
||||
class BankAccount < Stripe::RequestParams
|
||||
class AccountCreateParams < ::Stripe::RequestParams
|
||||
class BankAccount < ::Stripe::RequestParams
|
||||
# Attribute for param field object
|
||||
attr_accessor :object
|
||||
# The name of the person or business that owns the bank account.This field is required when attaching the bank account to a `Customer` object.
|
||||
@ -38,8 +38,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class BusinessProfile < Stripe::RequestParams
|
||||
class AnnualRevenue < Stripe::RequestParams
|
||||
class BusinessProfile < ::Stripe::RequestParams
|
||||
class AnnualRevenue < ::Stripe::RequestParams
|
||||
# A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal).
|
||||
attr_accessor :amount
|
||||
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
||||
@ -54,7 +54,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class MonthlyEstimatedRevenue < Stripe::RequestParams
|
||||
class MonthlyEstimatedRevenue < ::Stripe::RequestParams
|
||||
# A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal).
|
||||
attr_accessor :amount
|
||||
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
||||
@ -66,7 +66,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SupportAddress < Stripe::RequestParams
|
||||
class SupportAddress < ::Stripe::RequestParams
|
||||
# City, district, suburb, town, or village.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -150,8 +150,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Capabilities < Stripe::RequestParams
|
||||
class AcssDebitPayments < Stripe::RequestParams
|
||||
class Capabilities < ::Stripe::RequestParams
|
||||
class AcssDebitPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -160,7 +160,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AffirmPayments < Stripe::RequestParams
|
||||
class AffirmPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -169,7 +169,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AfterpayClearpayPayments < Stripe::RequestParams
|
||||
class AfterpayClearpayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -178,7 +178,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AlmaPayments < Stripe::RequestParams
|
||||
class AlmaPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -187,7 +187,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AmazonPayPayments < Stripe::RequestParams
|
||||
class AmazonPayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -196,7 +196,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AuBecsDebitPayments < Stripe::RequestParams
|
||||
class AuBecsDebitPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -205,7 +205,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class BacsDebitPayments < Stripe::RequestParams
|
||||
class BacsDebitPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -214,7 +214,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class BancontactPayments < Stripe::RequestParams
|
||||
class BancontactPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -223,7 +223,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class BankTransferPayments < Stripe::RequestParams
|
||||
class BankTransferPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -232,7 +232,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class BilliePayments < Stripe::RequestParams
|
||||
class BilliePayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -241,7 +241,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class BlikPayments < Stripe::RequestParams
|
||||
class BlikPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -250,7 +250,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class BoletoPayments < Stripe::RequestParams
|
||||
class BoletoPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -259,7 +259,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CardIssuing < Stripe::RequestParams
|
||||
class CardIssuing < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -268,7 +268,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CardPayments < Stripe::RequestParams
|
||||
class CardPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -277,7 +277,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CartesBancairesPayments < Stripe::RequestParams
|
||||
class CartesBancairesPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -286,7 +286,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CashappPayments < Stripe::RequestParams
|
||||
class CashappPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -295,7 +295,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CryptoPayments < Stripe::RequestParams
|
||||
class CryptoPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -304,7 +304,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class EpsPayments < Stripe::RequestParams
|
||||
class EpsPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -313,7 +313,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class FpxPayments < Stripe::RequestParams
|
||||
class FpxPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -322,7 +322,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class GbBankTransferPayments < Stripe::RequestParams
|
||||
class GbBankTransferPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -331,7 +331,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class GiropayPayments < Stripe::RequestParams
|
||||
class GiropayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -340,7 +340,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class GrabpayPayments < Stripe::RequestParams
|
||||
class GrabpayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -349,7 +349,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class IdealPayments < Stripe::RequestParams
|
||||
class IdealPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -358,7 +358,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class IndiaInternationalPayments < Stripe::RequestParams
|
||||
class IndiaInternationalPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -367,7 +367,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class JcbPayments < Stripe::RequestParams
|
||||
class JcbPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -376,7 +376,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class JpBankTransferPayments < Stripe::RequestParams
|
||||
class JpBankTransferPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -385,7 +385,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class KakaoPayPayments < Stripe::RequestParams
|
||||
class KakaoPayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -394,7 +394,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class KlarnaPayments < Stripe::RequestParams
|
||||
class KlarnaPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -403,7 +403,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class KonbiniPayments < Stripe::RequestParams
|
||||
class KonbiniPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -412,7 +412,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class KrCardPayments < Stripe::RequestParams
|
||||
class KrCardPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -421,7 +421,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class LegacyPayments < Stripe::RequestParams
|
||||
class LegacyPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -430,7 +430,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class LinkPayments < Stripe::RequestParams
|
||||
class LinkPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -439,7 +439,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class MbWayPayments < Stripe::RequestParams
|
||||
class MbWayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -448,7 +448,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class MobilepayPayments < Stripe::RequestParams
|
||||
class MobilepayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -457,7 +457,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class MultibancoPayments < Stripe::RequestParams
|
||||
class MultibancoPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -466,7 +466,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class MxBankTransferPayments < Stripe::RequestParams
|
||||
class MxBankTransferPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -475,7 +475,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class NaverPayPayments < Stripe::RequestParams
|
||||
class NaverPayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -484,7 +484,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class NzBankAccountBecsDebitPayments < Stripe::RequestParams
|
||||
class NzBankAccountBecsDebitPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -493,7 +493,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class OxxoPayments < Stripe::RequestParams
|
||||
class OxxoPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -502,7 +502,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class P24Payments < Stripe::RequestParams
|
||||
class P24Payments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -511,7 +511,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class PayByBankPayments < Stripe::RequestParams
|
||||
class PayByBankPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -520,7 +520,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class PaycoPayments < Stripe::RequestParams
|
||||
class PaycoPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -529,7 +529,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class PaynowPayments < Stripe::RequestParams
|
||||
class PaynowPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -538,7 +538,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class PixPayments < Stripe::RequestParams
|
||||
class PixPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -547,7 +547,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class PromptpayPayments < Stripe::RequestParams
|
||||
class PromptpayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -556,7 +556,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RevolutPayPayments < Stripe::RequestParams
|
||||
class RevolutPayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -565,7 +565,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SamsungPayPayments < Stripe::RequestParams
|
||||
class SamsungPayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -574,7 +574,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SatispayPayments < Stripe::RequestParams
|
||||
class SatispayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -583,7 +583,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SepaBankTransferPayments < Stripe::RequestParams
|
||||
class SepaBankTransferPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -592,7 +592,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SepaDebitPayments < Stripe::RequestParams
|
||||
class SepaDebitPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -601,7 +601,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SofortPayments < Stripe::RequestParams
|
||||
class SofortPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -610,7 +610,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SwishPayments < Stripe::RequestParams
|
||||
class SwishPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -619,7 +619,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class TaxReportingUs1099K < Stripe::RequestParams
|
||||
class TaxReportingUs1099K < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -628,7 +628,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class TaxReportingUs1099Misc < Stripe::RequestParams
|
||||
class TaxReportingUs1099Misc < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -637,7 +637,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Transfers < Stripe::RequestParams
|
||||
class Transfers < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -646,7 +646,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Treasury < Stripe::RequestParams
|
||||
class Treasury < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -655,7 +655,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class TwintPayments < Stripe::RequestParams
|
||||
class TwintPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -664,7 +664,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class UsBankAccountAchPayments < Stripe::RequestParams
|
||||
class UsBankAccountAchPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -673,7 +673,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class UsBankTransferPayments < Stripe::RequestParams
|
||||
class UsBankTransferPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -682,7 +682,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class ZipPayments < Stripe::RequestParams
|
||||
class ZipPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -936,7 +936,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Card < Stripe::RequestParams
|
||||
class Card < ::Stripe::RequestParams
|
||||
# Attribute for param field object
|
||||
attr_accessor :object
|
||||
# Attribute for param field address_city
|
||||
@ -1003,7 +1003,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CardToken < Stripe::RequestParams
|
||||
class CardToken < ::Stripe::RequestParams
|
||||
# Attribute for param field object
|
||||
attr_accessor :object
|
||||
# Attribute for param field currency
|
||||
@ -1018,8 +1018,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Company < Stripe::RequestParams
|
||||
class Address < Stripe::RequestParams
|
||||
class Company < ::Stripe::RequestParams
|
||||
class Address < ::Stripe::RequestParams
|
||||
# City, district, suburb, town, or village.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -1050,7 +1050,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AddressKana < Stripe::RequestParams
|
||||
class AddressKana < ::Stripe::RequestParams
|
||||
# City or ward.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -1085,7 +1085,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AddressKanji < Stripe::RequestParams
|
||||
class AddressKanji < ::Stripe::RequestParams
|
||||
# City or ward.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -1120,7 +1120,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class DirectorshipDeclaration < Stripe::RequestParams
|
||||
class DirectorshipDeclaration < ::Stripe::RequestParams
|
||||
# The Unix timestamp marking when the directorship declaration attestation was made.
|
||||
attr_accessor :date
|
||||
# The IP address from which the directorship declaration attestation was made.
|
||||
@ -1135,7 +1135,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class OwnershipDeclaration < Stripe::RequestParams
|
||||
class OwnershipDeclaration < ::Stripe::RequestParams
|
||||
# The Unix timestamp marking when the beneficial owner attestation was made.
|
||||
attr_accessor :date
|
||||
# The IP address from which the beneficial owner attestation was made.
|
||||
@ -1150,7 +1150,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RegistrationDate < Stripe::RequestParams
|
||||
class RegistrationDate < ::Stripe::RequestParams
|
||||
# The day of registration, between 1 and 31.
|
||||
attr_accessor :day
|
||||
# The month of registration, between 1 and 12.
|
||||
@ -1165,8 +1165,23 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Verification < Stripe::RequestParams
|
||||
class Document < Stripe::RequestParams
|
||||
class RepresentativeDeclaration < ::Stripe::RequestParams
|
||||
# The Unix timestamp marking when the representative declaration attestation was made.
|
||||
attr_accessor :date
|
||||
# The IP address from which the representative declaration attestation was made.
|
||||
attr_accessor :ip
|
||||
# The user agent of the browser from which the representative declaration attestation was made.
|
||||
attr_accessor :user_agent
|
||||
|
||||
def initialize(date: nil, ip: nil, user_agent: nil)
|
||||
@date = date
|
||||
@ip = ip
|
||||
@user_agent = user_agent
|
||||
end
|
||||
end
|
||||
|
||||
class Verification < ::Stripe::RequestParams
|
||||
class Document < ::Stripe::RequestParams
|
||||
# The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
||||
attr_accessor :back
|
||||
# The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
||||
@ -1218,6 +1233,8 @@ module Stripe
|
||||
attr_accessor :registration_date
|
||||
# The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).
|
||||
attr_accessor :registration_number
|
||||
# This hash is used to attest that the representative is authorized to act as the representative of their legal entity.
|
||||
attr_accessor :representative_declaration
|
||||
# The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.
|
||||
attr_accessor :structure
|
||||
# The business ID number of the company, as appropriate for the company’s country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.)
|
||||
@ -1247,6 +1264,7 @@ module Stripe
|
||||
phone: nil,
|
||||
registration_date: nil,
|
||||
registration_number: nil,
|
||||
representative_declaration: nil,
|
||||
structure: nil,
|
||||
tax_id: nil,
|
||||
tax_id_registrar: nil,
|
||||
@ -1270,6 +1288,7 @@ module Stripe
|
||||
@phone = phone
|
||||
@registration_date = registration_date
|
||||
@registration_number = registration_number
|
||||
@representative_declaration = representative_declaration
|
||||
@structure = structure
|
||||
@tax_id = tax_id
|
||||
@tax_id_registrar = tax_id_registrar
|
||||
@ -1278,8 +1297,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Controller < Stripe::RequestParams
|
||||
class Fees < Stripe::RequestParams
|
||||
class Controller < ::Stripe::RequestParams
|
||||
class Fees < ::Stripe::RequestParams
|
||||
# A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
|
||||
attr_accessor :payer
|
||||
|
||||
@ -1288,7 +1307,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Losses < Stripe::RequestParams
|
||||
class Losses < ::Stripe::RequestParams
|
||||
# A value indicating who is liable when this account can't pay back negative balances resulting from payments. Defaults to `stripe`.
|
||||
attr_accessor :payments
|
||||
|
||||
@ -1297,7 +1316,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class StripeDashboard < Stripe::RequestParams
|
||||
class StripeDashboard < ::Stripe::RequestParams
|
||||
# Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`.
|
||||
attr_accessor :type
|
||||
|
||||
@ -1322,8 +1341,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Documents < Stripe::RequestParams
|
||||
class BankAccountOwnershipVerification < Stripe::RequestParams
|
||||
class Documents < ::Stripe::RequestParams
|
||||
class BankAccountOwnershipVerification < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -1332,7 +1351,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CompanyLicense < Stripe::RequestParams
|
||||
class CompanyLicense < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -1341,7 +1360,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CompanyMemorandumOfAssociation < Stripe::RequestParams
|
||||
class CompanyMemorandumOfAssociation < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -1350,7 +1369,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CompanyMinisterialDecree < Stripe::RequestParams
|
||||
class CompanyMinisterialDecree < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -1359,7 +1378,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CompanyRegistrationVerification < Stripe::RequestParams
|
||||
class CompanyRegistrationVerification < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -1368,7 +1387,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CompanyTaxIdVerification < Stripe::RequestParams
|
||||
class CompanyTaxIdVerification < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -1377,7 +1396,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class ProofOfAddress < Stripe::RequestParams
|
||||
class ProofOfAddress < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -1386,7 +1405,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class ProofOfRegistration < Stripe::RequestParams
|
||||
class ProofOfRegistration < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -1395,7 +1414,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams
|
||||
class ProofOfUltimateBeneficialOwnership < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -1445,7 +1464,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Groups < Stripe::RequestParams
|
||||
class Groups < ::Stripe::RequestParams
|
||||
# The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details.
|
||||
attr_accessor :payments_pricing
|
||||
|
||||
@ -1454,8 +1473,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Individual < Stripe::RequestParams
|
||||
class Address < Stripe::RequestParams
|
||||
class Individual < ::Stripe::RequestParams
|
||||
class Address < ::Stripe::RequestParams
|
||||
# City, district, suburb, town, or village.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -1486,7 +1505,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AddressKana < Stripe::RequestParams
|
||||
class AddressKana < ::Stripe::RequestParams
|
||||
# City or ward.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -1521,7 +1540,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AddressKanji < Stripe::RequestParams
|
||||
class AddressKanji < ::Stripe::RequestParams
|
||||
# City or ward.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -1556,7 +1575,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Dob < Stripe::RequestParams
|
||||
class Dob < ::Stripe::RequestParams
|
||||
# The day of birth, between 1 and 31.
|
||||
attr_accessor :day
|
||||
# The month of birth, between 1 and 12.
|
||||
@ -1571,7 +1590,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RegisteredAddress < Stripe::RequestParams
|
||||
class RegisteredAddress < ::Stripe::RequestParams
|
||||
# City, district, suburb, town, or village.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -1602,7 +1621,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Relationship < Stripe::RequestParams
|
||||
class Relationship < ::Stripe::RequestParams
|
||||
# Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
|
||||
attr_accessor :director
|
||||
# Whether the person has significant responsibility to control, manage, or direct the organization.
|
||||
@ -1629,8 +1648,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Verification < Stripe::RequestParams
|
||||
class AdditionalDocument < Stripe::RequestParams
|
||||
class Verification < ::Stripe::RequestParams
|
||||
class AdditionalDocument < ::Stripe::RequestParams
|
||||
# The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
||||
attr_accessor :back
|
||||
# The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
||||
@ -1642,7 +1661,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Document < Stripe::RequestParams
|
||||
class Document < ::Stripe::RequestParams
|
||||
# The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
||||
attr_accessor :back
|
||||
# The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
||||
@ -1761,8 +1780,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Settings < Stripe::RequestParams
|
||||
class BacsDebitPayments < Stripe::RequestParams
|
||||
class Settings < ::Stripe::RequestParams
|
||||
class BacsDebitPayments < ::Stripe::RequestParams
|
||||
# The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
|
||||
attr_accessor :display_name
|
||||
|
||||
@ -1771,7 +1790,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Branding < Stripe::RequestParams
|
||||
class Branding < ::Stripe::RequestParams
|
||||
# (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
|
||||
attr_accessor :icon
|
||||
# (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided. Must be at least 128px x 128px.
|
||||
@ -1789,8 +1808,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CardIssuing < Stripe::RequestParams
|
||||
class TosAcceptance < Stripe::RequestParams
|
||||
class CardIssuing < ::Stripe::RequestParams
|
||||
class TosAcceptance < ::Stripe::RequestParams
|
||||
# The Unix timestamp marking when the account representative accepted the service agreement.
|
||||
attr_accessor :date
|
||||
# The IP address from which the account representative accepted the service agreement.
|
||||
@ -1812,8 +1831,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CardPayments < Stripe::RequestParams
|
||||
class DeclineOn < Stripe::RequestParams
|
||||
class CardPayments < ::Stripe::RequestParams
|
||||
class DeclineOn < ::Stripe::RequestParams
|
||||
# Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification.
|
||||
attr_accessor :avs_failure
|
||||
# Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
|
||||
@ -1846,7 +1865,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Invoices < Stripe::RequestParams
|
||||
class Invoices < ::Stripe::RequestParams
|
||||
# Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page.
|
||||
attr_accessor :hosted_payment_method_save
|
||||
|
||||
@ -1855,7 +1874,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Payments < Stripe::RequestParams
|
||||
class Payments < ::Stripe::RequestParams
|
||||
# The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a `statement_descriptor_prefix`, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the `statement_descriptor` text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors).
|
||||
attr_accessor :statement_descriptor
|
||||
# The Kana variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
|
||||
@ -1874,8 +1893,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Payouts < Stripe::RequestParams
|
||||
class Schedule < Stripe::RequestParams
|
||||
class Payouts < ::Stripe::RequestParams
|
||||
class Schedule < ::Stripe::RequestParams
|
||||
# The number of days charge funds are held before being paid out. May also be set to `minimum`, representing the lowest available value for the account country. Default is `minimum`. The `delay_days` parameter remains at the last configured value if `interval` is `manual`. [Learn more about controlling payout delay days](/connect/manage-payout-schedule).
|
||||
attr_accessor :delay_days
|
||||
# How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`.
|
||||
@ -1919,8 +1938,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Treasury < Stripe::RequestParams
|
||||
class TosAcceptance < Stripe::RequestParams
|
||||
class Treasury < ::Stripe::RequestParams
|
||||
class TosAcceptance < ::Stripe::RequestParams
|
||||
# The Unix timestamp marking when the account representative accepted the service agreement.
|
||||
attr_accessor :date
|
||||
# The IP address from which the account representative accepted the service agreement.
|
||||
@ -1979,7 +1998,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class TosAcceptance < Stripe::RequestParams
|
||||
class TosAcceptance < ::Stripe::RequestParams
|
||||
# The Unix timestamp marking when the account representative accepted their service agreement.
|
||||
attr_accessor :date
|
||||
# The IP address from which the account representative accepted their service agreement.
|
||||
|
||||
@ -2,5 +2,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountDeleteParams < Stripe::RequestParams; end
|
||||
class AccountDeleteParams < ::Stripe::RequestParams; end
|
||||
end
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountExternalAccountCreateParams < Stripe::RequestParams
|
||||
class BankAccount < Stripe::RequestParams
|
||||
class AccountExternalAccountCreateParams < ::Stripe::RequestParams
|
||||
class BankAccount < ::Stripe::RequestParams
|
||||
# Attribute for param field object
|
||||
attr_accessor :object
|
||||
# The name of the person or business that owns the bank account.This field is required when attaching the bank account to a `Customer` object.
|
||||
@ -38,7 +38,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Card < Stripe::RequestParams
|
||||
class Card < ::Stripe::RequestParams
|
||||
# Attribute for param field object
|
||||
attr_accessor :object
|
||||
# Attribute for param field address_city
|
||||
@ -101,7 +101,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CardToken < Stripe::RequestParams
|
||||
class CardToken < ::Stripe::RequestParams
|
||||
# Attribute for param field object
|
||||
attr_accessor :object
|
||||
# Attribute for param field currency
|
||||
|
||||
@ -2,5 +2,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountExternalAccountDeleteParams < Stripe::RequestParams; end
|
||||
class AccountExternalAccountDeleteParams < ::Stripe::RequestParams; end
|
||||
end
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountExternalAccountListParams < Stripe::RequestParams
|
||||
class AccountExternalAccountListParams < ::Stripe::RequestParams
|
||||
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
||||
attr_accessor :ending_before
|
||||
# Specifies which fields in the response should be expanded.
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountExternalAccountRetrieveParams < Stripe::RequestParams
|
||||
class AccountExternalAccountRetrieveParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -2,9 +2,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountExternalAccountUpdateParams < Stripe::RequestParams
|
||||
class Documents < Stripe::RequestParams
|
||||
class BankAccountOwnershipVerification < Stripe::RequestParams
|
||||
class AccountExternalAccountUpdateParams < ::Stripe::RequestParams
|
||||
class Documents < ::Stripe::RequestParams
|
||||
class BankAccountOwnershipVerification < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountLinkCreateParams < Stripe::RequestParams
|
||||
class CollectionOptions < Stripe::RequestParams
|
||||
class AccountLinkCreateParams < ::Stripe::RequestParams
|
||||
class CollectionOptions < ::Stripe::RequestParams
|
||||
# Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don't specify `collection_options`, the default value is `currently_due`.
|
||||
attr_accessor :fields
|
||||
# Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`.
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountListParams < Stripe::RequestParams
|
||||
class Created < Stripe::RequestParams
|
||||
class AccountListParams < ::Stripe::RequestParams
|
||||
class Created < ::Stripe::RequestParams
|
||||
# Minimum value to filter by (exclusive)
|
||||
attr_accessor :gt
|
||||
# Minimum value to filter by (inclusive)
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountLoginLinkCreateParams < Stripe::RequestParams
|
||||
class AccountLoginLinkCreateParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -2,9 +2,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountPersonCreateParams < Stripe::RequestParams
|
||||
class AdditionalTosAcceptances < Stripe::RequestParams
|
||||
class Account < Stripe::RequestParams
|
||||
class AccountPersonCreateParams < ::Stripe::RequestParams
|
||||
class AdditionalTosAcceptances < ::Stripe::RequestParams
|
||||
class Account < ::Stripe::RequestParams
|
||||
# The Unix timestamp marking when the account representative accepted the service agreement.
|
||||
attr_accessor :date
|
||||
# The IP address from which the account representative accepted the service agreement.
|
||||
@ -26,7 +26,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Address < Stripe::RequestParams
|
||||
class Address < ::Stripe::RequestParams
|
||||
# City, district, suburb, town, or village.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -50,7 +50,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AddressKana < Stripe::RequestParams
|
||||
class AddressKana < ::Stripe::RequestParams
|
||||
# City or ward.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -85,7 +85,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AddressKanji < Stripe::RequestParams
|
||||
class AddressKanji < ::Stripe::RequestParams
|
||||
# City or ward.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -120,7 +120,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Dob < Stripe::RequestParams
|
||||
class Dob < ::Stripe::RequestParams
|
||||
# The day of birth, between 1 and 31.
|
||||
attr_accessor :day
|
||||
# The month of birth, between 1 and 12.
|
||||
@ -135,8 +135,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Documents < Stripe::RequestParams
|
||||
class CompanyAuthorization < Stripe::RequestParams
|
||||
class Documents < ::Stripe::RequestParams
|
||||
class CompanyAuthorization < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -145,7 +145,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Passport < Stripe::RequestParams
|
||||
class Passport < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -154,7 +154,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Visa < Stripe::RequestParams
|
||||
class Visa < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -176,7 +176,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RegisteredAddress < Stripe::RequestParams
|
||||
class RegisteredAddress < ::Stripe::RequestParams
|
||||
# City, district, suburb, town, or village.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -200,7 +200,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Relationship < Stripe::RequestParams
|
||||
class Relationship < ::Stripe::RequestParams
|
||||
# Whether the person is the authorizer of the account's representative.
|
||||
attr_accessor :authorizer
|
||||
# Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
|
||||
@ -239,8 +239,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class UsCfpbData < Stripe::RequestParams
|
||||
class EthnicityDetails < Stripe::RequestParams
|
||||
class UsCfpbData < ::Stripe::RequestParams
|
||||
class EthnicityDetails < ::Stripe::RequestParams
|
||||
# The persons ethnicity
|
||||
attr_accessor :ethnicity
|
||||
# Please specify your origin, when other is selected.
|
||||
@ -252,7 +252,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RaceDetails < Stripe::RequestParams
|
||||
class RaceDetails < ::Stripe::RequestParams
|
||||
# The persons race.
|
||||
attr_accessor :race
|
||||
# Please specify your race, when other is selected.
|
||||
@ -277,8 +277,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Verification < Stripe::RequestParams
|
||||
class AdditionalDocument < Stripe::RequestParams
|
||||
class Verification < ::Stripe::RequestParams
|
||||
class AdditionalDocument < ::Stripe::RequestParams
|
||||
# The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
||||
attr_accessor :back
|
||||
# The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
||||
@ -290,7 +290,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Document < Stripe::RequestParams
|
||||
class Document < ::Stripe::RequestParams
|
||||
# The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
||||
attr_accessor :back
|
||||
# The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
||||
|
||||
@ -2,5 +2,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountPersonDeleteParams < Stripe::RequestParams; end
|
||||
class AccountPersonDeleteParams < ::Stripe::RequestParams; end
|
||||
end
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountPersonListParams < Stripe::RequestParams
|
||||
class Relationship < Stripe::RequestParams
|
||||
class AccountPersonListParams < ::Stripe::RequestParams
|
||||
class Relationship < ::Stripe::RequestParams
|
||||
# A filter on the list of people returned based on whether these people are authorizers of the account's representative.
|
||||
attr_accessor :authorizer
|
||||
# A filter on the list of people returned based on whether these people are directors of the account's company.
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountPersonRetrieveParams < Stripe::RequestParams
|
||||
class AccountPersonRetrieveParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -2,9 +2,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountPersonUpdateParams < Stripe::RequestParams
|
||||
class AdditionalTosAcceptances < Stripe::RequestParams
|
||||
class Account < Stripe::RequestParams
|
||||
class AccountPersonUpdateParams < ::Stripe::RequestParams
|
||||
class AdditionalTosAcceptances < ::Stripe::RequestParams
|
||||
class Account < ::Stripe::RequestParams
|
||||
# The Unix timestamp marking when the account representative accepted the service agreement.
|
||||
attr_accessor :date
|
||||
# The IP address from which the account representative accepted the service agreement.
|
||||
@ -26,7 +26,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Address < Stripe::RequestParams
|
||||
class Address < ::Stripe::RequestParams
|
||||
# City, district, suburb, town, or village.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -50,7 +50,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AddressKana < Stripe::RequestParams
|
||||
class AddressKana < ::Stripe::RequestParams
|
||||
# City or ward.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -85,7 +85,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AddressKanji < Stripe::RequestParams
|
||||
class AddressKanji < ::Stripe::RequestParams
|
||||
# City or ward.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -120,7 +120,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Dob < Stripe::RequestParams
|
||||
class Dob < ::Stripe::RequestParams
|
||||
# The day of birth, between 1 and 31.
|
||||
attr_accessor :day
|
||||
# The month of birth, between 1 and 12.
|
||||
@ -135,8 +135,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Documents < Stripe::RequestParams
|
||||
class CompanyAuthorization < Stripe::RequestParams
|
||||
class Documents < ::Stripe::RequestParams
|
||||
class CompanyAuthorization < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -145,7 +145,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Passport < Stripe::RequestParams
|
||||
class Passport < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -154,7 +154,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Visa < Stripe::RequestParams
|
||||
class Visa < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -176,7 +176,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RegisteredAddress < Stripe::RequestParams
|
||||
class RegisteredAddress < ::Stripe::RequestParams
|
||||
# City, district, suburb, town, or village.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -200,7 +200,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Relationship < Stripe::RequestParams
|
||||
class Relationship < ::Stripe::RequestParams
|
||||
# Whether the person is the authorizer of the account's representative.
|
||||
attr_accessor :authorizer
|
||||
# Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
|
||||
@ -239,8 +239,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class UsCfpbData < Stripe::RequestParams
|
||||
class EthnicityDetails < Stripe::RequestParams
|
||||
class UsCfpbData < ::Stripe::RequestParams
|
||||
class EthnicityDetails < ::Stripe::RequestParams
|
||||
# The persons ethnicity
|
||||
attr_accessor :ethnicity
|
||||
# Please specify your origin, when other is selected.
|
||||
@ -252,7 +252,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RaceDetails < Stripe::RequestParams
|
||||
class RaceDetails < ::Stripe::RequestParams
|
||||
# The persons race.
|
||||
attr_accessor :race
|
||||
# Please specify your race, when other is selected.
|
||||
@ -277,8 +277,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Verification < Stripe::RequestParams
|
||||
class AdditionalDocument < Stripe::RequestParams
|
||||
class Verification < ::Stripe::RequestParams
|
||||
class AdditionalDocument < ::Stripe::RequestParams
|
||||
# The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
||||
attr_accessor :back
|
||||
# The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
||||
@ -290,7 +290,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Document < Stripe::RequestParams
|
||||
class Document < ::Stripe::RequestParams
|
||||
# The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
||||
attr_accessor :back
|
||||
# The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountPersonsParams < Stripe::RequestParams
|
||||
class Relationship < Stripe::RequestParams
|
||||
class AccountPersonsParams < ::Stripe::RequestParams
|
||||
class Relationship < ::Stripe::RequestParams
|
||||
# A filter on the list of people returned based on whether these people are authorizers of the account's representative.
|
||||
attr_accessor :authorizer
|
||||
# A filter on the list of people returned based on whether these people are directors of the account's company.
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountRejectParams < Stripe::RequestParams
|
||||
class AccountRejectParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
# The reason for rejecting the account. Can be `fraud`, `terms_of_service`, or `other`.
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountRetrieveCurrentParams < Stripe::RequestParams
|
||||
class AccountRetrieveCurrentParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountRetrieveParams < Stripe::RequestParams
|
||||
class AccountRetrieveParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountSessionCreateParams < Stripe::RequestParams
|
||||
class Components < Stripe::RequestParams
|
||||
class AccountManagement < Stripe::RequestParams
|
||||
class Features < Stripe::RequestParams
|
||||
class AccountSessionCreateParams < ::Stripe::RequestParams
|
||||
class Components < ::Stripe::RequestParams
|
||||
class AccountManagement < ::Stripe::RequestParams
|
||||
class Features < ::Stripe::RequestParams
|
||||
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
||||
attr_accessor :disable_stripe_user_authentication
|
||||
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
||||
@ -27,8 +27,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AccountOnboarding < Stripe::RequestParams
|
||||
class Features < Stripe::RequestParams
|
||||
class AccountOnboarding < ::Stripe::RequestParams
|
||||
class Features < ::Stripe::RequestParams
|
||||
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
||||
attr_accessor :disable_stripe_user_authentication
|
||||
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
||||
@ -50,8 +50,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Balances < Stripe::RequestParams
|
||||
class Features < Stripe::RequestParams
|
||||
class Balances < ::Stripe::RequestParams
|
||||
class Features < ::Stripe::RequestParams
|
||||
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
||||
attr_accessor :disable_stripe_user_authentication
|
||||
# Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
||||
@ -88,8 +88,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class DisputesList < Stripe::RequestParams
|
||||
class Features < Stripe::RequestParams
|
||||
class DisputesList < ::Stripe::RequestParams
|
||||
class Features < ::Stripe::RequestParams
|
||||
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
||||
attr_accessor :capture_payments
|
||||
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
||||
@ -122,8 +122,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Documents < Stripe::RequestParams
|
||||
class Features < Stripe::RequestParams; end
|
||||
class Documents < ::Stripe::RequestParams
|
||||
class Features < ::Stripe::RequestParams; end
|
||||
# Whether the embedded component is enabled.
|
||||
attr_accessor :enabled
|
||||
# An empty list, because this embedded component has no features.
|
||||
@ -135,8 +135,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class FinancialAccount < Stripe::RequestParams
|
||||
class Features < Stripe::RequestParams
|
||||
class FinancialAccount < ::Stripe::RequestParams
|
||||
class Features < ::Stripe::RequestParams
|
||||
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
||||
attr_accessor :disable_stripe_user_authentication
|
||||
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
||||
@ -169,8 +169,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class FinancialAccountTransactions < Stripe::RequestParams
|
||||
class Features < Stripe::RequestParams
|
||||
class FinancialAccountTransactions < ::Stripe::RequestParams
|
||||
class Features < ::Stripe::RequestParams
|
||||
# Whether to allow card spend dispute management features.
|
||||
attr_accessor :card_spend_dispute_management
|
||||
|
||||
@ -189,8 +189,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class InstantPayoutsPromotion < Stripe::RequestParams
|
||||
class Features < Stripe::RequestParams
|
||||
class InstantPayoutsPromotion < ::Stripe::RequestParams
|
||||
class Features < ::Stripe::RequestParams
|
||||
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
||||
attr_accessor :disable_stripe_user_authentication
|
||||
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
||||
@ -219,8 +219,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class IssuingCard < Stripe::RequestParams
|
||||
class Features < Stripe::RequestParams
|
||||
class IssuingCard < ::Stripe::RequestParams
|
||||
class Features < ::Stripe::RequestParams
|
||||
# Whether to allow card management features.
|
||||
attr_accessor :card_management
|
||||
# Whether to allow card spend dispute management features.
|
||||
@ -253,8 +253,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class IssuingCardsList < Stripe::RequestParams
|
||||
class Features < Stripe::RequestParams
|
||||
class IssuingCardsList < ::Stripe::RequestParams
|
||||
class Features < ::Stripe::RequestParams
|
||||
# Whether to allow card management features.
|
||||
attr_accessor :card_management
|
||||
# Whether to allow card spend dispute management features.
|
||||
@ -291,8 +291,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class NotificationBanner < Stripe::RequestParams
|
||||
class Features < Stripe::RequestParams
|
||||
class NotificationBanner < ::Stripe::RequestParams
|
||||
class Features < ::Stripe::RequestParams
|
||||
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
||||
attr_accessor :disable_stripe_user_authentication
|
||||
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
||||
@ -314,8 +314,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class PaymentDetails < Stripe::RequestParams
|
||||
class Features < Stripe::RequestParams
|
||||
class PaymentDetails < ::Stripe::RequestParams
|
||||
class Features < ::Stripe::RequestParams
|
||||
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
||||
attr_accessor :capture_payments
|
||||
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
||||
@ -348,8 +348,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class PaymentDisputes < Stripe::RequestParams
|
||||
class Features < Stripe::RequestParams
|
||||
class PaymentDisputes < ::Stripe::RequestParams
|
||||
class Features < ::Stripe::RequestParams
|
||||
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
||||
attr_accessor :destination_on_behalf_of_charge_management
|
||||
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
||||
@ -378,8 +378,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Payments < Stripe::RequestParams
|
||||
class Features < Stripe::RequestParams
|
||||
class Payments < ::Stripe::RequestParams
|
||||
class Features < ::Stripe::RequestParams
|
||||
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
||||
attr_accessor :capture_payments
|
||||
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
||||
@ -412,8 +412,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class PayoutDetails < Stripe::RequestParams
|
||||
class Features < Stripe::RequestParams; end
|
||||
class PayoutDetails < ::Stripe::RequestParams
|
||||
class Features < ::Stripe::RequestParams; end
|
||||
# Whether the embedded component is enabled.
|
||||
attr_accessor :enabled
|
||||
# An empty list, because this embedded component has no features.
|
||||
@ -425,8 +425,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Payouts < Stripe::RequestParams
|
||||
class Features < Stripe::RequestParams
|
||||
class Payouts < ::Stripe::RequestParams
|
||||
class Features < ::Stripe::RequestParams
|
||||
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
||||
attr_accessor :disable_stripe_user_authentication
|
||||
# Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
||||
@ -463,8 +463,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class PayoutsList < Stripe::RequestParams
|
||||
class Features < Stripe::RequestParams; end
|
||||
class PayoutsList < ::Stripe::RequestParams
|
||||
class Features < ::Stripe::RequestParams; end
|
||||
# Whether the embedded component is enabled.
|
||||
attr_accessor :enabled
|
||||
# An empty list, because this embedded component has no features.
|
||||
@ -476,8 +476,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class TaxRegistrations < Stripe::RequestParams
|
||||
class Features < Stripe::RequestParams; end
|
||||
class TaxRegistrations < ::Stripe::RequestParams
|
||||
class Features < ::Stripe::RequestParams; end
|
||||
# Whether the embedded component is enabled.
|
||||
attr_accessor :enabled
|
||||
# An empty list, because this embedded component has no features.
|
||||
@ -489,8 +489,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class TaxSettings < Stripe::RequestParams
|
||||
class Features < Stripe::RequestParams; end
|
||||
class TaxSettings < ::Stripe::RequestParams
|
||||
class Features < ::Stripe::RequestParams; end
|
||||
# Whether the embedded component is enabled.
|
||||
attr_accessor :enabled
|
||||
# An empty list, because this embedded component has no features.
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class AccountUpdateParams < Stripe::RequestParams
|
||||
class BankAccount < Stripe::RequestParams
|
||||
class AccountUpdateParams < ::Stripe::RequestParams
|
||||
class BankAccount < ::Stripe::RequestParams
|
||||
# Attribute for param field object
|
||||
attr_accessor :object
|
||||
# The name of the person or business that owns the bank account.This field is required when attaching the bank account to a `Customer` object.
|
||||
@ -38,8 +38,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class BusinessProfile < Stripe::RequestParams
|
||||
class AnnualRevenue < Stripe::RequestParams
|
||||
class BusinessProfile < ::Stripe::RequestParams
|
||||
class AnnualRevenue < ::Stripe::RequestParams
|
||||
# A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal).
|
||||
attr_accessor :amount
|
||||
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
||||
@ -54,7 +54,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class MonthlyEstimatedRevenue < Stripe::RequestParams
|
||||
class MonthlyEstimatedRevenue < ::Stripe::RequestParams
|
||||
# A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal).
|
||||
attr_accessor :amount
|
||||
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
||||
@ -66,7 +66,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SupportAddress < Stripe::RequestParams
|
||||
class SupportAddress < ::Stripe::RequestParams
|
||||
# City, district, suburb, town, or village.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -150,8 +150,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Capabilities < Stripe::RequestParams
|
||||
class AcssDebitPayments < Stripe::RequestParams
|
||||
class Capabilities < ::Stripe::RequestParams
|
||||
class AcssDebitPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -160,7 +160,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AffirmPayments < Stripe::RequestParams
|
||||
class AffirmPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -169,7 +169,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AfterpayClearpayPayments < Stripe::RequestParams
|
||||
class AfterpayClearpayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -178,7 +178,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AlmaPayments < Stripe::RequestParams
|
||||
class AlmaPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -187,7 +187,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AmazonPayPayments < Stripe::RequestParams
|
||||
class AmazonPayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -196,7 +196,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AuBecsDebitPayments < Stripe::RequestParams
|
||||
class AuBecsDebitPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -205,7 +205,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class BacsDebitPayments < Stripe::RequestParams
|
||||
class BacsDebitPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -214,7 +214,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class BancontactPayments < Stripe::RequestParams
|
||||
class BancontactPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -223,7 +223,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class BankTransferPayments < Stripe::RequestParams
|
||||
class BankTransferPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -232,7 +232,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class BilliePayments < Stripe::RequestParams
|
||||
class BilliePayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -241,7 +241,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class BlikPayments < Stripe::RequestParams
|
||||
class BlikPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -250,7 +250,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class BoletoPayments < Stripe::RequestParams
|
||||
class BoletoPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -259,7 +259,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CardIssuing < Stripe::RequestParams
|
||||
class CardIssuing < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -268,7 +268,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CardPayments < Stripe::RequestParams
|
||||
class CardPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -277,7 +277,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CartesBancairesPayments < Stripe::RequestParams
|
||||
class CartesBancairesPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -286,7 +286,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CashappPayments < Stripe::RequestParams
|
||||
class CashappPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -295,7 +295,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CryptoPayments < Stripe::RequestParams
|
||||
class CryptoPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -304,7 +304,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class EpsPayments < Stripe::RequestParams
|
||||
class EpsPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -313,7 +313,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class FpxPayments < Stripe::RequestParams
|
||||
class FpxPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -322,7 +322,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class GbBankTransferPayments < Stripe::RequestParams
|
||||
class GbBankTransferPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -331,7 +331,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class GiropayPayments < Stripe::RequestParams
|
||||
class GiropayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -340,7 +340,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class GrabpayPayments < Stripe::RequestParams
|
||||
class GrabpayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -349,7 +349,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class IdealPayments < Stripe::RequestParams
|
||||
class IdealPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -358,7 +358,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class IndiaInternationalPayments < Stripe::RequestParams
|
||||
class IndiaInternationalPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -367,7 +367,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class JcbPayments < Stripe::RequestParams
|
||||
class JcbPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -376,7 +376,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class JpBankTransferPayments < Stripe::RequestParams
|
||||
class JpBankTransferPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -385,7 +385,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class KakaoPayPayments < Stripe::RequestParams
|
||||
class KakaoPayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -394,7 +394,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class KlarnaPayments < Stripe::RequestParams
|
||||
class KlarnaPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -403,7 +403,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class KonbiniPayments < Stripe::RequestParams
|
||||
class KonbiniPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -412,7 +412,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class KrCardPayments < Stripe::RequestParams
|
||||
class KrCardPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -421,7 +421,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class LegacyPayments < Stripe::RequestParams
|
||||
class LegacyPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -430,7 +430,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class LinkPayments < Stripe::RequestParams
|
||||
class LinkPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -439,7 +439,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class MbWayPayments < Stripe::RequestParams
|
||||
class MbWayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -448,7 +448,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class MobilepayPayments < Stripe::RequestParams
|
||||
class MobilepayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -457,7 +457,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class MultibancoPayments < Stripe::RequestParams
|
||||
class MultibancoPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -466,7 +466,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class MxBankTransferPayments < Stripe::RequestParams
|
||||
class MxBankTransferPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -475,7 +475,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class NaverPayPayments < Stripe::RequestParams
|
||||
class NaverPayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -484,7 +484,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class NzBankAccountBecsDebitPayments < Stripe::RequestParams
|
||||
class NzBankAccountBecsDebitPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -493,7 +493,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class OxxoPayments < Stripe::RequestParams
|
||||
class OxxoPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -502,7 +502,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class P24Payments < Stripe::RequestParams
|
||||
class P24Payments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -511,7 +511,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class PayByBankPayments < Stripe::RequestParams
|
||||
class PayByBankPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -520,7 +520,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class PaycoPayments < Stripe::RequestParams
|
||||
class PaycoPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -529,7 +529,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class PaynowPayments < Stripe::RequestParams
|
||||
class PaynowPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -538,7 +538,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class PixPayments < Stripe::RequestParams
|
||||
class PixPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -547,7 +547,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class PromptpayPayments < Stripe::RequestParams
|
||||
class PromptpayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -556,7 +556,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RevolutPayPayments < Stripe::RequestParams
|
||||
class RevolutPayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -565,7 +565,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SamsungPayPayments < Stripe::RequestParams
|
||||
class SamsungPayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -574,7 +574,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SatispayPayments < Stripe::RequestParams
|
||||
class SatispayPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -583,7 +583,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SepaBankTransferPayments < Stripe::RequestParams
|
||||
class SepaBankTransferPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -592,7 +592,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SepaDebitPayments < Stripe::RequestParams
|
||||
class SepaDebitPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -601,7 +601,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SofortPayments < Stripe::RequestParams
|
||||
class SofortPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -610,7 +610,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SwishPayments < Stripe::RequestParams
|
||||
class SwishPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -619,7 +619,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class TaxReportingUs1099K < Stripe::RequestParams
|
||||
class TaxReportingUs1099K < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -628,7 +628,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class TaxReportingUs1099Misc < Stripe::RequestParams
|
||||
class TaxReportingUs1099Misc < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -637,7 +637,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Transfers < Stripe::RequestParams
|
||||
class Transfers < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -646,7 +646,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Treasury < Stripe::RequestParams
|
||||
class Treasury < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -655,7 +655,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class TwintPayments < Stripe::RequestParams
|
||||
class TwintPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -664,7 +664,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class UsBankAccountAchPayments < Stripe::RequestParams
|
||||
class UsBankAccountAchPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -673,7 +673,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class UsBankTransferPayments < Stripe::RequestParams
|
||||
class UsBankTransferPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -682,7 +682,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class ZipPayments < Stripe::RequestParams
|
||||
class ZipPayments < ::Stripe::RequestParams
|
||||
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
||||
attr_accessor :requested
|
||||
|
||||
@ -936,7 +936,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Card < Stripe::RequestParams
|
||||
class Card < ::Stripe::RequestParams
|
||||
# Attribute for param field object
|
||||
attr_accessor :object
|
||||
# Attribute for param field address_city
|
||||
@ -1003,7 +1003,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CardToken < Stripe::RequestParams
|
||||
class CardToken < ::Stripe::RequestParams
|
||||
# Attribute for param field object
|
||||
attr_accessor :object
|
||||
# Attribute for param field currency
|
||||
@ -1018,8 +1018,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Company < Stripe::RequestParams
|
||||
class Address < Stripe::RequestParams
|
||||
class Company < ::Stripe::RequestParams
|
||||
class Address < ::Stripe::RequestParams
|
||||
# City, district, suburb, town, or village.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -1050,7 +1050,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AddressKana < Stripe::RequestParams
|
||||
class AddressKana < ::Stripe::RequestParams
|
||||
# City or ward.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -1085,7 +1085,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AddressKanji < Stripe::RequestParams
|
||||
class AddressKanji < ::Stripe::RequestParams
|
||||
# City or ward.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -1120,7 +1120,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class DirectorshipDeclaration < Stripe::RequestParams
|
||||
class DirectorshipDeclaration < ::Stripe::RequestParams
|
||||
# The Unix timestamp marking when the directorship declaration attestation was made.
|
||||
attr_accessor :date
|
||||
# The IP address from which the directorship declaration attestation was made.
|
||||
@ -1135,7 +1135,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class OwnershipDeclaration < Stripe::RequestParams
|
||||
class OwnershipDeclaration < ::Stripe::RequestParams
|
||||
# The Unix timestamp marking when the beneficial owner attestation was made.
|
||||
attr_accessor :date
|
||||
# The IP address from which the beneficial owner attestation was made.
|
||||
@ -1150,7 +1150,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RegistrationDate < Stripe::RequestParams
|
||||
class RegistrationDate < ::Stripe::RequestParams
|
||||
# The day of registration, between 1 and 31.
|
||||
attr_accessor :day
|
||||
# The month of registration, between 1 and 12.
|
||||
@ -1165,8 +1165,23 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Verification < Stripe::RequestParams
|
||||
class Document < Stripe::RequestParams
|
||||
class RepresentativeDeclaration < ::Stripe::RequestParams
|
||||
# The Unix timestamp marking when the representative declaration attestation was made.
|
||||
attr_accessor :date
|
||||
# The IP address from which the representative declaration attestation was made.
|
||||
attr_accessor :ip
|
||||
# The user agent of the browser from which the representative declaration attestation was made.
|
||||
attr_accessor :user_agent
|
||||
|
||||
def initialize(date: nil, ip: nil, user_agent: nil)
|
||||
@date = date
|
||||
@ip = ip
|
||||
@user_agent = user_agent
|
||||
end
|
||||
end
|
||||
|
||||
class Verification < ::Stripe::RequestParams
|
||||
class Document < ::Stripe::RequestParams
|
||||
# The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
||||
attr_accessor :back
|
||||
# The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
||||
@ -1218,6 +1233,8 @@ module Stripe
|
||||
attr_accessor :registration_date
|
||||
# The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).
|
||||
attr_accessor :registration_number
|
||||
# This hash is used to attest that the representative is authorized to act as the representative of their legal entity.
|
||||
attr_accessor :representative_declaration
|
||||
# The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.
|
||||
attr_accessor :structure
|
||||
# The business ID number of the company, as appropriate for the company’s country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.)
|
||||
@ -1247,6 +1264,7 @@ module Stripe
|
||||
phone: nil,
|
||||
registration_date: nil,
|
||||
registration_number: nil,
|
||||
representative_declaration: nil,
|
||||
structure: nil,
|
||||
tax_id: nil,
|
||||
tax_id_registrar: nil,
|
||||
@ -1270,6 +1288,7 @@ module Stripe
|
||||
@phone = phone
|
||||
@registration_date = registration_date
|
||||
@registration_number = registration_number
|
||||
@representative_declaration = representative_declaration
|
||||
@structure = structure
|
||||
@tax_id = tax_id
|
||||
@tax_id_registrar = tax_id_registrar
|
||||
@ -1278,8 +1297,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Documents < Stripe::RequestParams
|
||||
class BankAccountOwnershipVerification < Stripe::RequestParams
|
||||
class Documents < ::Stripe::RequestParams
|
||||
class BankAccountOwnershipVerification < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -1288,7 +1307,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CompanyLicense < Stripe::RequestParams
|
||||
class CompanyLicense < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -1297,7 +1316,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CompanyMemorandumOfAssociation < Stripe::RequestParams
|
||||
class CompanyMemorandumOfAssociation < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -1306,7 +1325,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CompanyMinisterialDecree < Stripe::RequestParams
|
||||
class CompanyMinisterialDecree < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -1315,7 +1334,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CompanyRegistrationVerification < Stripe::RequestParams
|
||||
class CompanyRegistrationVerification < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -1324,7 +1343,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CompanyTaxIdVerification < Stripe::RequestParams
|
||||
class CompanyTaxIdVerification < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -1333,7 +1352,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class ProofOfAddress < Stripe::RequestParams
|
||||
class ProofOfAddress < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -1342,7 +1361,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class ProofOfRegistration < Stripe::RequestParams
|
||||
class ProofOfRegistration < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -1351,7 +1370,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams
|
||||
class ProofOfUltimateBeneficialOwnership < ::Stripe::RequestParams
|
||||
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
||||
attr_accessor :files
|
||||
|
||||
@ -1401,7 +1420,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Groups < Stripe::RequestParams
|
||||
class Groups < ::Stripe::RequestParams
|
||||
# The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details.
|
||||
attr_accessor :payments_pricing
|
||||
|
||||
@ -1410,8 +1429,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Individual < Stripe::RequestParams
|
||||
class Address < Stripe::RequestParams
|
||||
class Individual < ::Stripe::RequestParams
|
||||
class Address < ::Stripe::RequestParams
|
||||
# City, district, suburb, town, or village.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -1442,7 +1461,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AddressKana < Stripe::RequestParams
|
||||
class AddressKana < ::Stripe::RequestParams
|
||||
# City or ward.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -1477,7 +1496,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AddressKanji < Stripe::RequestParams
|
||||
class AddressKanji < ::Stripe::RequestParams
|
||||
# City or ward.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -1512,7 +1531,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Dob < Stripe::RequestParams
|
||||
class Dob < ::Stripe::RequestParams
|
||||
# The day of birth, between 1 and 31.
|
||||
attr_accessor :day
|
||||
# The month of birth, between 1 and 12.
|
||||
@ -1527,7 +1546,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RegisteredAddress < Stripe::RequestParams
|
||||
class RegisteredAddress < ::Stripe::RequestParams
|
||||
# City, district, suburb, town, or village.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -1558,7 +1577,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Relationship < Stripe::RequestParams
|
||||
class Relationship < ::Stripe::RequestParams
|
||||
# Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
|
||||
attr_accessor :director
|
||||
# Whether the person has significant responsibility to control, manage, or direct the organization.
|
||||
@ -1585,8 +1604,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Verification < Stripe::RequestParams
|
||||
class AdditionalDocument < Stripe::RequestParams
|
||||
class Verification < ::Stripe::RequestParams
|
||||
class AdditionalDocument < ::Stripe::RequestParams
|
||||
# The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
||||
attr_accessor :back
|
||||
# The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
||||
@ -1598,7 +1617,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Document < Stripe::RequestParams
|
||||
class Document < ::Stripe::RequestParams
|
||||
# The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
||||
attr_accessor :back
|
||||
# The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
||||
@ -1717,8 +1736,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Settings < Stripe::RequestParams
|
||||
class BacsDebitPayments < Stripe::RequestParams
|
||||
class Settings < ::Stripe::RequestParams
|
||||
class BacsDebitPayments < ::Stripe::RequestParams
|
||||
# The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
|
||||
attr_accessor :display_name
|
||||
|
||||
@ -1727,7 +1746,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Branding < Stripe::RequestParams
|
||||
class Branding < ::Stripe::RequestParams
|
||||
# (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
|
||||
attr_accessor :icon
|
||||
# (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided. Must be at least 128px x 128px.
|
||||
@ -1745,8 +1764,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CardIssuing < Stripe::RequestParams
|
||||
class TosAcceptance < Stripe::RequestParams
|
||||
class CardIssuing < ::Stripe::RequestParams
|
||||
class TosAcceptance < ::Stripe::RequestParams
|
||||
# The Unix timestamp marking when the account representative accepted the service agreement.
|
||||
attr_accessor :date
|
||||
# The IP address from which the account representative accepted the service agreement.
|
||||
@ -1768,8 +1787,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CardPayments < Stripe::RequestParams
|
||||
class DeclineOn < Stripe::RequestParams
|
||||
class CardPayments < ::Stripe::RequestParams
|
||||
class DeclineOn < ::Stripe::RequestParams
|
||||
# Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification.
|
||||
attr_accessor :avs_failure
|
||||
# Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
|
||||
@ -1802,7 +1821,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Invoices < Stripe::RequestParams
|
||||
class Invoices < ::Stripe::RequestParams
|
||||
# The list of default Account Tax IDs to automatically include on invoices. Account Tax IDs get added when an invoice is finalized.
|
||||
attr_accessor :default_account_tax_ids
|
||||
# Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page.
|
||||
@ -1814,7 +1833,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Payments < Stripe::RequestParams
|
||||
class Payments < ::Stripe::RequestParams
|
||||
# The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a `statement_descriptor_prefix`, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the `statement_descriptor` text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors).
|
||||
attr_accessor :statement_descriptor
|
||||
# The Kana variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
|
||||
@ -1833,8 +1852,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Payouts < Stripe::RequestParams
|
||||
class Schedule < Stripe::RequestParams
|
||||
class Payouts < ::Stripe::RequestParams
|
||||
class Schedule < ::Stripe::RequestParams
|
||||
# The number of days charge funds are held before being paid out. May also be set to `minimum`, representing the lowest available value for the account country. Default is `minimum`. The `delay_days` parameter remains at the last configured value if `interval` is `manual`. [Learn more about controlling payout delay days](/connect/manage-payout-schedule).
|
||||
attr_accessor :delay_days
|
||||
# How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`.
|
||||
@ -1878,8 +1897,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Treasury < Stripe::RequestParams
|
||||
class TosAcceptance < Stripe::RequestParams
|
||||
class Treasury < ::Stripe::RequestParams
|
||||
class TosAcceptance < ::Stripe::RequestParams
|
||||
# The Unix timestamp marking when the account representative accepted the service agreement.
|
||||
attr_accessor :date
|
||||
# The IP address from which the account representative accepted the service agreement.
|
||||
@ -1938,7 +1957,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class TosAcceptance < Stripe::RequestParams
|
||||
class TosAcceptance < ::Stripe::RequestParams
|
||||
# The Unix timestamp marking when the account representative accepted their service agreement.
|
||||
attr_accessor :date
|
||||
# The IP address from which the account representative accepted their service agreement.
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class ApplePayDomainCreateParams < Stripe::RequestParams
|
||||
class ApplePayDomainCreateParams < ::Stripe::RequestParams
|
||||
# Attribute for param field domain_name
|
||||
attr_accessor :domain_name
|
||||
# Specifies which fields in the response should be expanded.
|
||||
|
||||
@ -2,5 +2,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class ApplePayDomainDeleteParams < Stripe::RequestParams; end
|
||||
class ApplePayDomainDeleteParams < ::Stripe::RequestParams; end
|
||||
end
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class ApplePayDomainListParams < Stripe::RequestParams
|
||||
class ApplePayDomainListParams < ::Stripe::RequestParams
|
||||
# Attribute for param field domain_name
|
||||
attr_accessor :domain_name
|
||||
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class ApplePayDomainRetrieveParams < Stripe::RequestParams
|
||||
class ApplePayDomainRetrieveParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class ApplicationFeeListParams < Stripe::RequestParams
|
||||
class Created < Stripe::RequestParams
|
||||
class ApplicationFeeListParams < ::Stripe::RequestParams
|
||||
class Created < ::Stripe::RequestParams
|
||||
# Minimum value to filter by (exclusive)
|
||||
attr_accessor :gt
|
||||
# Minimum value to filter by (inclusive)
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class ApplicationFeeRefundCreateParams < Stripe::RequestParams
|
||||
class ApplicationFeeRefundCreateParams < ::Stripe::RequestParams
|
||||
# A positive integer, in _cents (or local equivalent)_, representing how much of this fee to refund. Can refund only up to the remaining unrefunded amount of the fee.
|
||||
attr_accessor :amount
|
||||
# Specifies which fields in the response should be expanded.
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class ApplicationFeeRefundListParams < Stripe::RequestParams
|
||||
class ApplicationFeeRefundListParams < ::Stripe::RequestParams
|
||||
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
||||
attr_accessor :ending_before
|
||||
# Specifies which fields in the response should be expanded.
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class ApplicationFeeRefundRetrieveParams < Stripe::RequestParams
|
||||
class ApplicationFeeRefundRetrieveParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class ApplicationFeeRefundUpdateParams < Stripe::RequestParams
|
||||
class ApplicationFeeRefundUpdateParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class ApplicationFeeRetrieveParams < Stripe::RequestParams
|
||||
class ApplicationFeeRetrieveParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
|
||||
module Stripe
|
||||
module Apps
|
||||
class SecretCreateParams < Stripe::RequestParams
|
||||
class Scope < Stripe::RequestParams
|
||||
class SecretCreateParams < ::Stripe::RequestParams
|
||||
class Scope < ::Stripe::RequestParams
|
||||
# The secret scope type.
|
||||
attr_accessor :type
|
||||
# The user ID. This field is required if `type` is set to `user`, and should not be provided if `type` is set to `account`.
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
|
||||
module Stripe
|
||||
module Apps
|
||||
class SecretDeleteWhereParams < Stripe::RequestParams
|
||||
class Scope < Stripe::RequestParams
|
||||
class SecretDeleteWhereParams < ::Stripe::RequestParams
|
||||
class Scope < ::Stripe::RequestParams
|
||||
# The secret scope type.
|
||||
attr_accessor :type
|
||||
# The user ID. This field is required if `type` is set to `user`, and should not be provided if `type` is set to `account`.
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
|
||||
module Stripe
|
||||
module Apps
|
||||
class SecretFindParams < Stripe::RequestParams
|
||||
class Scope < Stripe::RequestParams
|
||||
class SecretFindParams < ::Stripe::RequestParams
|
||||
class Scope < ::Stripe::RequestParams
|
||||
# The secret scope type.
|
||||
attr_accessor :type
|
||||
# The user ID. This field is required if `type` is set to `user`, and should not be provided if `type` is set to `account`.
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
|
||||
module Stripe
|
||||
module Apps
|
||||
class SecretListParams < Stripe::RequestParams
|
||||
class Scope < Stripe::RequestParams
|
||||
class SecretListParams < ::Stripe::RequestParams
|
||||
class Scope < ::Stripe::RequestParams
|
||||
# The secret scope type.
|
||||
attr_accessor :type
|
||||
# The user ID. This field is required if `type` is set to `user`, and should not be provided if `type` is set to `account`.
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class BalanceRetrieveParams < Stripe::RequestParams
|
||||
class BalanceRetrieveParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class BalanceSettingsRetrieveParams < Stripe::RequestParams
|
||||
class BalanceSettingsRetrieveParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class BalanceSettingsUpdateParams < Stripe::RequestParams
|
||||
class Payments < Stripe::RequestParams
|
||||
class Payouts < Stripe::RequestParams
|
||||
class Schedule < Stripe::RequestParams
|
||||
class BalanceSettingsUpdateParams < ::Stripe::RequestParams
|
||||
class Payments < ::Stripe::RequestParams
|
||||
class Payouts < ::Stripe::RequestParams
|
||||
class Schedule < ::Stripe::RequestParams
|
||||
# How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`.
|
||||
attr_accessor :interval
|
||||
# The days of the month when available funds are paid out, specified as an array of numbers between 1--31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if `interval` is `monthly`.
|
||||
@ -33,7 +33,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SettlementTiming < Stripe::RequestParams
|
||||
class SettlementTiming < ::Stripe::RequestParams
|
||||
# Change `delay_days` for this account, which determines the number of days charge funds are held before becoming available. The maximum value is 31. Passing an empty string to `delay_days_override` will return `delay_days` to the default, which is the lowest available value for the account. [Learn more about controlling delay days](/connect/manage-payout-schedule).
|
||||
attr_accessor :delay_days_override
|
||||
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class BalanceTransactionListParams < Stripe::RequestParams
|
||||
class Created < Stripe::RequestParams
|
||||
class BalanceTransactionListParams < ::Stripe::RequestParams
|
||||
class Created < ::Stripe::RequestParams
|
||||
# Minimum value to filter by (exclusive)
|
||||
attr_accessor :gt
|
||||
# Minimum value to filter by (inclusive)
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class BalanceTransactionRetrieveParams < Stripe::RequestParams
|
||||
class BalanceTransactionRetrieveParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class AlertActivateParams < Stripe::RequestParams
|
||||
class AlertActivateParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class AlertArchiveParams < Stripe::RequestParams
|
||||
class AlertArchiveParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -3,9 +3,9 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class AlertCreateParams < Stripe::RequestParams
|
||||
class UsageThreshold < Stripe::RequestParams
|
||||
class Filter < Stripe::RequestParams
|
||||
class AlertCreateParams < ::Stripe::RequestParams
|
||||
class UsageThreshold < ::Stripe::RequestParams
|
||||
class Filter < ::Stripe::RequestParams
|
||||
# Limit the scope to this usage alert only to this customer.
|
||||
attr_accessor :customer
|
||||
# What type of filter is being applied to this usage alert.
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class AlertDeactivateParams < Stripe::RequestParams
|
||||
class AlertDeactivateParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class AlertListParams < Stripe::RequestParams
|
||||
class AlertListParams < ::Stripe::RequestParams
|
||||
# Filter results to only include this type of alert.
|
||||
attr_accessor :alert_type
|
||||
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class AlertRetrieveParams < Stripe::RequestParams
|
||||
class AlertRetrieveParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -3,10 +3,10 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class CreditBalanceSummaryRetrieveParams < Stripe::RequestParams
|
||||
class Filter < Stripe::RequestParams
|
||||
class ApplicabilityScope < Stripe::RequestParams
|
||||
class Price < Stripe::RequestParams
|
||||
class CreditBalanceSummaryRetrieveParams < ::Stripe::RequestParams
|
||||
class Filter < ::Stripe::RequestParams
|
||||
class ApplicabilityScope < ::Stripe::RequestParams
|
||||
class Price < ::Stripe::RequestParams
|
||||
# The price ID this credit grant should apply to.
|
||||
attr_accessor :id
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class CreditBalanceTransactionListParams < Stripe::RequestParams
|
||||
class CreditBalanceTransactionListParams < ::Stripe::RequestParams
|
||||
# The credit grant for which to fetch credit balance transactions.
|
||||
attr_accessor :credit_grant
|
||||
# The customer for which to fetch credit balance transactions.
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class CreditBalanceTransactionRetrieveParams < Stripe::RequestParams
|
||||
class CreditBalanceTransactionRetrieveParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -3,9 +3,9 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class CreditGrantCreateParams < Stripe::RequestParams
|
||||
class Amount < Stripe::RequestParams
|
||||
class Monetary < Stripe::RequestParams
|
||||
class CreditGrantCreateParams < ::Stripe::RequestParams
|
||||
class Amount < ::Stripe::RequestParams
|
||||
class Monetary < ::Stripe::RequestParams
|
||||
# Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `value` parameter.
|
||||
attr_accessor :currency
|
||||
# A positive integer representing the amount of the credit grant.
|
||||
@ -27,9 +27,9 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class ApplicabilityConfig < Stripe::RequestParams
|
||||
class Scope < Stripe::RequestParams
|
||||
class Price < Stripe::RequestParams
|
||||
class ApplicabilityConfig < ::Stripe::RequestParams
|
||||
class Scope < ::Stripe::RequestParams
|
||||
class Price < ::Stripe::RequestParams
|
||||
# The price ID this credit grant should apply to.
|
||||
attr_accessor :id
|
||||
|
||||
@ -58,7 +58,7 @@ module Stripe
|
||||
attr_accessor :amount
|
||||
# Configuration specifying what this credit grant applies to. We currently only support `metered` prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them.
|
||||
attr_accessor :applicability_config
|
||||
# The category of this credit grant.
|
||||
# The category of this credit grant. It defaults to `paid` if not specified.
|
||||
attr_accessor :category
|
||||
# ID of the customer to receive the billing credits.
|
||||
attr_accessor :customer
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class CreditGrantExpireParams < Stripe::RequestParams
|
||||
class CreditGrantExpireParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class CreditGrantListParams < Stripe::RequestParams
|
||||
class CreditGrantListParams < ::Stripe::RequestParams
|
||||
# Only return credit grants for this customer.
|
||||
attr_accessor :customer
|
||||
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class CreditGrantRetrieveParams < Stripe::RequestParams
|
||||
class CreditGrantRetrieveParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class CreditGrantUpdateParams < Stripe::RequestParams
|
||||
class CreditGrantUpdateParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
# The time when the billing credits created by this credit grant expire. If set to empty, the billing credits never expire.
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class CreditGrantVoidGrantParams < Stripe::RequestParams
|
||||
class CreditGrantVoidGrantParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class MeterCreateParams < Stripe::RequestParams
|
||||
class CustomerMapping < Stripe::RequestParams
|
||||
class MeterCreateParams < ::Stripe::RequestParams
|
||||
class CustomerMapping < ::Stripe::RequestParams
|
||||
# The key in the meter event payload to use for mapping the event to a customer.
|
||||
attr_accessor :event_payload_key
|
||||
# The method for mapping a meter event to a customer. Must be `by_id`.
|
||||
@ -16,7 +16,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class DefaultAggregation < Stripe::RequestParams
|
||||
class DefaultAggregation < ::Stripe::RequestParams
|
||||
# Specifies how events are aggregated. Allowed values are `count` to count the number of events, `sum` to sum each event's value and `last` to take the last event's value in the window.
|
||||
attr_accessor :formula
|
||||
|
||||
@ -25,7 +25,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class ValueSettings < Stripe::RequestParams
|
||||
class ValueSettings < ::Stripe::RequestParams
|
||||
# The key in the usage event payload to use as the value for this meter. For example, if the event payload contains usage on a `bytes_used` field, then set the event_payload_key to "bytes_used".
|
||||
attr_accessor :event_payload_key
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class MeterDeactivateParams < Stripe::RequestParams
|
||||
class MeterDeactivateParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class MeterEventAdjustmentCreateParams < Stripe::RequestParams
|
||||
class Cancel < Stripe::RequestParams
|
||||
class MeterEventAdjustmentCreateParams < ::Stripe::RequestParams
|
||||
class Cancel < ::Stripe::RequestParams
|
||||
# Unique identifier for the event. You can only cancel events within 24 hours of Stripe receiving them.
|
||||
attr_accessor :identifier
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class MeterEventCreateParams < Stripe::RequestParams
|
||||
class MeterEventCreateParams < ::Stripe::RequestParams
|
||||
# The name of the meter event. Corresponds with the `event_name` field on a meter.
|
||||
attr_accessor :event_name
|
||||
# Specifies which fields in the response should be expanded.
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class MeterEventSummaryListParams < Stripe::RequestParams
|
||||
class MeterEventSummaryListParams < ::Stripe::RequestParams
|
||||
# The customer for which to fetch event summaries.
|
||||
attr_accessor :customer
|
||||
# The timestamp from when to stop aggregating meter events (exclusive). Must be aligned with minute boundaries.
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class MeterListParams < Stripe::RequestParams
|
||||
class MeterListParams < ::Stripe::RequestParams
|
||||
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
||||
attr_accessor :ending_before
|
||||
# Specifies which fields in the response should be expanded.
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class MeterReactivateParams < Stripe::RequestParams
|
||||
class MeterReactivateParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class MeterRetrieveParams < Stripe::RequestParams
|
||||
class MeterRetrieveParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Billing
|
||||
class MeterUpdateParams < Stripe::RequestParams
|
||||
class MeterUpdateParams < ::Stripe::RequestParams
|
||||
# The meter’s name. Not visible to the customer.
|
||||
attr_accessor :display_name
|
||||
# Specifies which fields in the response should be expanded.
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
|
||||
module Stripe
|
||||
module BillingPortal
|
||||
class ConfigurationCreateParams < Stripe::RequestParams
|
||||
class BusinessProfile < Stripe::RequestParams
|
||||
class ConfigurationCreateParams < ::Stripe::RequestParams
|
||||
class BusinessProfile < ::Stripe::RequestParams
|
||||
# The messaging shown to customers in the portal.
|
||||
attr_accessor :headline
|
||||
# A link to the business’s publicly available privacy policy.
|
||||
@ -19,8 +19,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Features < Stripe::RequestParams
|
||||
class CustomerUpdate < Stripe::RequestParams
|
||||
class Features < ::Stripe::RequestParams
|
||||
class CustomerUpdate < ::Stripe::RequestParams
|
||||
# The types of customer updates that are supported. When empty, customers are not updateable.
|
||||
attr_accessor :allowed_updates
|
||||
# Whether the feature is enabled.
|
||||
@ -32,7 +32,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class InvoiceHistory < Stripe::RequestParams
|
||||
class InvoiceHistory < ::Stripe::RequestParams
|
||||
# Whether the feature is enabled.
|
||||
attr_accessor :enabled
|
||||
|
||||
@ -41,17 +41,20 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class PaymentMethodUpdate < Stripe::RequestParams
|
||||
class PaymentMethodUpdate < ::Stripe::RequestParams
|
||||
# Whether the feature is enabled.
|
||||
attr_accessor :enabled
|
||||
# The [Payment Method Configuration](/api/payment_method_configurations) to use for this portal session. When specified, customers will be able to update their payment method to one of the options specified by the payment method configuration. If not set or set to an empty string, the default payment method configuration is used.
|
||||
attr_accessor :payment_method_configuration
|
||||
|
||||
def initialize(enabled: nil)
|
||||
def initialize(enabled: nil, payment_method_configuration: nil)
|
||||
@enabled = enabled
|
||||
@payment_method_configuration = payment_method_configuration
|
||||
end
|
||||
end
|
||||
|
||||
class SubscriptionCancel < Stripe::RequestParams
|
||||
class CancellationReason < Stripe::RequestParams
|
||||
class SubscriptionCancel < ::Stripe::RequestParams
|
||||
class CancellationReason < ::Stripe::RequestParams
|
||||
# Whether the feature is enabled.
|
||||
attr_accessor :enabled
|
||||
# Which cancellation reasons will be given as options to the customer.
|
||||
@ -79,9 +82,9 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SubscriptionUpdate < Stripe::RequestParams
|
||||
class Product < Stripe::RequestParams
|
||||
class AdjustableQuantity < Stripe::RequestParams
|
||||
class SubscriptionUpdate < ::Stripe::RequestParams
|
||||
class Product < ::Stripe::RequestParams
|
||||
class AdjustableQuantity < ::Stripe::RequestParams
|
||||
# Set to true if the quantity can be adjusted to any non-negative integer.
|
||||
attr_accessor :enabled
|
||||
# The maximum quantity that can be set for the product.
|
||||
@ -109,8 +112,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class ScheduleAtPeriodEnd < Stripe::RequestParams
|
||||
class Condition < Stripe::RequestParams
|
||||
class ScheduleAtPeriodEnd < ::Stripe::RequestParams
|
||||
class Condition < ::Stripe::RequestParams
|
||||
# The type of condition.
|
||||
attr_accessor :type
|
||||
|
||||
@ -180,7 +183,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class LoginPage < Stripe::RequestParams
|
||||
class LoginPage < ::Stripe::RequestParams
|
||||
# Set to `true` to generate a shareable URL [`login_page.url`](https://stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-login_page-url) that will take your customers to a hosted login page for the customer portal.
|
||||
attr_accessor :enabled
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module BillingPortal
|
||||
class ConfigurationListParams < Stripe::RequestParams
|
||||
class ConfigurationListParams < ::Stripe::RequestParams
|
||||
# Only return configurations that are active or inactive (e.g., pass `true` to only list active configurations).
|
||||
attr_accessor :active
|
||||
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module BillingPortal
|
||||
class ConfigurationRetrieveParams < Stripe::RequestParams
|
||||
class ConfigurationRetrieveParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
|
||||
module Stripe
|
||||
module BillingPortal
|
||||
class ConfigurationUpdateParams < Stripe::RequestParams
|
||||
class BusinessProfile < Stripe::RequestParams
|
||||
class ConfigurationUpdateParams < ::Stripe::RequestParams
|
||||
class BusinessProfile < ::Stripe::RequestParams
|
||||
# The messaging shown to customers in the portal.
|
||||
attr_accessor :headline
|
||||
# A link to the business’s publicly available privacy policy.
|
||||
@ -19,8 +19,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Features < Stripe::RequestParams
|
||||
class CustomerUpdate < Stripe::RequestParams
|
||||
class Features < ::Stripe::RequestParams
|
||||
class CustomerUpdate < ::Stripe::RequestParams
|
||||
# The types of customer updates that are supported. When empty, customers are not updateable.
|
||||
attr_accessor :allowed_updates
|
||||
# Whether the feature is enabled.
|
||||
@ -32,7 +32,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class InvoiceHistory < Stripe::RequestParams
|
||||
class InvoiceHistory < ::Stripe::RequestParams
|
||||
# Whether the feature is enabled.
|
||||
attr_accessor :enabled
|
||||
|
||||
@ -41,17 +41,20 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class PaymentMethodUpdate < Stripe::RequestParams
|
||||
class PaymentMethodUpdate < ::Stripe::RequestParams
|
||||
# Whether the feature is enabled.
|
||||
attr_accessor :enabled
|
||||
# The [Payment Method Configuration](/api/payment_method_configurations) to use for this portal session. When specified, customers will be able to update their payment method to one of the options specified by the payment method configuration. If not set or set to an empty string, the default payment method configuration is used.
|
||||
attr_accessor :payment_method_configuration
|
||||
|
||||
def initialize(enabled: nil)
|
||||
def initialize(enabled: nil, payment_method_configuration: nil)
|
||||
@enabled = enabled
|
||||
@payment_method_configuration = payment_method_configuration
|
||||
end
|
||||
end
|
||||
|
||||
class SubscriptionCancel < Stripe::RequestParams
|
||||
class CancellationReason < Stripe::RequestParams
|
||||
class SubscriptionCancel < ::Stripe::RequestParams
|
||||
class CancellationReason < ::Stripe::RequestParams
|
||||
# Whether the feature is enabled.
|
||||
attr_accessor :enabled
|
||||
# Which cancellation reasons will be given as options to the customer.
|
||||
@ -79,9 +82,9 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SubscriptionUpdate < Stripe::RequestParams
|
||||
class Product < Stripe::RequestParams
|
||||
class AdjustableQuantity < Stripe::RequestParams
|
||||
class SubscriptionUpdate < ::Stripe::RequestParams
|
||||
class Product < ::Stripe::RequestParams
|
||||
class AdjustableQuantity < ::Stripe::RequestParams
|
||||
# Set to true if the quantity can be adjusted to any non-negative integer.
|
||||
attr_accessor :enabled
|
||||
# The maximum quantity that can be set for the product.
|
||||
@ -109,8 +112,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class ScheduleAtPeriodEnd < Stripe::RequestParams
|
||||
class Condition < Stripe::RequestParams
|
||||
class ScheduleAtPeriodEnd < ::Stripe::RequestParams
|
||||
class Condition < ::Stripe::RequestParams
|
||||
# The type of condition.
|
||||
attr_accessor :type
|
||||
|
||||
@ -180,7 +183,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class LoginPage < Stripe::RequestParams
|
||||
class LoginPage < ::Stripe::RequestParams
|
||||
# Set to `true` to generate a shareable URL [`login_page.url`](https://stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-login_page-url) that will take your customers to a hosted login page for the customer portal.
|
||||
#
|
||||
# Set to `false` to deactivate the `login_page.url`.
|
||||
|
||||
@ -3,10 +3,10 @@
|
||||
|
||||
module Stripe
|
||||
module BillingPortal
|
||||
class SessionCreateParams < Stripe::RequestParams
|
||||
class FlowData < Stripe::RequestParams
|
||||
class AfterCompletion < Stripe::RequestParams
|
||||
class HostedConfirmation < Stripe::RequestParams
|
||||
class SessionCreateParams < ::Stripe::RequestParams
|
||||
class FlowData < ::Stripe::RequestParams
|
||||
class AfterCompletion < ::Stripe::RequestParams
|
||||
class HostedConfirmation < ::Stripe::RequestParams
|
||||
# A custom message to display to the customer after the flow is completed.
|
||||
attr_accessor :custom_message
|
||||
|
||||
@ -15,7 +15,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Redirect < Stripe::RequestParams
|
||||
class Redirect < ::Stripe::RequestParams
|
||||
# The URL the customer will be redirected to after the flow is completed.
|
||||
attr_accessor :return_url
|
||||
|
||||
@ -37,9 +37,9 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SubscriptionCancel < Stripe::RequestParams
|
||||
class Retention < Stripe::RequestParams
|
||||
class CouponOffer < Stripe::RequestParams
|
||||
class SubscriptionCancel < ::Stripe::RequestParams
|
||||
class Retention < ::Stripe::RequestParams
|
||||
class CouponOffer < ::Stripe::RequestParams
|
||||
# The ID of the coupon to be offered.
|
||||
attr_accessor :coupon
|
||||
|
||||
@ -68,7 +68,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SubscriptionUpdate < Stripe::RequestParams
|
||||
class SubscriptionUpdate < ::Stripe::RequestParams
|
||||
# The ID of the subscription to be updated.
|
||||
attr_accessor :subscription
|
||||
|
||||
@ -77,8 +77,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SubscriptionUpdateConfirm < Stripe::RequestParams
|
||||
class Discount < Stripe::RequestParams
|
||||
class SubscriptionUpdateConfirm < ::Stripe::RequestParams
|
||||
class Discount < ::Stripe::RequestParams
|
||||
# The ID of the coupon to apply to this subscription update.
|
||||
attr_accessor :coupon
|
||||
# The ID of a promotion code to apply to this subscription update.
|
||||
@ -90,7 +90,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Item < Stripe::RequestParams
|
||||
class Item < ::Stripe::RequestParams
|
||||
# The ID of the [subscription item](https://stripe.com/docs/api/subscriptions/object#subscription_object-items-data-id) to be updated.
|
||||
attr_accessor :id
|
||||
# The price the customer should subscribe to through this flow. The price must also be included in the configuration's [`features.subscription_update.products`](https://stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-features-subscription_update-products).
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class ChargeCaptureParams < Stripe::RequestParams
|
||||
class TransferData < Stripe::RequestParams
|
||||
class ChargeCaptureParams < ::Stripe::RequestParams
|
||||
class TransferData < ::Stripe::RequestParams
|
||||
# The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
|
||||
attr_accessor :amount
|
||||
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class ChargeCreateParams < Stripe::RequestParams
|
||||
class Destination < Stripe::RequestParams
|
||||
class ChargeCreateParams < ::Stripe::RequestParams
|
||||
class Destination < ::Stripe::RequestParams
|
||||
# ID of an existing, connected Stripe account.
|
||||
attr_accessor :account
|
||||
# The amount to transfer to the destination account without creating an `Application Fee` object. Cannot be combined with the `application_fee` parameter. Must be less than or equal to the charge amount.
|
||||
@ -15,7 +15,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RadarOptions < Stripe::RequestParams
|
||||
class RadarOptions < ::Stripe::RequestParams
|
||||
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
||||
attr_accessor :session
|
||||
|
||||
@ -24,8 +24,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Shipping < Stripe::RequestParams
|
||||
class Address < Stripe::RequestParams
|
||||
class Shipping < ::Stripe::RequestParams
|
||||
class Address < ::Stripe::RequestParams
|
||||
# City, district, suburb, town, or village.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -75,7 +75,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class TransferData < Stripe::RequestParams
|
||||
class TransferData < ::Stripe::RequestParams
|
||||
# The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
|
||||
attr_accessor :amount
|
||||
# ID of an existing, connected Stripe account.
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class ChargeListParams < Stripe::RequestParams
|
||||
class Created < Stripe::RequestParams
|
||||
class ChargeListParams < ::Stripe::RequestParams
|
||||
class Created < ::Stripe::RequestParams
|
||||
# Minimum value to filter by (exclusive)
|
||||
attr_accessor :gt
|
||||
# Minimum value to filter by (inclusive)
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class ChargeRetrieveParams < Stripe::RequestParams
|
||||
class ChargeRetrieveParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class ChargeSearchParams < Stripe::RequestParams
|
||||
class ChargeSearchParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
class ChargeUpdateParams < Stripe::RequestParams
|
||||
class FraudDetails < Stripe::RequestParams
|
||||
class ChargeUpdateParams < ::Stripe::RequestParams
|
||||
class FraudDetails < ::Stripe::RequestParams
|
||||
# Either `safe` or `fraudulent`.
|
||||
attr_accessor :user_report
|
||||
|
||||
@ -12,8 +12,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Shipping < Stripe::RequestParams
|
||||
class Address < Stripe::RequestParams
|
||||
class Shipping < ::Stripe::RequestParams
|
||||
class Address < ::Stripe::RequestParams
|
||||
# City, district, suburb, town, or village.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
|
||||
module Stripe
|
||||
module Checkout
|
||||
class SessionCreateParams < Stripe::RequestParams
|
||||
class AdaptivePricing < Stripe::RequestParams
|
||||
class SessionCreateParams < ::Stripe::RequestParams
|
||||
class AdaptivePricing < ::Stripe::RequestParams
|
||||
# If set to `true`, Adaptive Pricing is available on [eligible sessions](https://docs.stripe.com/payments/currencies/localize-prices/adaptive-pricing?payment-ui=stripe-hosted#restrictions). Defaults to your [dashboard setting](https://dashboard.stripe.com/settings/adaptive-pricing).
|
||||
attr_accessor :enabled
|
||||
|
||||
@ -13,8 +13,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AfterExpiration < Stripe::RequestParams
|
||||
class Recovery < Stripe::RequestParams
|
||||
class AfterExpiration < ::Stripe::RequestParams
|
||||
class Recovery < ::Stripe::RequestParams
|
||||
# Enables user redeemable promotion codes on the recovered Checkout Sessions. Defaults to `false`
|
||||
attr_accessor :allow_promotion_codes
|
||||
# If `true`, a recovery URL will be generated to recover this Checkout Session if it
|
||||
@ -35,8 +35,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AutomaticTax < Stripe::RequestParams
|
||||
class Liability < Stripe::RequestParams
|
||||
class AutomaticTax < ::Stripe::RequestParams
|
||||
class Liability < ::Stripe::RequestParams
|
||||
# The connected account being referenced when `type` is `account`.
|
||||
attr_accessor :account
|
||||
# Type of the account referenced in the request.
|
||||
@ -60,8 +60,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class BrandingSettings < Stripe::RequestParams
|
||||
class Icon < Stripe::RequestParams
|
||||
class BrandingSettings < ::Stripe::RequestParams
|
||||
class Icon < ::Stripe::RequestParams
|
||||
# The ID of a [File upload](https://stripe.com/docs/api/files) representing the icon. Purpose must be `business_icon`. Required if `type` is `file` and disallowed otherwise.
|
||||
attr_accessor :file
|
||||
# The type of image for the icon. Must be one of `file` or `url`.
|
||||
@ -76,7 +76,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Logo < Stripe::RequestParams
|
||||
class Logo < ::Stripe::RequestParams
|
||||
# The ID of a [File upload](https://stripe.com/docs/api/files) representing the logo. Purpose must be `business_logo`. Required if `type` is `file` and disallowed otherwise.
|
||||
attr_accessor :file
|
||||
# The type of image for the logo. Must be one of `file` or `url`.
|
||||
@ -96,13 +96,13 @@ module Stripe
|
||||
attr_accessor :border_style
|
||||
# A hex color value starting with `#` representing the button color for the Checkout Session.
|
||||
attr_accessor :button_color
|
||||
# A string to override the business name shown on the Checkout Session.
|
||||
# A string to override the business name shown on the Checkout Session. This only shows at the top of the Checkout page, and your business name still appears in terms, receipts, and other places.
|
||||
attr_accessor :display_name
|
||||
# The font family for the Checkout Session corresponding to one of the [supported font families](https://docs.stripe.com/payments/checkout/customization/appearance?payment-ui=stripe-hosted#font-compatibility).
|
||||
attr_accessor :font_family
|
||||
# The icon for the Checkout Session. You cannot set both `logo` and `icon`.
|
||||
# The icon for the Checkout Session. For best results, use a square image.
|
||||
attr_accessor :icon
|
||||
# The logo for the Checkout Session. You cannot set both `logo` and `icon`.
|
||||
# The logo for the Checkout Session.
|
||||
attr_accessor :logo
|
||||
|
||||
def initialize(
|
||||
@ -124,8 +124,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class ConsentCollection < Stripe::RequestParams
|
||||
class PaymentMethodReuseAgreement < Stripe::RequestParams
|
||||
class ConsentCollection < ::Stripe::RequestParams
|
||||
class PaymentMethodReuseAgreement < ::Stripe::RequestParams
|
||||
# Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's
|
||||
# defaults will be used. When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI.
|
||||
attr_accessor :position
|
||||
@ -151,9 +151,9 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CustomField < Stripe::RequestParams
|
||||
class Dropdown < Stripe::RequestParams
|
||||
class Option < Stripe::RequestParams
|
||||
class CustomField < ::Stripe::RequestParams
|
||||
class Dropdown < ::Stripe::RequestParams
|
||||
class Option < ::Stripe::RequestParams
|
||||
# The label for the option, displayed to the customer. Up to 100 characters.
|
||||
attr_accessor :label
|
||||
# The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters.
|
||||
@ -175,7 +175,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Label < Stripe::RequestParams
|
||||
class Label < ::Stripe::RequestParams
|
||||
# Custom text for the label, displayed to the customer. Up to 50 characters.
|
||||
attr_accessor :custom
|
||||
# The type of the label.
|
||||
@ -187,7 +187,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Numeric < Stripe::RequestParams
|
||||
class Numeric < ::Stripe::RequestParams
|
||||
# The value that will pre-fill the field on the payment page.
|
||||
attr_accessor :default_value
|
||||
# The maximum character length constraint for the customer's input.
|
||||
@ -202,7 +202,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Text < Stripe::RequestParams
|
||||
class Text < ::Stripe::RequestParams
|
||||
# The value that will pre-fill the field on the payment page.
|
||||
attr_accessor :default_value
|
||||
# The maximum character length constraint for the customer's input.
|
||||
@ -250,8 +250,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CustomText < Stripe::RequestParams
|
||||
class AfterSubmit < Stripe::RequestParams
|
||||
class CustomText < ::Stripe::RequestParams
|
||||
class AfterSubmit < ::Stripe::RequestParams
|
||||
# Text may be up to 1200 characters in length.
|
||||
attr_accessor :message
|
||||
|
||||
@ -260,7 +260,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class ShippingAddress < Stripe::RequestParams
|
||||
class ShippingAddress < ::Stripe::RequestParams
|
||||
# Text may be up to 1200 characters in length.
|
||||
attr_accessor :message
|
||||
|
||||
@ -269,7 +269,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Submit < Stripe::RequestParams
|
||||
class Submit < ::Stripe::RequestParams
|
||||
# Text may be up to 1200 characters in length.
|
||||
attr_accessor :message
|
||||
|
||||
@ -278,7 +278,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class TermsOfServiceAcceptance < Stripe::RequestParams
|
||||
class TermsOfServiceAcceptance < ::Stripe::RequestParams
|
||||
# Text may be up to 1200 characters in length.
|
||||
attr_accessor :message
|
||||
|
||||
@ -308,7 +308,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CustomerUpdate < Stripe::RequestParams
|
||||
class CustomerUpdate < ::Stripe::RequestParams
|
||||
# Describes whether Checkout saves the billing address onto `customer.address`.
|
||||
# To always collect a full billing address, use `billing_address_collection`. Defaults to `never`.
|
||||
attr_accessor :address
|
||||
@ -325,7 +325,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Discount < Stripe::RequestParams
|
||||
class Discount < ::Stripe::RequestParams
|
||||
# The ID of the coupon to apply to this Session.
|
||||
attr_accessor :coupon
|
||||
# The ID of a promotion code to apply to this Session.
|
||||
@ -337,9 +337,9 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class InvoiceCreation < Stripe::RequestParams
|
||||
class InvoiceData < Stripe::RequestParams
|
||||
class CustomField < Stripe::RequestParams
|
||||
class InvoiceCreation < ::Stripe::RequestParams
|
||||
class InvoiceData < ::Stripe::RequestParams
|
||||
class CustomField < ::Stripe::RequestParams
|
||||
# The name of the custom field. This may be up to 40 characters.
|
||||
attr_accessor :name
|
||||
# The value of the custom field. This may be up to 140 characters.
|
||||
@ -351,7 +351,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Issuer < Stripe::RequestParams
|
||||
class Issuer < ::Stripe::RequestParams
|
||||
# The connected account being referenced when `type` is `account`.
|
||||
attr_accessor :account
|
||||
# Type of the account referenced in the request.
|
||||
@ -363,7 +363,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RenderingOptions < Stripe::RequestParams
|
||||
class RenderingOptions < ::Stripe::RequestParams
|
||||
# How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.
|
||||
attr_accessor :amount_tax_display
|
||||
# ID of the invoice rendering template to use for this invoice.
|
||||
@ -418,8 +418,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class LineItem < Stripe::RequestParams
|
||||
class AdjustableQuantity < Stripe::RequestParams
|
||||
class LineItem < ::Stripe::RequestParams
|
||||
class AdjustableQuantity < ::Stripe::RequestParams
|
||||
# Set to true if the quantity can be adjusted to any non-negative integer.
|
||||
attr_accessor :enabled
|
||||
# The maximum quantity the customer can purchase for the Checkout Session. By default this value is 99. You can specify a value up to 999999.
|
||||
@ -434,8 +434,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class PriceData < Stripe::RequestParams
|
||||
class ProductData < Stripe::RequestParams
|
||||
class PriceData < ::Stripe::RequestParams
|
||||
class ProductData < ::Stripe::RequestParams
|
||||
# The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
|
||||
attr_accessor :description
|
||||
# A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
||||
@ -466,7 +466,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Recurring < Stripe::RequestParams
|
||||
class Recurring < ::Stripe::RequestParams
|
||||
# Specifies billing frequency. Either `day`, `week`, `month` or `year`.
|
||||
attr_accessor :interval
|
||||
# The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
|
||||
@ -540,8 +540,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class NameCollection < Stripe::RequestParams
|
||||
class Business < Stripe::RequestParams
|
||||
class NameCollection < ::Stripe::RequestParams
|
||||
class Business < ::Stripe::RequestParams
|
||||
# Enable business name collection on the Checkout Session. Defaults to `false`.
|
||||
attr_accessor :enabled
|
||||
# Whether the customer is required to provide a business name before completing the Checkout Session. Defaults to `false`.
|
||||
@ -553,7 +553,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Individual < Stripe::RequestParams
|
||||
class Individual < ::Stripe::RequestParams
|
||||
# Enable individual name collection on the Checkout Session. Defaults to `false`.
|
||||
attr_accessor :enabled
|
||||
# Whether the customer is required to provide their name before completing the Checkout Session. Defaults to `false`.
|
||||
@ -575,8 +575,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class OptionalItem < Stripe::RequestParams
|
||||
class AdjustableQuantity < Stripe::RequestParams
|
||||
class OptionalItem < ::Stripe::RequestParams
|
||||
class AdjustableQuantity < ::Stripe::RequestParams
|
||||
# Set to true if the quantity can be adjusted to any non-negative integer.
|
||||
attr_accessor :enabled
|
||||
# The maximum quantity of this item the customer can purchase. By default this value is 99. You can specify a value up to 999999.
|
||||
@ -604,9 +604,9 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class PaymentIntentData < Stripe::RequestParams
|
||||
class Shipping < Stripe::RequestParams
|
||||
class Address < Stripe::RequestParams
|
||||
class PaymentIntentData < ::Stripe::RequestParams
|
||||
class Shipping < ::Stripe::RequestParams
|
||||
class Address < ::Stripe::RequestParams
|
||||
# City, district, suburb, town, or village.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -656,7 +656,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class TransferData < Stripe::RequestParams
|
||||
class TransferData < ::Stripe::RequestParams
|
||||
# The amount that will be transferred automatically when a charge succeeds.
|
||||
attr_accessor :amount
|
||||
# If specified, successful charges will be attributed to the destination
|
||||
@ -748,7 +748,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class PaymentMethodData < Stripe::RequestParams
|
||||
class PaymentMethodData < ::Stripe::RequestParams
|
||||
# Allow redisplay will be set on the payment method on confirmation and indicates whether this payment method can be shown again to the customer in a checkout flow. Only set this field if you wish to override the allow_redisplay value determined by Checkout.
|
||||
attr_accessor :allow_redisplay
|
||||
|
||||
@ -757,9 +757,9 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class PaymentMethodOptions < Stripe::RequestParams
|
||||
class AcssDebit < Stripe::RequestParams
|
||||
class MandateOptions < Stripe::RequestParams
|
||||
class PaymentMethodOptions < ::Stripe::RequestParams
|
||||
class AcssDebit < ::Stripe::RequestParams
|
||||
class MandateOptions < ::Stripe::RequestParams
|
||||
# A URL for custom mandate text to render during confirmation step.
|
||||
# The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
|
||||
# or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
|
||||
@ -819,7 +819,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Affirm < Stripe::RequestParams
|
||||
class Affirm < ::Stripe::RequestParams
|
||||
# Controls when the funds will be captured from the customer's account.
|
||||
attr_accessor :capture_method
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
@ -837,7 +837,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AfterpayClearpay < Stripe::RequestParams
|
||||
class AfterpayClearpay < ::Stripe::RequestParams
|
||||
# Controls when the funds will be captured from the customer's account.
|
||||
attr_accessor :capture_method
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
@ -855,7 +855,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Alipay < Stripe::RequestParams
|
||||
class Alipay < ::Stripe::RequestParams
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
#
|
||||
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
||||
@ -870,7 +870,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Alma < Stripe::RequestParams
|
||||
class Alma < ::Stripe::RequestParams
|
||||
# Controls when the funds will be captured from the customer's account.
|
||||
attr_accessor :capture_method
|
||||
|
||||
@ -879,7 +879,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AmazonPay < Stripe::RequestParams
|
||||
class AmazonPay < ::Stripe::RequestParams
|
||||
# Controls when the funds will be captured from the customer's account.
|
||||
attr_accessor :capture_method
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
@ -897,7 +897,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class AuBecsDebit < Stripe::RequestParams
|
||||
class AuBecsDebit < ::Stripe::RequestParams
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
#
|
||||
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
||||
@ -915,8 +915,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class BacsDebit < Stripe::RequestParams
|
||||
class MandateOptions < Stripe::RequestParams
|
||||
class BacsDebit < ::Stripe::RequestParams
|
||||
class MandateOptions < ::Stripe::RequestParams
|
||||
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
||||
attr_accessor :reference_prefix
|
||||
|
||||
@ -944,7 +944,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Bancontact < Stripe::RequestParams
|
||||
class Bancontact < ::Stripe::RequestParams
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
#
|
||||
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
||||
@ -959,7 +959,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Billie < Stripe::RequestParams
|
||||
class Billie < ::Stripe::RequestParams
|
||||
# Controls when the funds will be captured from the customer's account.
|
||||
attr_accessor :capture_method
|
||||
|
||||
@ -968,7 +968,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Boleto < Stripe::RequestParams
|
||||
class Boleto < ::Stripe::RequestParams
|
||||
# The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time.
|
||||
attr_accessor :expires_after_days
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
@ -986,8 +986,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Card < Stripe::RequestParams
|
||||
class Installments < Stripe::RequestParams
|
||||
class Card < ::Stripe::RequestParams
|
||||
class Installments < ::Stripe::RequestParams
|
||||
# Setting to true enables installments for this Checkout Session.
|
||||
# Setting to false will prevent any installment plan from applying to a payment.
|
||||
attr_accessor :enabled
|
||||
@ -997,7 +997,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Restrictions < Stripe::RequestParams
|
||||
class Restrictions < ::Stripe::RequestParams
|
||||
# Specify the card brands to block in the Checkout Session. If a customer enters or selects a card belonging to a blocked brand, they can't complete the Session.
|
||||
attr_accessor :brands_blocked
|
||||
|
||||
@ -1061,7 +1061,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Cashapp < Stripe::RequestParams
|
||||
class Cashapp < ::Stripe::RequestParams
|
||||
# Controls when the funds will be captured from the customer's account.
|
||||
attr_accessor :capture_method
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
@ -1079,9 +1079,9 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CustomerBalance < Stripe::RequestParams
|
||||
class BankTransfer < Stripe::RequestParams
|
||||
class EuBankTransfer < Stripe::RequestParams
|
||||
class CustomerBalance < ::Stripe::RequestParams
|
||||
class BankTransfer < ::Stripe::RequestParams
|
||||
class EuBankTransfer < ::Stripe::RequestParams
|
||||
# The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
|
||||
attr_accessor :country
|
||||
|
||||
@ -1124,7 +1124,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class DemoPay < Stripe::RequestParams
|
||||
class DemoPay < ::Stripe::RequestParams
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
#
|
||||
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
||||
@ -1139,7 +1139,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Eps < Stripe::RequestParams
|
||||
class Eps < ::Stripe::RequestParams
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
#
|
||||
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
||||
@ -1154,7 +1154,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Fpx < Stripe::RequestParams
|
||||
class Fpx < ::Stripe::RequestParams
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
#
|
||||
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
||||
@ -1169,7 +1169,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Giropay < Stripe::RequestParams
|
||||
class Giropay < ::Stripe::RequestParams
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
#
|
||||
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
||||
@ -1184,7 +1184,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Grabpay < Stripe::RequestParams
|
||||
class Grabpay < ::Stripe::RequestParams
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
#
|
||||
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
||||
@ -1199,7 +1199,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Ideal < Stripe::RequestParams
|
||||
class Ideal < ::Stripe::RequestParams
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
#
|
||||
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
||||
@ -1214,7 +1214,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class KakaoPay < Stripe::RequestParams
|
||||
class KakaoPay < ::Stripe::RequestParams
|
||||
# Controls when the funds will be captured from the customer's account.
|
||||
attr_accessor :capture_method
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
@ -1232,9 +1232,9 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Klarna < Stripe::RequestParams
|
||||
class Subscription < Stripe::RequestParams
|
||||
class NextBilling < Stripe::RequestParams
|
||||
class Klarna < ::Stripe::RequestParams
|
||||
class Subscription < ::Stripe::RequestParams
|
||||
class NextBilling < ::Stripe::RequestParams
|
||||
# The amount of the next charge for the subscription.
|
||||
attr_accessor :amount
|
||||
# The date of the next charge for the subscription in YYYY-MM-DD format.
|
||||
@ -1290,7 +1290,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Konbini < Stripe::RequestParams
|
||||
class Konbini < ::Stripe::RequestParams
|
||||
# The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. Defaults to 3 days.
|
||||
attr_accessor :expires_after_days
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
@ -1308,7 +1308,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class KrCard < Stripe::RequestParams
|
||||
class KrCard < ::Stripe::RequestParams
|
||||
# Controls when the funds will be captured from the customer's account.
|
||||
attr_accessor :capture_method
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
@ -1326,7 +1326,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Link < Stripe::RequestParams
|
||||
class Link < ::Stripe::RequestParams
|
||||
# Controls when the funds will be captured from the customer's account.
|
||||
attr_accessor :capture_method
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
@ -1344,7 +1344,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Mobilepay < Stripe::RequestParams
|
||||
class Mobilepay < ::Stripe::RequestParams
|
||||
# Controls when the funds will be captured from the customer's account.
|
||||
attr_accessor :capture_method
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
@ -1362,7 +1362,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Multibanco < Stripe::RequestParams
|
||||
class Multibanco < ::Stripe::RequestParams
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
#
|
||||
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
||||
@ -1377,7 +1377,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class NaverPay < Stripe::RequestParams
|
||||
class NaverPay < ::Stripe::RequestParams
|
||||
# Controls when the funds will be captured from the customer's account.
|
||||
attr_accessor :capture_method
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
@ -1395,7 +1395,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Oxxo < Stripe::RequestParams
|
||||
class Oxxo < ::Stripe::RequestParams
|
||||
# The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.
|
||||
attr_accessor :expires_after_days
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
@ -1413,7 +1413,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class P24 < Stripe::RequestParams
|
||||
class P24 < ::Stripe::RequestParams
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
#
|
||||
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
||||
@ -1431,9 +1431,9 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class PayByBank < Stripe::RequestParams; end
|
||||
class PayByBank < ::Stripe::RequestParams; end
|
||||
|
||||
class Payco < Stripe::RequestParams
|
||||
class Payco < ::Stripe::RequestParams
|
||||
# Controls when the funds will be captured from the customer's account.
|
||||
attr_accessor :capture_method
|
||||
|
||||
@ -1442,7 +1442,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Paynow < Stripe::RequestParams
|
||||
class Paynow < ::Stripe::RequestParams
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
#
|
||||
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
||||
@ -1457,7 +1457,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Paypal < Stripe::RequestParams
|
||||
class Paypal < ::Stripe::RequestParams
|
||||
# Controls when the funds will be captured from the customer's account.
|
||||
attr_accessor :capture_method
|
||||
# [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
||||
@ -1492,7 +1492,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Pix < Stripe::RequestParams
|
||||
class Pix < ::Stripe::RequestParams
|
||||
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
||||
attr_accessor :amount_includes_iof
|
||||
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
|
||||
@ -1517,7 +1517,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RevolutPay < Stripe::RequestParams
|
||||
class RevolutPay < ::Stripe::RequestParams
|
||||
# Controls when the funds will be captured from the customer's account.
|
||||
attr_accessor :capture_method
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
@ -1535,7 +1535,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SamsungPay < Stripe::RequestParams
|
||||
class SamsungPay < ::Stripe::RequestParams
|
||||
# Controls when the funds will be captured from the customer's account.
|
||||
attr_accessor :capture_method
|
||||
|
||||
@ -1544,7 +1544,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Satispay < Stripe::RequestParams
|
||||
class Satispay < ::Stripe::RequestParams
|
||||
# Controls when the funds will be captured from the customer's account.
|
||||
attr_accessor :capture_method
|
||||
|
||||
@ -1553,8 +1553,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SepaDebit < Stripe::RequestParams
|
||||
class MandateOptions < Stripe::RequestParams
|
||||
class SepaDebit < ::Stripe::RequestParams
|
||||
class MandateOptions < ::Stripe::RequestParams
|
||||
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
|
||||
attr_accessor :reference_prefix
|
||||
|
||||
@ -1582,7 +1582,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Sofort < Stripe::RequestParams
|
||||
class Sofort < ::Stripe::RequestParams
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
#
|
||||
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
||||
@ -1597,7 +1597,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Swish < Stripe::RequestParams
|
||||
class Swish < ::Stripe::RequestParams
|
||||
# The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent.
|
||||
attr_accessor :reference
|
||||
|
||||
@ -1606,8 +1606,23 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class UsBankAccount < Stripe::RequestParams
|
||||
class FinancialConnections < Stripe::RequestParams
|
||||
class Twint < ::Stripe::RequestParams
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
#
|
||||
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
||||
#
|
||||
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
||||
#
|
||||
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
||||
attr_accessor :setup_future_usage
|
||||
|
||||
def initialize(setup_future_usage: nil)
|
||||
@setup_future_usage = setup_future_usage
|
||||
end
|
||||
end
|
||||
|
||||
class UsBankAccount < ::Stripe::RequestParams
|
||||
class FinancialConnections < ::Stripe::RequestParams
|
||||
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
||||
attr_accessor :permissions
|
||||
# List of data features that you would like to retrieve upon account creation.
|
||||
@ -1646,7 +1661,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class WechatPay < Stripe::RequestParams
|
||||
class WechatPay < ::Stripe::RequestParams
|
||||
# The app ID registered with WeChat Pay. Only required when client is ios or android.
|
||||
attr_accessor :app_id
|
||||
# The client type that the end customer will pay from
|
||||
@ -1748,6 +1763,8 @@ module Stripe
|
||||
attr_accessor :sofort
|
||||
# contains details about the Swish payment method options.
|
||||
attr_accessor :swish
|
||||
# contains details about the TWINT payment method options.
|
||||
attr_accessor :twint
|
||||
# contains details about the Us Bank Account payment method options.
|
||||
attr_accessor :us_bank_account
|
||||
# contains details about the WeChat Pay payment method options.
|
||||
@ -1795,6 +1812,7 @@ module Stripe
|
||||
sepa_debit: nil,
|
||||
sofort: nil,
|
||||
swish: nil,
|
||||
twint: nil,
|
||||
us_bank_account: nil,
|
||||
wechat_pay: nil
|
||||
)
|
||||
@ -1839,12 +1857,13 @@ module Stripe
|
||||
@sepa_debit = sepa_debit
|
||||
@sofort = sofort
|
||||
@swish = swish
|
||||
@twint = twint
|
||||
@us_bank_account = us_bank_account
|
||||
@wechat_pay = wechat_pay
|
||||
end
|
||||
end
|
||||
|
||||
class Permissions < Stripe::RequestParams
|
||||
class Permissions < ::Stripe::RequestParams
|
||||
# Determines which entity is allowed to update the shipping details.
|
||||
#
|
||||
# Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
|
||||
@ -1857,7 +1876,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class PhoneNumberCollection < Stripe::RequestParams
|
||||
class PhoneNumberCollection < ::Stripe::RequestParams
|
||||
# Set to `true` to enable phone number collection.
|
||||
#
|
||||
# Can only be set in `payment` and `subscription` mode.
|
||||
@ -1868,7 +1887,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SavedPaymentMethodOptions < Stripe::RequestParams
|
||||
class SavedPaymentMethodOptions < ::Stripe::RequestParams
|
||||
# Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with ’allow_redisplay: ‘always’ are shown in Checkout.
|
||||
attr_accessor :allow_redisplay_filters
|
||||
# Enable customers to choose if they wish to remove their saved payment methods. Disabled by default.
|
||||
@ -1887,7 +1906,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SetupIntentData < Stripe::RequestParams
|
||||
class SetupIntentData < ::Stripe::RequestParams
|
||||
# An arbitrary string attached to the object. Often useful for displaying to users.
|
||||
attr_accessor :description
|
||||
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
||||
@ -1902,7 +1921,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class ShippingAddressCollection < Stripe::RequestParams
|
||||
class ShippingAddressCollection < ::Stripe::RequestParams
|
||||
# An array of two-letter ISO country codes representing which countries Checkout should provide as options for
|
||||
# shipping locations.
|
||||
attr_accessor :allowed_countries
|
||||
@ -1912,10 +1931,10 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class ShippingOption < Stripe::RequestParams
|
||||
class ShippingRateData < Stripe::RequestParams
|
||||
class DeliveryEstimate < Stripe::RequestParams
|
||||
class Maximum < Stripe::RequestParams
|
||||
class ShippingOption < ::Stripe::RequestParams
|
||||
class ShippingRateData < ::Stripe::RequestParams
|
||||
class DeliveryEstimate < ::Stripe::RequestParams
|
||||
class Maximum < ::Stripe::RequestParams
|
||||
# A unit of time.
|
||||
attr_accessor :unit
|
||||
# Must be greater than 0.
|
||||
@ -1927,7 +1946,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Minimum < Stripe::RequestParams
|
||||
class Minimum < ::Stripe::RequestParams
|
||||
# A unit of time.
|
||||
attr_accessor :unit
|
||||
# Must be greater than 0.
|
||||
@ -1949,8 +1968,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class FixedAmount < Stripe::RequestParams
|
||||
class CurrencyOptions < Stripe::RequestParams
|
||||
class FixedAmount < ::Stripe::RequestParams
|
||||
class CurrencyOptions < ::Stripe::RequestParams
|
||||
# A non-negative integer in cents representing how much to charge.
|
||||
attr_accessor :amount
|
||||
# Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
|
||||
@ -2018,9 +2037,9 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class SubscriptionData < Stripe::RequestParams
|
||||
class BillingMode < Stripe::RequestParams
|
||||
class Flexible < Stripe::RequestParams
|
||||
class SubscriptionData < ::Stripe::RequestParams
|
||||
class BillingMode < ::Stripe::RequestParams
|
||||
class Flexible < ::Stripe::RequestParams
|
||||
# Controls how invoices and invoice items display proration amounts and discount amounts.
|
||||
attr_accessor :proration_discounts
|
||||
|
||||
@ -2039,8 +2058,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class InvoiceSettings < Stripe::RequestParams
|
||||
class Issuer < Stripe::RequestParams
|
||||
class InvoiceSettings < ::Stripe::RequestParams
|
||||
class Issuer < ::Stripe::RequestParams
|
||||
# The connected account being referenced when `type` is `account`.
|
||||
attr_accessor :account
|
||||
# Type of the account referenced in the request.
|
||||
@ -2059,7 +2078,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class TransferData < Stripe::RequestParams
|
||||
class TransferData < ::Stripe::RequestParams
|
||||
# A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
|
||||
attr_accessor :amount_percent
|
||||
# ID of an existing, connected Stripe account.
|
||||
@ -2071,8 +2090,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class TrialSettings < Stripe::RequestParams
|
||||
class EndBehavior < Stripe::RequestParams
|
||||
class TrialSettings < ::Stripe::RequestParams
|
||||
class EndBehavior < ::Stripe::RequestParams
|
||||
# Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
||||
attr_accessor :missing_payment_method
|
||||
|
||||
@ -2149,7 +2168,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class TaxIdCollection < Stripe::RequestParams
|
||||
class TaxIdCollection < ::Stripe::RequestParams
|
||||
# Enable tax ID collection during checkout. Defaults to `false`.
|
||||
attr_accessor :enabled
|
||||
# Describes whether a tax ID is required during checkout. Defaults to `never`.
|
||||
@ -2161,8 +2180,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class WalletOptions < Stripe::RequestParams
|
||||
class Link < Stripe::RequestParams
|
||||
class WalletOptions < ::Stripe::RequestParams
|
||||
class Link < ::Stripe::RequestParams
|
||||
# Specifies whether Checkout should display Link as a payment option. By default, Checkout will display all the supported wallets that the Checkout Session was created with. This is the `auto` behavior, and it is the default choice.
|
||||
attr_accessor :display
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Checkout
|
||||
class SessionExpireParams < Stripe::RequestParams
|
||||
class SessionExpireParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Checkout
|
||||
class SessionLineItemListParams < Stripe::RequestParams
|
||||
class SessionLineItemListParams < ::Stripe::RequestParams
|
||||
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
||||
attr_accessor :ending_before
|
||||
# Specifies which fields in the response should be expanded.
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Checkout
|
||||
class SessionListLineItemsParams < Stripe::RequestParams
|
||||
class SessionListLineItemsParams < ::Stripe::RequestParams
|
||||
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
||||
attr_accessor :ending_before
|
||||
# Specifies which fields in the response should be expanded.
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
|
||||
module Stripe
|
||||
module Checkout
|
||||
class SessionListParams < Stripe::RequestParams
|
||||
class Created < Stripe::RequestParams
|
||||
class SessionListParams < ::Stripe::RequestParams
|
||||
class Created < ::Stripe::RequestParams
|
||||
# Minimum value to filter by (exclusive)
|
||||
attr_accessor :gt
|
||||
# Minimum value to filter by (inclusive)
|
||||
@ -22,7 +22,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class CustomerDetails < Stripe::RequestParams
|
||||
class CustomerDetails < ::Stripe::RequestParams
|
||||
# Customer's email address.
|
||||
attr_accessor :email
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Checkout
|
||||
class SessionRetrieveParams < Stripe::RequestParams
|
||||
class SessionRetrieveParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -3,10 +3,10 @@
|
||||
|
||||
module Stripe
|
||||
module Checkout
|
||||
class SessionUpdateParams < Stripe::RequestParams
|
||||
class CollectedInformation < Stripe::RequestParams
|
||||
class ShippingDetails < Stripe::RequestParams
|
||||
class Address < Stripe::RequestParams
|
||||
class SessionUpdateParams < ::Stripe::RequestParams
|
||||
class CollectedInformation < ::Stripe::RequestParams
|
||||
class ShippingDetails < ::Stripe::RequestParams
|
||||
class Address < ::Stripe::RequestParams
|
||||
# City, district, suburb, town, or village.
|
||||
attr_accessor :city
|
||||
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
||||
@ -54,10 +54,10 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class ShippingOption < Stripe::RequestParams
|
||||
class ShippingRateData < Stripe::RequestParams
|
||||
class DeliveryEstimate < Stripe::RequestParams
|
||||
class Maximum < Stripe::RequestParams
|
||||
class ShippingOption < ::Stripe::RequestParams
|
||||
class ShippingRateData < ::Stripe::RequestParams
|
||||
class DeliveryEstimate < ::Stripe::RequestParams
|
||||
class Maximum < ::Stripe::RequestParams
|
||||
# A unit of time.
|
||||
attr_accessor :unit
|
||||
# Must be greater than 0.
|
||||
@ -69,7 +69,7 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Minimum < Stripe::RequestParams
|
||||
class Minimum < ::Stripe::RequestParams
|
||||
# A unit of time.
|
||||
attr_accessor :unit
|
||||
# Must be greater than 0.
|
||||
@ -91,8 +91,8 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class FixedAmount < Stripe::RequestParams
|
||||
class CurrencyOptions < Stripe::RequestParams
|
||||
class FixedAmount < ::Stripe::RequestParams
|
||||
class CurrencyOptions < ::Stripe::RequestParams
|
||||
# A non-negative integer in cents representing how much to charge.
|
||||
attr_accessor :amount
|
||||
# Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Climate
|
||||
class OrderCancelParams < Stripe::RequestParams
|
||||
class OrderCancelParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
|
||||
module Stripe
|
||||
module Climate
|
||||
class OrderCreateParams < Stripe::RequestParams
|
||||
class Beneficiary < Stripe::RequestParams
|
||||
class OrderCreateParams < ::Stripe::RequestParams
|
||||
class Beneficiary < ::Stripe::RequestParams
|
||||
# Publicly displayable name for the end beneficiary of carbon removal.
|
||||
attr_accessor :public_name
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Climate
|
||||
class OrderListParams < Stripe::RequestParams
|
||||
class OrderListParams < ::Stripe::RequestParams
|
||||
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
||||
attr_accessor :ending_before
|
||||
# Specifies which fields in the response should be expanded.
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Climate
|
||||
class OrderRetrieveParams < Stripe::RequestParams
|
||||
class OrderRetrieveParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
|
||||
module Stripe
|
||||
module Climate
|
||||
class OrderUpdateParams < Stripe::RequestParams
|
||||
class Beneficiary < Stripe::RequestParams
|
||||
class OrderUpdateParams < ::Stripe::RequestParams
|
||||
class Beneficiary < ::Stripe::RequestParams
|
||||
# Publicly displayable name for the end beneficiary of carbon removal.
|
||||
attr_accessor :public_name
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Climate
|
||||
class ProductListParams < Stripe::RequestParams
|
||||
class ProductListParams < ::Stripe::RequestParams
|
||||
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
||||
attr_accessor :ending_before
|
||||
# Specifies which fields in the response should be expanded.
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Climate
|
||||
class ProductRetrieveParams < Stripe::RequestParams
|
||||
class ProductRetrieveParams < ::Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
module Stripe
|
||||
module Climate
|
||||
class SupplierListParams < Stripe::RequestParams
|
||||
class SupplierListParams < ::Stripe::RequestParams
|
||||
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
||||
attr_accessor :ending_before
|
||||
# Specifies which fields in the response should be expanded.
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user