mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-12-06 00:00:29 -05:00
Merge pull request #1558 from stripe/latest-codegen-beta
Update generated code for beta
This commit is contained in:
commit
828dda2b36
@ -1 +1 @@
|
||||
v1629
|
||||
v1642
|
||||
@ -7,7 +7,26 @@ module Stripe
|
||||
# The beginning of the section generated from our OpenAPI spec
|
||||
V1BillingMeterErrorReportTriggeredEvent.lookup_type => V1BillingMeterErrorReportTriggeredEvent,
|
||||
V1BillingMeterNoMeterFoundEvent.lookup_type => V1BillingMeterNoMeterFoundEvent,
|
||||
V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent.lookup_type =>
|
||||
V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent,
|
||||
V2CoreAccountIncludingConfigurationCustomerUpdatedEvent.lookup_type =>
|
||||
V2CoreAccountIncludingConfigurationCustomerUpdatedEvent,
|
||||
V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent.lookup_type =>
|
||||
V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent,
|
||||
V2CoreAccountIncludingConfigurationMerchantUpdatedEvent.lookup_type =>
|
||||
V2CoreAccountIncludingConfigurationMerchantUpdatedEvent,
|
||||
V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.lookup_type =>
|
||||
V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent,
|
||||
V2CoreAccountIncludingConfigurationRecipientUpdatedEvent.lookup_type =>
|
||||
V2CoreAccountIncludingConfigurationRecipientUpdatedEvent,
|
||||
V2CoreAccountIncludingIdentityUpdatedEvent.lookup_type =>
|
||||
V2CoreAccountIncludingIdentityUpdatedEvent,
|
||||
V2CoreAccountIncludingRequirementsUpdatedEvent.lookup_type =>
|
||||
V2CoreAccountIncludingRequirementsUpdatedEvent,
|
||||
V2CoreAccountLinkCompletedEvent.lookup_type => V2CoreAccountLinkCompletedEvent,
|
||||
V2CoreAccountPersonCreatedEvent.lookup_type => V2CoreAccountPersonCreatedEvent,
|
||||
V2CoreAccountPersonDeletedEvent.lookup_type => V2CoreAccountPersonDeletedEvent,
|
||||
V2CoreAccountPersonUpdatedEvent.lookup_type => V2CoreAccountPersonUpdatedEvent,
|
||||
V2MoneyManagementFinancialAccountCreatedEvent.lookup_type =>
|
||||
V2MoneyManagementFinancialAccountCreatedEvent,
|
||||
V2MoneyManagementFinancialAddressActivatedEvent.lookup_type =>
|
||||
|
||||
@ -0,0 +1,13 @@
|
||||
# File generated from our OpenAPI spec
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
# The status of a customer config capability was updated.
|
||||
class V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent < Stripe::V2::Event
|
||||
def self.lookup_type
|
||||
"v2.core.account[configuration.customer].capability_status_updated"
|
||||
end
|
||||
# There is additional data present for this event, accessible with the `data` property.
|
||||
# See the Stripe API docs for more information.
|
||||
end
|
||||
end
|
||||
@ -0,0 +1,11 @@
|
||||
# File generated from our OpenAPI spec
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
# A customer config was updated.
|
||||
class V2CoreAccountIncludingConfigurationCustomerUpdatedEvent < Stripe::V2::Event
|
||||
def self.lookup_type
|
||||
"v2.core.account[configuration.customer].updated"
|
||||
end
|
||||
end
|
||||
end
|
||||
@ -0,0 +1,13 @@
|
||||
# File generated from our OpenAPI spec
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
# The status of a merchant config capability was updated.
|
||||
class V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent < Stripe::V2::Event
|
||||
def self.lookup_type
|
||||
"v2.core.account[configuration.merchant].capability_status_updated"
|
||||
end
|
||||
# There is additional data present for this event, accessible with the `data` property.
|
||||
# See the Stripe API docs for more information.
|
||||
end
|
||||
end
|
||||
@ -0,0 +1,11 @@
|
||||
# File generated from our OpenAPI spec
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
# A merchant config was updated.
|
||||
class V2CoreAccountIncludingConfigurationMerchantUpdatedEvent < Stripe::V2::Event
|
||||
def self.lookup_type
|
||||
"v2.core.account[configuration.merchant].updated"
|
||||
end
|
||||
end
|
||||
end
|
||||
@ -0,0 +1,13 @@
|
||||
# File generated from our OpenAPI spec
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
# The status of a recipient config capability was updated.
|
||||
class V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent < Stripe::V2::Event
|
||||
def self.lookup_type
|
||||
"v2.core.account[configuration.recipient].capability_status_updated"
|
||||
end
|
||||
# There is additional data present for this event, accessible with the `data` property.
|
||||
# See the Stripe API docs for more information.
|
||||
end
|
||||
end
|
||||
@ -0,0 +1,11 @@
|
||||
# File generated from our OpenAPI spec
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
# A recipient config was updated.
|
||||
class V2CoreAccountIncludingConfigurationRecipientUpdatedEvent < Stripe::V2::Event
|
||||
def self.lookup_type
|
||||
"v2.core.account[configuration.recipient].updated"
|
||||
end
|
||||
end
|
||||
end
|
||||
@ -0,0 +1,11 @@
|
||||
# File generated from our OpenAPI spec
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
# This event occurs when identity is updated.
|
||||
class V2CoreAccountIncludingIdentityUpdatedEvent < Stripe::V2::Event
|
||||
def self.lookup_type
|
||||
"v2.core.account[identity].updated"
|
||||
end
|
||||
end
|
||||
end
|
||||
@ -0,0 +1,11 @@
|
||||
# File generated from our OpenAPI spec
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
# This event occurs when the account's requirements are updated.
|
||||
class V2CoreAccountIncludingRequirementsUpdatedEvent < Stripe::V2::Event
|
||||
def self.lookup_type
|
||||
"v2.core.account[requirements].updated"
|
||||
end
|
||||
end
|
||||
end
|
||||
23
lib/stripe/events/v2_core_account_person_created_event.rb
Normal file
23
lib/stripe/events/v2_core_account_person_created_event.rb
Normal file
@ -0,0 +1,23 @@
|
||||
# File generated from our OpenAPI spec
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
# This event occurs when a person is created.
|
||||
class V2CoreAccountPersonCreatedEvent < Stripe::V2::Event
|
||||
def self.lookup_type
|
||||
"v2.core.account_person.created"
|
||||
end
|
||||
# There is additional data present for this event, accessible with the `data` property.
|
||||
# See the Stripe API docs for more information.
|
||||
|
||||
# Retrieves the related object from the API. Make an API request on every call.
|
||||
def fetch_related_object
|
||||
_request(
|
||||
method: :get,
|
||||
path: related_object.url,
|
||||
base_address: :api,
|
||||
opts: { stripe_account: context }
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
23
lib/stripe/events/v2_core_account_person_deleted_event.rb
Normal file
23
lib/stripe/events/v2_core_account_person_deleted_event.rb
Normal file
@ -0,0 +1,23 @@
|
||||
# File generated from our OpenAPI spec
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
# This event occurs when a person is deleted.
|
||||
class V2CoreAccountPersonDeletedEvent < Stripe::V2::Event
|
||||
def self.lookup_type
|
||||
"v2.core.account_person.deleted"
|
||||
end
|
||||
# There is additional data present for this event, accessible with the `data` property.
|
||||
# See the Stripe API docs for more information.
|
||||
|
||||
# Retrieves the related object from the API. Make an API request on every call.
|
||||
def fetch_related_object
|
||||
_request(
|
||||
method: :get,
|
||||
path: related_object.url,
|
||||
base_address: :api,
|
||||
opts: { stripe_account: context }
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
23
lib/stripe/events/v2_core_account_person_updated_event.rb
Normal file
23
lib/stripe/events/v2_core_account_person_updated_event.rb
Normal file
@ -0,0 +1,23 @@
|
||||
# File generated from our OpenAPI spec
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
# This event occurs when a person is updated.
|
||||
class V2CoreAccountPersonUpdatedEvent < Stripe::V2::Event
|
||||
def self.lookup_type
|
||||
"v2.core.account_person.updated"
|
||||
end
|
||||
# There is additional data present for this event, accessible with the `data` property.
|
||||
# See the Stripe API docs for more information.
|
||||
|
||||
# Retrieves the related object from the API. Make an API request on every call.
|
||||
def fetch_related_object
|
||||
_request(
|
||||
method: :get,
|
||||
path: related_object.url,
|
||||
base_address: :api,
|
||||
opts: { stripe_account: context }
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
@ -190,7 +190,18 @@ require "stripe/resources/v2/money_management/transaction_entry"
|
||||
require "stripe/resources/webhook_endpoint"
|
||||
require "stripe/events/v1_billing_meter_error_report_triggered_event"
|
||||
require "stripe/events/v1_billing_meter_no_meter_found_event"
|
||||
require "stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event"
|
||||
require "stripe/events/v2_core_account_including_configuration_customer_updated_event"
|
||||
require "stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event"
|
||||
require "stripe/events/v2_core_account_including_configuration_merchant_updated_event"
|
||||
require "stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event"
|
||||
require "stripe/events/v2_core_account_including_configuration_recipient_updated_event"
|
||||
require "stripe/events/v2_core_account_including_identity_updated_event"
|
||||
require "stripe/events/v2_core_account_including_requirements_updated_event"
|
||||
require "stripe/events/v2_core_account_link_completed_event"
|
||||
require "stripe/events/v2_core_account_person_created_event"
|
||||
require "stripe/events/v2_core_account_person_deleted_event"
|
||||
require "stripe/events/v2_core_account_person_updated_event"
|
||||
require "stripe/events/v2_money_management_financial_account_created_event"
|
||||
require "stripe/events/v2_money_management_financial_address_activated_event"
|
||||
require "stripe/events/v2_money_management_financial_address_failed_event"
|
||||
|
||||
@ -170,6 +170,8 @@ module Stripe
|
||||
attr_reader :mx_bank_transfer_payments
|
||||
# The status of the NaverPay capability of the account, or whether the account can directly process NaverPay payments.
|
||||
attr_reader :naver_pay_payments
|
||||
# The status of the New Zealand BECS Direct Debit payments capability of the account, or whether the account can directly process New Zealand BECS Direct Debit charges.
|
||||
attr_reader :nz_bank_account_becs_debit_payments
|
||||
# The status of the OXXO payments capability of the account, or whether the account can directly process OXXO charges.
|
||||
attr_reader :oxxo_payments
|
||||
# The status of the P24 payments capability of the account, or whether the account can directly process P24 charges.
|
||||
@ -667,15 +669,6 @@ module Stripe
|
||||
class DeleteParams < Stripe::RequestParams
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class BankAccount < Stripe::RequestParams
|
||||
# Attribute for param field object
|
||||
@ -1181,6 +1174,15 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
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
|
||||
|
||||
def initialize(requested: nil)
|
||||
@requested = requested
|
||||
end
|
||||
end
|
||||
|
||||
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
|
||||
@ -1530,6 +1532,8 @@ module Stripe
|
||||
attr_accessor :mx_bank_transfer_payments
|
||||
# The naver_pay_payments capability.
|
||||
attr_accessor :naver_pay_payments
|
||||
# The nz_bank_account_becs_debit_payments capability.
|
||||
attr_accessor :nz_bank_account_becs_debit_payments
|
||||
# The oxxo_payments capability.
|
||||
attr_accessor :oxxo_payments
|
||||
# The p24_payments capability.
|
||||
@ -1632,6 +1636,7 @@ module Stripe
|
||||
multibanco_payments: nil,
|
||||
mx_bank_transfer_payments: nil,
|
||||
naver_pay_payments: nil,
|
||||
nz_bank_account_becs_debit_payments: nil,
|
||||
oxxo_payments: nil,
|
||||
p24_payments: nil,
|
||||
pay_by_bank_payments: nil,
|
||||
@ -1703,6 +1708,7 @@ module Stripe
|
||||
@multibanco_payments = multibanco_payments
|
||||
@mx_bank_transfer_payments = mx_bank_transfer_payments
|
||||
@naver_pay_payments = naver_pay_payments
|
||||
@nz_bank_account_becs_debit_payments = nz_bank_account_becs_debit_payments
|
||||
@oxxo_payments = oxxo_payments
|
||||
@p24_payments = p24_payments
|
||||
@pay_by_bank_payments = pay_by_bank_payments
|
||||
@ -3406,6 +3412,15 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
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
|
||||
|
||||
def initialize(requested: nil)
|
||||
@requested = requested
|
||||
end
|
||||
end
|
||||
|
||||
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
|
||||
@ -3755,6 +3770,8 @@ module Stripe
|
||||
attr_accessor :mx_bank_transfer_payments
|
||||
# The naver_pay_payments capability.
|
||||
attr_accessor :naver_pay_payments
|
||||
# The nz_bank_account_becs_debit_payments capability.
|
||||
attr_accessor :nz_bank_account_becs_debit_payments
|
||||
# The oxxo_payments capability.
|
||||
attr_accessor :oxxo_payments
|
||||
# The p24_payments capability.
|
||||
@ -3857,6 +3874,7 @@ module Stripe
|
||||
multibanco_payments: nil,
|
||||
mx_bank_transfer_payments: nil,
|
||||
naver_pay_payments: nil,
|
||||
nz_bank_account_becs_debit_payments: nil,
|
||||
oxxo_payments: nil,
|
||||
p24_payments: nil,
|
||||
pay_by_bank_payments: nil,
|
||||
@ -3928,6 +3946,7 @@ module Stripe
|
||||
@multibanco_payments = multibanco_payments
|
||||
@mx_bank_transfer_payments = mx_bank_transfer_payments
|
||||
@naver_pay_payments = naver_pay_payments
|
||||
@nz_bank_account_becs_debit_payments = nz_bank_account_becs_debit_payments
|
||||
@oxxo_payments = oxxo_payments
|
||||
@p24_payments = p24_payments
|
||||
@pay_by_bank_payments = pay_by_bank_payments
|
||||
|
||||
@ -53,15 +53,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class Email < Stripe::RequestParams
|
||||
# Content of the email in plain text. The copy must match exactly the language that Stripe Compliance has approved for use.
|
||||
|
||||
@ -16,15 +16,6 @@ module Stripe
|
||||
class DeleteParams < Stripe::RequestParams
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class ListParams < Stripe::RequestParams
|
||||
# Attribute for param field domain_name
|
||||
attr_accessor :domain_name
|
||||
|
||||
@ -69,15 +69,6 @@ module Stripe
|
||||
@starting_after = starting_after
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# ID of the Stripe account this fee was taken from.
|
||||
attr_reader :account
|
||||
# Amount earned, in cents (or local equivalent).
|
||||
|
||||
@ -126,15 +126,6 @@ module Stripe
|
||||
# Attribute for field source_types
|
||||
attr_reader :source_types
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# Available funds that you can transfer or pay out automatically by Stripe or explicitly through the [Transfers API](https://stripe.com/docs/api#transfers) or [Payouts API](https://stripe.com/docs/api#payouts). You can find the available balance for each currency and payment type in the `source_types` property.
|
||||
attr_reader :available
|
||||
# Funds held due to negative balances on connected accounts where [account.controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. You can find the connect reserve balance for each currency and payment type in the `source_types` property.
|
||||
|
||||
@ -33,15 +33,6 @@ module Stripe
|
||||
attr_reader :delay_days
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class Payouts < Stripe::RequestParams
|
||||
class Schedule < Stripe::RequestParams
|
||||
|
||||
@ -86,15 +86,6 @@ module Stripe
|
||||
@type = type
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# Gross amount of this transaction (in cents (or local equivalent)). A positive value represents funds charged to another party, and a negative value represents funds sent to another party.
|
||||
attr_reader :amount
|
||||
# The date that the transaction's net funds become available in the Stripe balance.
|
||||
|
||||
@ -107,15 +107,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class ActivateParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
@ -41,57 +41,6 @@ module Stripe
|
||||
# Attribute for field ledger_balance
|
||||
attr_reader :ledger_balance
|
||||
end
|
||||
|
||||
class RetrieveParams < 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
|
||||
|
||||
def initialize(id: nil)
|
||||
@id = id
|
||||
end
|
||||
end
|
||||
# The price type that credit grants can apply to. We currently only support the `metered` price type. Cannot be used in combination with `prices`.
|
||||
attr_accessor :price_type
|
||||
# A list of prices that the credit grant can apply to. We currently only support the `metered` prices. Cannot be used in combination with `price_type`.
|
||||
attr_accessor :prices
|
||||
|
||||
def initialize(price_type: nil, prices: nil)
|
||||
@price_type = price_type
|
||||
@prices = prices
|
||||
end
|
||||
end
|
||||
# The billing credit applicability scope for which to fetch credit balance summary.
|
||||
attr_accessor :applicability_scope
|
||||
# The credit grant for which to fetch credit balance summary.
|
||||
attr_accessor :credit_grant
|
||||
# Specify the type of this filter.
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(applicability_scope: nil, credit_grant: nil, type: nil)
|
||||
@applicability_scope = applicability_scope
|
||||
@credit_grant = credit_grant
|
||||
@type = type
|
||||
end
|
||||
end
|
||||
# The customer for which to fetch credit balance summary.
|
||||
attr_accessor :customer
|
||||
# The account for which to fetch credit balance summary.
|
||||
attr_accessor :customer_account
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
# The filter criteria for the credit balance summary.
|
||||
attr_accessor :filter
|
||||
|
||||
def initialize(customer: nil, customer_account: nil, expand: nil, filter: nil)
|
||||
@customer = customer
|
||||
@customer_account = customer_account
|
||||
@expand = expand
|
||||
@filter = filter
|
||||
end
|
||||
end
|
||||
# The billing credit balances. One entry per credit grant currency. If a customer only has credit grants in a single currency, then this will have a single balance entry.
|
||||
attr_reader :balances
|
||||
# The customer the balance is for.
|
||||
|
||||
@ -102,15 +102,6 @@ module Stripe
|
||||
@starting_after = starting_after
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
||||
attr_reader :created
|
||||
# Credit details for this credit balance transaction. Only present if type is `credit`.
|
||||
|
||||
@ -176,15 +176,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
@ -134,15 +134,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
# The meter’s name. Not visible to the customer.
|
||||
attr_accessor :display_name
|
||||
|
||||
@ -336,15 +336,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class BusinessProfile < Stripe::RequestParams
|
||||
# The messaging shown to customers in the portal.
|
||||
|
||||
@ -97,15 +97,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class MarkDeliveredParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
@ -40,15 +40,6 @@ module Stripe
|
||||
# Per-transaction rate at which Stripe will withhold funds to repay the financing.
|
||||
attr_reader :withhold_rate
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# Additional information about the financing summary. Describes currency, advance amount,
|
||||
# fee amount, withhold rate, remaining amount, paid amount, current repayment interval,
|
||||
# repayment start date, and advance payout date.
|
||||
|
||||
@ -76,15 +76,6 @@ module Stripe
|
||||
@treasury_transaction = treasury_transaction
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# The ID of the merchant associated with this financing transaction.
|
||||
attr_reader :account
|
||||
# Time at which the financing transaction was created. Given in seconds since unix epoch.
|
||||
|
||||
@ -1485,15 +1485,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class FraudDetails < Stripe::RequestParams
|
||||
# Either `safe` or `fraudulent`.
|
||||
|
||||
@ -974,6 +974,12 @@ module Stripe
|
||||
end
|
||||
# Permissions for updating the Checkout Session.
|
||||
attr_reader :update
|
||||
# Determines which entity is allowed to update the line items.
|
||||
#
|
||||
# Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
||||
#
|
||||
# When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
||||
attr_reader :update_line_items
|
||||
# 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.
|
||||
@ -2854,6 +2860,12 @@ module Stripe
|
||||
end
|
||||
# Permissions for updating the Checkout Session.
|
||||
attr_accessor :update
|
||||
# Determines which entity is allowed to update the line items.
|
||||
#
|
||||
# Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
||||
#
|
||||
# When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
||||
attr_accessor :update_line_items
|
||||
# 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.
|
||||
@ -2861,8 +2873,9 @@ module Stripe
|
||||
# When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
|
||||
attr_accessor :update_shipping_details
|
||||
|
||||
def initialize(update: nil, update_shipping_details: nil)
|
||||
def initialize(update: nil, update_line_items: nil, update_shipping_details: nil)
|
||||
@update = update
|
||||
@update_line_items = update_line_items
|
||||
@update_shipping_details = update_shipping_details
|
||||
end
|
||||
end
|
||||
@ -3387,15 +3400,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class CollectedInformation < Stripe::RequestParams
|
||||
class ShippingDetails < Stripe::RequestParams
|
||||
@ -3694,7 +3698,7 @@ module Stripe
|
||||
attr_reader :created
|
||||
# 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).
|
||||
attr_reader :currency
|
||||
# Currency conversion details for [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing) sessions
|
||||
# Currency conversion details for [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing) sessions created before 2025-03-31.
|
||||
attr_reader :currency_conversion
|
||||
# Collect additional information from your customer using custom fields. Up to 3 fields are supported.
|
||||
attr_reader :custom_fields
|
||||
|
||||
@ -106,15 +106,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class Beneficiary < Stripe::RequestParams
|
||||
# Publicly displayable name for the end beneficiary of carbon removal.
|
||||
|
||||
@ -39,15 +39,6 @@ module Stripe
|
||||
@starting_after = starting_after
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
||||
attr_reader :created
|
||||
# Current prices for a metric ton of carbon removal in a currency's smallest unit.
|
||||
|
||||
@ -42,15 +42,6 @@ module Stripe
|
||||
@starting_after = starting_after
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# Unique identifier for the object.
|
||||
attr_reader :id
|
||||
# Link to a webpage to learn more about the supplier.
|
||||
|
||||
@ -862,15 +862,6 @@ module Stripe
|
||||
attr_reader :phone
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class CreateParams < Stripe::RequestParams
|
||||
class PaymentMethodData < Stripe::RequestParams
|
||||
class AcssDebit < Stripe::RequestParams
|
||||
|
||||
@ -53,15 +53,6 @@ module Stripe
|
||||
@starting_after = starting_after
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# The default currency for this country. This applies to both payment methods and bank accounts.
|
||||
attr_reader :default_currency
|
||||
# Unique identifier for the object. Represented as the ISO country code for this country.
|
||||
|
||||
@ -29,15 +29,6 @@ module Stripe
|
||||
class DeleteParams < Stripe::RequestParams
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class CurrencyOptions < Stripe::RequestParams
|
||||
# A positive integer representing the amount to subtract from an invoice total.
|
||||
@ -130,6 +121,8 @@ module Stripe
|
||||
attr_accessor :currency_options
|
||||
# Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.
|
||||
attr_accessor :duration
|
||||
# Required only if `duration` is `repeating`, in which case it must be a positive integer that specifies the number of months the discount will be in effect.
|
||||
attr_accessor :duration_in_months
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
# Unique string of your choice that will be used to identify this coupon when applying it to a customer. If you don't want to specify a particular code, you can leave the ID blank and we'll generate a random code for you.
|
||||
@ -151,6 +144,7 @@ module Stripe
|
||||
currency: nil,
|
||||
currency_options: nil,
|
||||
duration: nil,
|
||||
duration_in_months: nil,
|
||||
expand: nil,
|
||||
id: nil,
|
||||
max_redemptions: nil,
|
||||
@ -164,6 +158,7 @@ module Stripe
|
||||
@currency = currency
|
||||
@currency_options = currency_options
|
||||
@duration = duration
|
||||
@duration_in_months = duration_in_months
|
||||
@expand = expand
|
||||
@id = id
|
||||
@max_redemptions = max_redemptions
|
||||
|
||||
@ -280,15 +280,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
@ -108,15 +108,6 @@ module Stripe
|
||||
class DeleteParams < Stripe::RequestParams
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class Address < Stripe::RequestParams
|
||||
# City, district, suburb, town, or village.
|
||||
@ -764,6 +755,15 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class FundCashBalanceParams < Stripe::RequestParams
|
||||
# Amount to be used for this test cash balance transaction. A positive integer representing how much to fund in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to fund $1.00 or 100 to fund ¥100, a zero-decimal currency).
|
||||
attr_accessor :amount
|
||||
|
||||
@ -277,15 +277,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class Evidence < Stripe::RequestParams
|
||||
class EnhancedEvidence < Stripe::RequestParams
|
||||
|
||||
@ -38,15 +38,6 @@ module Stripe
|
||||
@starting_after = starting_after
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# The [Feature](https://stripe.com/docs/api/entitlements/feature) that the customer is entitled to.
|
||||
attr_reader :feature
|
||||
# Unique identifier for the object.
|
||||
|
||||
@ -64,15 +64,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
# Inactive features cannot be attached to new products and will not be returned from the features list endpoint.
|
||||
attr_accessor :active
|
||||
|
||||
@ -138,15 +138,6 @@ module Stripe
|
||||
@types = types
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# The connected account that originates the event.
|
||||
attr_reader :account
|
||||
# The Stripe API version used to render `data`. This property is populated only for events on or after October 31, 2014.
|
||||
|
||||
@ -53,15 +53,6 @@ module Stripe
|
||||
@starting_after = starting_after
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# Unique identifier for the object. Represented as the three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) in lowercase.
|
||||
attr_reader :id
|
||||
# String representing the object's type. Objects of the same type share the same value.
|
||||
|
||||
@ -97,15 +97,6 @@ module Stripe
|
||||
@purpose = purpose
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
||||
attr_reader :created
|
||||
# The file expires and isn't available at this time in epoch seconds.
|
||||
|
||||
@ -85,15 +85,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
@ -143,15 +143,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class ListOwnersParams < 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
|
||||
|
||||
@ -59,15 +59,6 @@ module Stripe
|
||||
@starting_after = starting_after
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# Attribute for field features
|
||||
attr_reader :features
|
||||
# Unique identifier for the object.
|
||||
|
||||
@ -48,15 +48,6 @@ module Stripe
|
||||
attr_reader :cancelled
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class CreateParams < Stripe::RequestParams
|
||||
class AccountHolder < Stripe::RequestParams
|
||||
# The ID of the Stripe account whose accounts will be retrieved. Should only be present if `type` is `account`.
|
||||
|
||||
@ -79,15 +79,6 @@ module Stripe
|
||||
@transaction_refresh = transaction_refresh
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# The ID of the Financial Connections Account this transaction belongs to.
|
||||
attr_reader :account
|
||||
# The amount of this transaction, in cents (or local equivalent).
|
||||
|
||||
@ -161,15 +161,6 @@ module Stripe
|
||||
@url = url
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
||||
attr_reader :created
|
||||
# Unique identifier for the object.
|
||||
|
||||
@ -112,15 +112,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
# The new active state for the gift card.
|
||||
attr_accessor :active
|
||||
|
||||
@ -141,15 +141,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
# An arbitrary string attached to the object. Often useful for displaying to users.
|
||||
attr_accessor :description
|
||||
|
||||
@ -250,15 +250,6 @@ module Stripe
|
||||
@verification_session = verification_session
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.
|
||||
attr_reader :client_reference_id
|
||||
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
||||
|
||||
@ -267,15 +267,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class Options < Stripe::RequestParams
|
||||
class Document < Stripe::RequestParams
|
||||
|
||||
@ -500,15 +500,6 @@ module Stripe
|
||||
class DeleteParams < Stripe::RequestParams
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class AmountsDue < Stripe::RequestParams
|
||||
# The amount in cents (or local equivalent).
|
||||
@ -4287,7 +4278,7 @@ module Stripe
|
||||
attr_reader :object
|
||||
# The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account. See the [Invoices with Connect](https://stripe.com/docs/billing/invoices/connect) documentation for details.
|
||||
attr_reader :on_behalf_of
|
||||
# Attribute for field parent
|
||||
# The parent that generated this invoice
|
||||
attr_reader :parent
|
||||
# Attribute for field payment_settings
|
||||
attr_reader :payment_settings
|
||||
|
||||
@ -62,15 +62,6 @@ module Stripe
|
||||
class DeleteParams < Stripe::RequestParams
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class Discount < Stripe::RequestParams
|
||||
class DiscountEnd < Stripe::RequestParams
|
||||
@ -492,7 +483,7 @@ module Stripe
|
||||
attr_reader :metadata
|
||||
# String representing the object's type. Objects of the same type share the same value.
|
||||
attr_reader :object
|
||||
# Attribute for field parent
|
||||
# The parent that generated this invoice
|
||||
attr_reader :parent
|
||||
# Attribute for field period
|
||||
attr_reader :period
|
||||
|
||||
@ -400,7 +400,7 @@ module Stripe
|
||||
attr_reader :metadata
|
||||
# String representing the object's type. Objects of the same type share the same value.
|
||||
attr_reader :object
|
||||
# Attribute for field parent
|
||||
# The parent that generated this invoice
|
||||
attr_reader :parent
|
||||
# Attribute for field period
|
||||
attr_reader :period
|
||||
|
||||
@ -33,18 +33,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
# Attribute for param field version
|
||||
attr_accessor :version
|
||||
|
||||
def initialize(expand: nil, version: nil)
|
||||
@expand = expand
|
||||
@version = version
|
||||
end
|
||||
end
|
||||
|
||||
class ArchiveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
@ -280,15 +280,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
@ -401,15 +401,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class Pin < Stripe::RequestParams
|
||||
# The card's desired new PIN, encrypted under Stripe's public key.
|
||||
|
||||
@ -408,15 +408,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class Billing < Stripe::RequestParams
|
||||
class Address < Stripe::RequestParams
|
||||
|
||||
@ -99,15 +99,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class CorrectParams < Stripe::RequestParams
|
||||
class Application < Stripe::RequestParams
|
||||
# The channel through which the applicant has submitted their application. Defaults to `online`.
|
||||
|
||||
@ -490,15 +490,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class Evidence < Stripe::RequestParams
|
||||
class Canceled < Stripe::RequestParams
|
||||
|
||||
@ -43,15 +43,6 @@ module Stripe
|
||||
@starting_after = starting_after
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# Disputed amount in the card’s currency and in the smallest currency unit. Usually the amount of the transaction, but can differ (usually because of currency fluctuation).
|
||||
attr_reader :amount
|
||||
# The card used to make the original transaction.
|
||||
|
||||
@ -55,15 +55,6 @@ module Stripe
|
||||
@starting_after = starting_after
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# Debited amount. This is equal to the disputed amount and is given in the card’s currency and in the smallest currency unit.
|
||||
attr_reader :amount
|
||||
# ID of the [balance transaction](https://stripe.com/docs/api/balance_transactions) associated with this debit.
|
||||
|
||||
@ -154,15 +154,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class CarrierText < Stripe::RequestParams
|
||||
# The footer body text of the carrier letter.
|
||||
|
||||
@ -51,15 +51,6 @@ module Stripe
|
||||
@type = type
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# Attribute for field features
|
||||
attr_reader :features
|
||||
# Unique identifier for the object.
|
||||
|
||||
@ -143,15 +143,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
@ -245,15 +245,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
@ -152,15 +152,6 @@ module Stripe
|
||||
# The currency of the payment on a single use mandate.
|
||||
attr_reader :currency
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# Attribute for field customer_acceptance
|
||||
attr_reader :customer_acceptance
|
||||
# Unique identifier for the object.
|
||||
|
||||
@ -56,15 +56,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
# Whether the margin can be applied to invoices, invoice items, or invoice line items or not.
|
||||
attr_accessor :active
|
||||
|
||||
@ -1590,15 +1590,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class AutomaticTax < Stripe::RequestParams
|
||||
# Enable automatic tax calculation which will automatically compute tax rates on this order.
|
||||
|
||||
@ -1030,15 +1030,6 @@ module Stripe
|
||||
@payment_record = payment_record
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# A representation of an amount of money, consisting of an amount and a currency.
|
||||
attr_reader :amount_canceled
|
||||
# A representation of an amount of money, consisting of an amount and a currency.
|
||||
|
||||
@ -1009,6 +1009,8 @@ module Stripe
|
||||
attr_reader :setup_future_usage
|
||||
end
|
||||
|
||||
class Billie < Stripe::StripeObject; end
|
||||
|
||||
class Blik < Stripe::StripeObject
|
||||
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
||||
#
|
||||
@ -1762,6 +1764,8 @@ module Stripe
|
||||
attr_reader :bacs_debit
|
||||
# Attribute for field bancontact
|
||||
attr_reader :bancontact
|
||||
# Attribute for field billie
|
||||
attr_reader :billie
|
||||
# Attribute for field blik
|
||||
attr_reader :blik
|
||||
# Attribute for field boleto
|
||||
@ -3613,6 +3617,19 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Billie < Stripe::RequestParams
|
||||
# Controls when the funds are captured from the customer's account.
|
||||
#
|
||||
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
||||
#
|
||||
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
||||
attr_accessor :capture_method
|
||||
|
||||
def initialize(capture_method: nil)
|
||||
@capture_method = capture_method
|
||||
end
|
||||
end
|
||||
|
||||
class Blik < Stripe::RequestParams
|
||||
# The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation.
|
||||
attr_accessor :code
|
||||
@ -5001,6 +5018,8 @@ module Stripe
|
||||
attr_accessor :bacs_debit
|
||||
# If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
|
||||
attr_accessor :bancontact
|
||||
# If this is a `billie` PaymentMethod, this sub-hash contains details about the Billie payment method options.
|
||||
attr_accessor :billie
|
||||
# If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options.
|
||||
attr_accessor :blik
|
||||
# If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options.
|
||||
@ -5104,6 +5123,7 @@ module Stripe
|
||||
au_becs_debit: nil,
|
||||
bacs_debit: nil,
|
||||
bancontact: nil,
|
||||
billie: nil,
|
||||
blik: nil,
|
||||
boleto: nil,
|
||||
card: nil,
|
||||
@ -5160,6 +5180,7 @@ module Stripe
|
||||
@au_becs_debit = au_becs_debit
|
||||
@bacs_debit = bacs_debit
|
||||
@bancontact = bancontact
|
||||
@billie = billie
|
||||
@blik = blik
|
||||
@boleto = boleto
|
||||
@card = card
|
||||
@ -5462,18 +5483,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# The client secret of the PaymentIntent. We require it if you use a publishable key to retrieve the source.
|
||||
attr_accessor :client_secret
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(client_secret: nil, expand: nil)
|
||||
@client_secret = client_secret
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class AsyncWorkflows < Stripe::RequestParams
|
||||
class Inputs < Stripe::RequestParams
|
||||
@ -7096,6 +7105,19 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Billie < Stripe::RequestParams
|
||||
# Controls when the funds are captured from the customer's account.
|
||||
#
|
||||
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
||||
#
|
||||
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
||||
attr_accessor :capture_method
|
||||
|
||||
def initialize(capture_method: nil)
|
||||
@capture_method = capture_method
|
||||
end
|
||||
end
|
||||
|
||||
class Blik < Stripe::RequestParams
|
||||
# The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation.
|
||||
attr_accessor :code
|
||||
@ -8484,6 +8506,8 @@ module Stripe
|
||||
attr_accessor :bacs_debit
|
||||
# If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
|
||||
attr_accessor :bancontact
|
||||
# If this is a `billie` PaymentMethod, this sub-hash contains details about the Billie payment method options.
|
||||
attr_accessor :billie
|
||||
# If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options.
|
||||
attr_accessor :blik
|
||||
# If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options.
|
||||
@ -8587,6 +8611,7 @@ module Stripe
|
||||
au_becs_debit: nil,
|
||||
bacs_debit: nil,
|
||||
bancontact: nil,
|
||||
billie: nil,
|
||||
blik: nil,
|
||||
boleto: nil,
|
||||
card: nil,
|
||||
@ -8643,6 +8668,7 @@ module Stripe
|
||||
@au_becs_debit = au_becs_debit
|
||||
@bacs_debit = bacs_debit
|
||||
@bancontact = bancontact
|
||||
@billie = billie
|
||||
@blik = blik
|
||||
@boleto = boleto
|
||||
@card = card
|
||||
@ -11299,6 +11325,19 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Billie < Stripe::RequestParams
|
||||
# Controls when the funds are captured from the customer's account.
|
||||
#
|
||||
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
||||
#
|
||||
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
||||
attr_accessor :capture_method
|
||||
|
||||
def initialize(capture_method: nil)
|
||||
@capture_method = capture_method
|
||||
end
|
||||
end
|
||||
|
||||
class Blik < Stripe::RequestParams
|
||||
# The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation.
|
||||
attr_accessor :code
|
||||
@ -12687,6 +12726,8 @@ module Stripe
|
||||
attr_accessor :bacs_debit
|
||||
# If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
|
||||
attr_accessor :bancontact
|
||||
# If this is a `billie` PaymentMethod, this sub-hash contains details about the Billie payment method options.
|
||||
attr_accessor :billie
|
||||
# If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options.
|
||||
attr_accessor :blik
|
||||
# If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options.
|
||||
@ -12790,6 +12831,7 @@ module Stripe
|
||||
au_becs_debit: nil,
|
||||
bacs_debit: nil,
|
||||
bancontact: nil,
|
||||
billie: nil,
|
||||
blik: nil,
|
||||
boleto: nil,
|
||||
card: nil,
|
||||
@ -12846,6 +12888,7 @@ module Stripe
|
||||
@au_becs_debit = au_becs_debit
|
||||
@bacs_debit = bacs_debit
|
||||
@bancontact = bancontact
|
||||
@billie = billie
|
||||
@blik = blik
|
||||
@boleto = boleto
|
||||
@card = card
|
||||
|
||||
@ -1006,15 +1006,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class AfterCompletion < Stripe::RequestParams
|
||||
class HostedConfirmation < Stripe::RequestParams
|
||||
|
||||
@ -1448,15 +1448,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class BillingDetails < Stripe::RequestParams
|
||||
class Address < Stripe::RequestParams
|
||||
|
||||
@ -1892,15 +1892,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class AcssDebit < Stripe::RequestParams
|
||||
class DisplayPreference < Stripe::RequestParams
|
||||
|
||||
@ -117,15 +117,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
# Whether this payment method domain is enabled. If the domain is not enabled, payment methods that require a payment method domain will not appear in Elements or Embedded Checkout.
|
||||
attr_accessor :enabled
|
||||
|
||||
@ -1017,15 +1017,6 @@ module Stripe
|
||||
attr_reader :phone
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class ReportPaymentAttemptParams < Stripe::RequestParams
|
||||
class Failed < Stripe::RequestParams
|
||||
# When the reported payment failed. Measured in seconds since the Unix epoch.
|
||||
|
||||
@ -148,15 +148,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
@ -44,15 +44,6 @@ module Stripe
|
||||
class DeleteParams < Stripe::RequestParams
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
# Whether the plan is currently available for new subscriptions.
|
||||
attr_accessor :active
|
||||
|
||||
@ -461,15 +461,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class CurrencyOptions < Stripe::RequestParams
|
||||
class CustomUnitAmount < Stripe::RequestParams
|
||||
|
||||
@ -63,15 +63,6 @@ module Stripe
|
||||
class DeleteParams < Stripe::RequestParams
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class MarketingFeature < Stripe::RequestParams
|
||||
# The marketing feature name. Up to 80 characters long.
|
||||
|
||||
@ -172,15 +172,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class Restrictions < Stripe::RequestParams
|
||||
class CurrencyOptions < Stripe::RequestParams
|
||||
|
||||
@ -1576,15 +1576,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class AutomaticTax < Stripe::RequestParams
|
||||
class Liability < Stripe::RequestParams
|
||||
|
||||
@ -605,7 +605,7 @@ module Stripe
|
||||
attr_reader :object
|
||||
# The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account. See the [Invoices with Connect](https://stripe.com/docs/billing/invoices/connect) documentation for details.
|
||||
attr_reader :on_behalf_of
|
||||
# Attribute for field parent
|
||||
# The parent that generated this invoice
|
||||
attr_reader :parent
|
||||
# Attribute for field payment_settings
|
||||
attr_reader :payment_settings
|
||||
|
||||
@ -66,15 +66,6 @@ module Stripe
|
||||
@starting_after = starting_after
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# An EFW is actionable if it has not received a dispute and has not been fully refunded. You may wish to proactively refund a charge that receives an EFW, in order to avoid receiving a dispute later.
|
||||
attr_reader :actionable
|
||||
# ID of the charge this early fraud warning is for, optionally expanded.
|
||||
|
||||
@ -20,15 +20,6 @@ module Stripe
|
||||
class DeleteParams < Stripe::RequestParams
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
# The name of the value list for use in rules.
|
||||
attr_accessor :alias
|
||||
|
||||
@ -19,15 +19,6 @@ module Stripe
|
||||
class DeleteParams < Stripe::RequestParams
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class ListParams < Stripe::RequestParams
|
||||
class Created < Stripe::RequestParams
|
||||
# Minimum value to filter by (exclusive)
|
||||
|
||||
@ -346,15 +346,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
@ -135,15 +135,6 @@ module Stripe
|
||||
@report_type = report_type
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
||||
attr_reader :created
|
||||
# If something should go wrong during the run, a message about the failure (populated when
|
||||
|
||||
@ -27,15 +27,6 @@ module Stripe
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# Most recent time for which this Report Type is available. Measured in seconds since the Unix epoch.
|
||||
attr_reader :data_available_end
|
||||
# Earliest time for which this Report Type is available. Measured in seconds since the Unix epoch.
|
||||
|
||||
@ -76,15 +76,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class ApproveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
@ -1660,18 +1660,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# The client secret of the SetupIntent. We require this string if you use a publishable key to retrieve the SetupIntent.
|
||||
attr_accessor :client_secret
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(client_secret: nil, expand: nil)
|
||||
@client_secret = client_secret
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class PaymentMethodData < Stripe::RequestParams
|
||||
class AcssDebit < Stripe::RequestParams
|
||||
|
||||
@ -200,15 +200,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class FixedAmount < Stripe::RequestParams
|
||||
class CurrencyOptions < Stripe::RequestParams
|
||||
|
||||
@ -37,15 +37,6 @@ module Stripe
|
||||
@starting_after = starting_after
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
||||
attr_reader :created
|
||||
# When the query was run, Sigma contained a snapshot of your Stripe data at this time.
|
||||
|
||||
@ -591,18 +591,6 @@ module Stripe
|
||||
attr_reader :statement_descriptor
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# The client secret of the source. Required if a publishable key is used to retrieve the source.
|
||||
attr_accessor :client_secret
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(client_secret: nil, expand: nil)
|
||||
@client_secret = client_secret
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class Mandate < Stripe::RequestParams
|
||||
class Acceptance < Stripe::RequestParams
|
||||
|
||||
@ -267,15 +267,6 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class RetrieveParams < Stripe::RequestParams
|
||||
# Specifies which fields in the response should be expanded.
|
||||
attr_accessor :expand
|
||||
|
||||
def initialize(expand: nil)
|
||||
@expand = expand
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateParams < Stripe::RequestParams
|
||||
class AddInvoiceItem < Stripe::RequestParams
|
||||
class Discount < Stripe::RequestParams
|
||||
|
||||
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