Merge pull request #1558 from stripe/latest-codegen-beta

Update generated code for beta
This commit is contained in:
stripe-openapi[bot] 2025-03-31 15:35:16 -07:00 committed by GitHub
commit 828dda2b36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
467 changed files with 53103 additions and 41904 deletions

View File

@ -1 +1 @@
v1629 v1642

View File

@ -7,7 +7,26 @@ module Stripe
# The beginning of the section generated from our OpenAPI spec # The beginning of the section generated from our OpenAPI spec
V1BillingMeterErrorReportTriggeredEvent.lookup_type => V1BillingMeterErrorReportTriggeredEvent, V1BillingMeterErrorReportTriggeredEvent.lookup_type => V1BillingMeterErrorReportTriggeredEvent,
V1BillingMeterNoMeterFoundEvent.lookup_type => V1BillingMeterNoMeterFoundEvent, 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, V2CoreAccountLinkCompletedEvent.lookup_type => V2CoreAccountLinkCompletedEvent,
V2CoreAccountPersonCreatedEvent.lookup_type => V2CoreAccountPersonCreatedEvent,
V2CoreAccountPersonDeletedEvent.lookup_type => V2CoreAccountPersonDeletedEvent,
V2CoreAccountPersonUpdatedEvent.lookup_type => V2CoreAccountPersonUpdatedEvent,
V2MoneyManagementFinancialAccountCreatedEvent.lookup_type => V2MoneyManagementFinancialAccountCreatedEvent.lookup_type =>
V2MoneyManagementFinancialAccountCreatedEvent, V2MoneyManagementFinancialAccountCreatedEvent,
V2MoneyManagementFinancialAddressActivatedEvent.lookup_type => V2MoneyManagementFinancialAddressActivatedEvent.lookup_type =>

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View 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

View 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

View 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

View File

@ -190,7 +190,18 @@ require "stripe/resources/v2/money_management/transaction_entry"
require "stripe/resources/webhook_endpoint" require "stripe/resources/webhook_endpoint"
require "stripe/events/v1_billing_meter_error_report_triggered_event" require "stripe/events/v1_billing_meter_error_report_triggered_event"
require "stripe/events/v1_billing_meter_no_meter_found_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_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_account_created_event"
require "stripe/events/v2_money_management_financial_address_activated_event" require "stripe/events/v2_money_management_financial_address_activated_event"
require "stripe/events/v2_money_management_financial_address_failed_event" require "stripe/events/v2_money_management_financial_address_failed_event"

View File

@ -170,6 +170,8 @@ module Stripe
attr_reader :mx_bank_transfer_payments attr_reader :mx_bank_transfer_payments
# The status of the NaverPay capability of the account, or whether the account can directly process NaverPay payments. # The status of the NaverPay capability of the account, or whether the account can directly process NaverPay payments.
attr_reader :naver_pay_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. # The status of the OXXO payments capability of the account, or whether the account can directly process OXXO charges.
attr_reader :oxxo_payments attr_reader :oxxo_payments
# The status of the P24 payments capability of the account, or whether the account can directly process P24 charges. # 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 class DeleteParams < Stripe::RequestParams
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 UpdateParams < Stripe::RequestParams
class BankAccount < Stripe::RequestParams class BankAccount < Stripe::RequestParams
# Attribute for param field object # Attribute for param field object
@ -1181,6 +1174,15 @@ module Stripe
end end
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 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. # 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 attr_accessor :requested
@ -1530,6 +1532,8 @@ module Stripe
attr_accessor :mx_bank_transfer_payments attr_accessor :mx_bank_transfer_payments
# The naver_pay_payments capability. # The naver_pay_payments capability.
attr_accessor :naver_pay_payments 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. # The oxxo_payments capability.
attr_accessor :oxxo_payments attr_accessor :oxxo_payments
# The p24_payments capability. # The p24_payments capability.
@ -1632,6 +1636,7 @@ module Stripe
multibanco_payments: nil, multibanco_payments: nil,
mx_bank_transfer_payments: nil, mx_bank_transfer_payments: nil,
naver_pay_payments: nil, naver_pay_payments: nil,
nz_bank_account_becs_debit_payments: nil,
oxxo_payments: nil, oxxo_payments: nil,
p24_payments: nil, p24_payments: nil,
pay_by_bank_payments: nil, pay_by_bank_payments: nil,
@ -1703,6 +1708,7 @@ module Stripe
@multibanco_payments = multibanco_payments @multibanco_payments = multibanco_payments
@mx_bank_transfer_payments = mx_bank_transfer_payments @mx_bank_transfer_payments = mx_bank_transfer_payments
@naver_pay_payments = naver_pay_payments @naver_pay_payments = naver_pay_payments
@nz_bank_account_becs_debit_payments = nz_bank_account_becs_debit_payments
@oxxo_payments = oxxo_payments @oxxo_payments = oxxo_payments
@p24_payments = p24_payments @p24_payments = p24_payments
@pay_by_bank_payments = pay_by_bank_payments @pay_by_bank_payments = pay_by_bank_payments
@ -3406,6 +3412,15 @@ module Stripe
end end
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 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. # 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 attr_accessor :requested
@ -3755,6 +3770,8 @@ module Stripe
attr_accessor :mx_bank_transfer_payments attr_accessor :mx_bank_transfer_payments
# The naver_pay_payments capability. # The naver_pay_payments capability.
attr_accessor :naver_pay_payments 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. # The oxxo_payments capability.
attr_accessor :oxxo_payments attr_accessor :oxxo_payments
# The p24_payments capability. # The p24_payments capability.
@ -3857,6 +3874,7 @@ module Stripe
multibanco_payments: nil, multibanco_payments: nil,
mx_bank_transfer_payments: nil, mx_bank_transfer_payments: nil,
naver_pay_payments: nil, naver_pay_payments: nil,
nz_bank_account_becs_debit_payments: nil,
oxxo_payments: nil, oxxo_payments: nil,
p24_payments: nil, p24_payments: nil,
pay_by_bank_payments: nil, pay_by_bank_payments: nil,
@ -3928,6 +3946,7 @@ module Stripe
@multibanco_payments = multibanco_payments @multibanco_payments = multibanco_payments
@mx_bank_transfer_payments = mx_bank_transfer_payments @mx_bank_transfer_payments = mx_bank_transfer_payments
@naver_pay_payments = naver_pay_payments @naver_pay_payments = naver_pay_payments
@nz_bank_account_becs_debit_payments = nz_bank_account_becs_debit_payments
@oxxo_payments = oxxo_payments @oxxo_payments = oxxo_payments
@p24_payments = p24_payments @p24_payments = p24_payments
@pay_by_bank_payments = pay_by_bank_payments @pay_by_bank_payments = pay_by_bank_payments

View File

@ -53,15 +53,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
class Email < 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. # Content of the email in plain text. The copy must match exactly the language that Stripe Compliance has approved for use.

View File

@ -16,15 +16,6 @@ module Stripe
class DeleteParams < Stripe::RequestParams class DeleteParams < Stripe::RequestParams
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 ListParams < Stripe::RequestParams class ListParams < Stripe::RequestParams
# Attribute for param field domain_name # Attribute for param field domain_name
attr_accessor :domain_name attr_accessor :domain_name

View File

@ -69,15 +69,6 @@ module Stripe
@starting_after = starting_after @starting_after = starting_after
end end
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. # ID of the Stripe account this fee was taken from.
attr_reader :account attr_reader :account
# Amount earned, in cents (or local equivalent). # Amount earned, in cents (or local equivalent).

View File

@ -126,15 +126,6 @@ module Stripe
# Attribute for field source_types # Attribute for field source_types
attr_reader :source_types attr_reader :source_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
# 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. # 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 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. # 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.

View File

@ -33,15 +33,6 @@ module Stripe
attr_reader :delay_days attr_reader :delay_days
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 UpdateParams < Stripe::RequestParams
class Payouts < Stripe::RequestParams class Payouts < Stripe::RequestParams
class Schedule < Stripe::RequestParams class Schedule < Stripe::RequestParams

View File

@ -86,15 +86,6 @@ module Stripe
@type = type @type = type
end end
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. # 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 attr_reader :amount
# The date that the transaction's net funds become available in the Stripe balance. # The date that the transaction's net funds become available in the Stripe balance.

View File

@ -107,15 +107,6 @@ module Stripe
end end
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 class ActivateParams < Stripe::RequestParams
# Specifies which fields in the response should be expanded. # Specifies which fields in the response should be expanded.
attr_accessor :expand attr_accessor :expand

View File

@ -41,57 +41,6 @@ module Stripe
# Attribute for field ledger_balance # Attribute for field ledger_balance
attr_reader :ledger_balance attr_reader :ledger_balance
end 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. # 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 attr_reader :balances
# The customer the balance is for. # The customer the balance is for.

View File

@ -102,15 +102,6 @@ module Stripe
@starting_after = starting_after @starting_after = starting_after
end end
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. # Time at which the object was created. Measured in seconds since the Unix epoch.
attr_reader :created attr_reader :created
# Credit details for this credit balance transaction. Only present if type is `credit`. # Credit details for this credit balance transaction. Only present if type is `credit`.

View File

@ -176,15 +176,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
# Specifies which fields in the response should be expanded. # Specifies which fields in the response should be expanded.
attr_accessor :expand attr_accessor :expand

View File

@ -134,15 +134,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
# The meters name. Not visible to the customer. # The meters name. Not visible to the customer.
attr_accessor :display_name attr_accessor :display_name

View File

@ -336,15 +336,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
class BusinessProfile < Stripe::RequestParams class BusinessProfile < Stripe::RequestParams
# The messaging shown to customers in the portal. # The messaging shown to customers in the portal.

View File

@ -97,15 +97,6 @@ module Stripe
end end
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 class MarkDeliveredParams < Stripe::RequestParams
# Specifies which fields in the response should be expanded. # Specifies which fields in the response should be expanded.
attr_accessor :expand attr_accessor :expand

View File

@ -40,15 +40,6 @@ module Stripe
# Per-transaction rate at which Stripe will withhold funds to repay the financing. # Per-transaction rate at which Stripe will withhold funds to repay the financing.
attr_reader :withhold_rate attr_reader :withhold_rate
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
# Additional information about the financing summary. Describes currency, advance amount, # Additional information about the financing summary. Describes currency, advance amount,
# fee amount, withhold rate, remaining amount, paid amount, current repayment interval, # fee amount, withhold rate, remaining amount, paid amount, current repayment interval,
# repayment start date, and advance payout date. # repayment start date, and advance payout date.

View File

@ -76,15 +76,6 @@ module Stripe
@treasury_transaction = treasury_transaction @treasury_transaction = treasury_transaction
end end
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. # The ID of the merchant associated with this financing transaction.
attr_reader :account attr_reader :account
# Time at which the financing transaction was created. Given in seconds since unix epoch. # Time at which the financing transaction was created. Given in seconds since unix epoch.

View File

@ -1485,15 +1485,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
class FraudDetails < Stripe::RequestParams class FraudDetails < Stripe::RequestParams
# Either `safe` or `fraudulent`. # Either `safe` or `fraudulent`.

View File

@ -974,6 +974,12 @@ module Stripe
end end
# Permissions for updating the Checkout Session. # Permissions for updating the Checkout Session.
attr_reader :update 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. # 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. # 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 end
# Permissions for updating the Checkout Session. # Permissions for updating the Checkout Session.
attr_accessor :update 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. # 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. # 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. # 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 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 = update
@update_line_items = update_line_items
@update_shipping_details = update_shipping_details @update_shipping_details = update_shipping_details
end end
end end
@ -3387,15 +3400,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
class CollectedInformation < Stripe::RequestParams class CollectedInformation < Stripe::RequestParams
class ShippingDetails < Stripe::RequestParams class ShippingDetails < Stripe::RequestParams
@ -3694,7 +3698,7 @@ module Stripe
attr_reader :created 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). # 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 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 attr_reader :currency_conversion
# Collect additional information from your customer using custom fields. Up to 3 fields are supported. # Collect additional information from your customer using custom fields. Up to 3 fields are supported.
attr_reader :custom_fields attr_reader :custom_fields

View File

@ -106,15 +106,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
class Beneficiary < Stripe::RequestParams class Beneficiary < Stripe::RequestParams
# Publicly displayable name for the end beneficiary of carbon removal. # Publicly displayable name for the end beneficiary of carbon removal.

View File

@ -39,15 +39,6 @@ module Stripe
@starting_after = starting_after @starting_after = starting_after
end end
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. # Time at which the object was created. Measured in seconds since the Unix epoch.
attr_reader :created attr_reader :created
# Current prices for a metric ton of carbon removal in a currency's smallest unit. # Current prices for a metric ton of carbon removal in a currency's smallest unit.

View File

@ -42,15 +42,6 @@ module Stripe
@starting_after = starting_after @starting_after = starting_after
end end
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. # Unique identifier for the object.
attr_reader :id attr_reader :id
# Link to a webpage to learn more about the supplier. # Link to a webpage to learn more about the supplier.

View File

@ -862,15 +862,6 @@ module Stripe
attr_reader :phone attr_reader :phone
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 CreateParams < Stripe::RequestParams class CreateParams < Stripe::RequestParams
class PaymentMethodData < Stripe::RequestParams class PaymentMethodData < Stripe::RequestParams
class AcssDebit < Stripe::RequestParams class AcssDebit < Stripe::RequestParams

View File

@ -53,15 +53,6 @@ module Stripe
@starting_after = starting_after @starting_after = starting_after
end end
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. # The default currency for this country. This applies to both payment methods and bank accounts.
attr_reader :default_currency attr_reader :default_currency
# Unique identifier for the object. Represented as the ISO country code for this country. # Unique identifier for the object. Represented as the ISO country code for this country.

View File

@ -29,15 +29,6 @@ module Stripe
class DeleteParams < Stripe::RequestParams class DeleteParams < Stripe::RequestParams
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 UpdateParams < Stripe::RequestParams
class CurrencyOptions < Stripe::RequestParams class CurrencyOptions < Stripe::RequestParams
# A positive integer representing the amount to subtract from an invoice total. # A positive integer representing the amount to subtract from an invoice total.
@ -130,6 +121,8 @@ module Stripe
attr_accessor :currency_options attr_accessor :currency_options
# Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`. # Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.
attr_accessor :duration 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. # Specifies which fields in the response should be expanded.
attr_accessor :expand 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. # 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: nil,
currency_options: nil, currency_options: nil,
duration: nil, duration: nil,
duration_in_months: nil,
expand: nil, expand: nil,
id: nil, id: nil,
max_redemptions: nil, max_redemptions: nil,
@ -164,6 +158,7 @@ module Stripe
@currency = currency @currency = currency
@currency_options = currency_options @currency_options = currency_options
@duration = duration @duration = duration
@duration_in_months = duration_in_months
@expand = expand @expand = expand
@id = id @id = id
@max_redemptions = max_redemptions @max_redemptions = max_redemptions

View File

@ -280,15 +280,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
# Specifies which fields in the response should be expanded. # Specifies which fields in the response should be expanded.
attr_accessor :expand attr_accessor :expand

View File

@ -108,15 +108,6 @@ module Stripe
class DeleteParams < Stripe::RequestParams class DeleteParams < Stripe::RequestParams
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 UpdateParams < Stripe::RequestParams
class Address < Stripe::RequestParams class Address < Stripe::RequestParams
# City, district, suburb, town, or village. # City, district, suburb, town, or village.
@ -764,6 +755,15 @@ module Stripe
end end
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 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). # 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 attr_accessor :amount

View File

@ -277,15 +277,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
class Evidence < Stripe::RequestParams class Evidence < Stripe::RequestParams
class EnhancedEvidence < Stripe::RequestParams class EnhancedEvidence < Stripe::RequestParams

View File

@ -38,15 +38,6 @@ module Stripe
@starting_after = starting_after @starting_after = starting_after
end end
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. # The [Feature](https://stripe.com/docs/api/entitlements/feature) that the customer is entitled to.
attr_reader :feature attr_reader :feature
# Unique identifier for the object. # Unique identifier for the object.

View File

@ -64,15 +64,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
# Inactive features cannot be attached to new products and will not be returned from the features list endpoint. # Inactive features cannot be attached to new products and will not be returned from the features list endpoint.
attr_accessor :active attr_accessor :active

View File

@ -138,15 +138,6 @@ module Stripe
@types = types @types = types
end end
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. # The connected account that originates the event.
attr_reader :account attr_reader :account
# The Stripe API version used to render `data`. This property is populated only for events on or after October 31, 2014. # The Stripe API version used to render `data`. This property is populated only for events on or after October 31, 2014.

View File

@ -53,15 +53,6 @@ module Stripe
@starting_after = starting_after @starting_after = starting_after
end end
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. # 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 attr_reader :id
# String representing the object's type. Objects of the same type share the same value. # String representing the object's type. Objects of the same type share the same value.

View File

@ -97,15 +97,6 @@ module Stripe
@purpose = purpose @purpose = purpose
end end
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. # Time at which the object was created. Measured in seconds since the Unix epoch.
attr_reader :created attr_reader :created
# The file expires and isn't available at this time in epoch seconds. # The file expires and isn't available at this time in epoch seconds.

View File

@ -85,15 +85,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
# Specifies which fields in the response should be expanded. # Specifies which fields in the response should be expanded.
attr_accessor :expand attr_accessor :expand

View File

@ -143,15 +143,6 @@ module Stripe
end end
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 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. # 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 attr_accessor :ending_before

View File

@ -59,15 +59,6 @@ module Stripe
@starting_after = starting_after @starting_after = starting_after
end end
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 # Attribute for field features
attr_reader :features attr_reader :features
# Unique identifier for the object. # Unique identifier for the object.

View File

@ -48,15 +48,6 @@ module Stripe
attr_reader :cancelled attr_reader :cancelled
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 CreateParams < Stripe::RequestParams class CreateParams < Stripe::RequestParams
class AccountHolder < 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`. # The ID of the Stripe account whose accounts will be retrieved. Should only be present if `type` is `account`.

View File

@ -79,15 +79,6 @@ module Stripe
@transaction_refresh = transaction_refresh @transaction_refresh = transaction_refresh
end end
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. # The ID of the Financial Connections Account this transaction belongs to.
attr_reader :account attr_reader :account
# The amount of this transaction, in cents (or local equivalent). # The amount of this transaction, in cents (or local equivalent).

View File

@ -161,15 +161,6 @@ module Stripe
@url = url @url = url
end end
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. # Time at which the object was created. Measured in seconds since the Unix epoch.
attr_reader :created attr_reader :created
# Unique identifier for the object. # Unique identifier for the object.

View File

@ -112,15 +112,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
# The new active state for the gift card. # The new active state for the gift card.
attr_accessor :active attr_accessor :active

View File

@ -141,15 +141,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
# An arbitrary string attached to the object. Often useful for displaying to users. # An arbitrary string attached to the object. Often useful for displaying to users.
attr_accessor :description attr_accessor :description

View File

@ -250,15 +250,6 @@ module Stripe
@verification_session = verification_session @verification_session = verification_session
end end
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. # 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 attr_reader :client_reference_id
# Time at which the object was created. Measured in seconds since the Unix epoch. # Time at which the object was created. Measured in seconds since the Unix epoch.

View File

@ -267,15 +267,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
class Options < Stripe::RequestParams class Options < Stripe::RequestParams
class Document < Stripe::RequestParams class Document < Stripe::RequestParams

View File

@ -500,15 +500,6 @@ module Stripe
class DeleteParams < Stripe::RequestParams class DeleteParams < Stripe::RequestParams
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 UpdateParams < Stripe::RequestParams
class AmountsDue < Stripe::RequestParams class AmountsDue < Stripe::RequestParams
# The amount in cents (or local equivalent). # The amount in cents (or local equivalent).
@ -4287,7 +4278,7 @@ module Stripe
attr_reader :object 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. # 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 attr_reader :on_behalf_of
# Attribute for field parent # The parent that generated this invoice
attr_reader :parent attr_reader :parent
# Attribute for field payment_settings # Attribute for field payment_settings
attr_reader :payment_settings attr_reader :payment_settings

View File

@ -62,15 +62,6 @@ module Stripe
class DeleteParams < Stripe::RequestParams class DeleteParams < Stripe::RequestParams
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 UpdateParams < Stripe::RequestParams
class Discount < Stripe::RequestParams class Discount < Stripe::RequestParams
class DiscountEnd < Stripe::RequestParams class DiscountEnd < Stripe::RequestParams
@ -492,7 +483,7 @@ module Stripe
attr_reader :metadata attr_reader :metadata
# String representing the object's type. Objects of the same type share the same value. # String representing the object's type. Objects of the same type share the same value.
attr_reader :object attr_reader :object
# Attribute for field parent # The parent that generated this invoice
attr_reader :parent attr_reader :parent
# Attribute for field period # Attribute for field period
attr_reader :period attr_reader :period

View File

@ -400,7 +400,7 @@ module Stripe
attr_reader :metadata attr_reader :metadata
# String representing the object's type. Objects of the same type share the same value. # String representing the object's type. Objects of the same type share the same value.
attr_reader :object attr_reader :object
# Attribute for field parent # The parent that generated this invoice
attr_reader :parent attr_reader :parent
# Attribute for field period # Attribute for field period
attr_reader :period attr_reader :period

View File

@ -33,18 +33,6 @@ module Stripe
end end
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 class ArchiveParams < Stripe::RequestParams
# Specifies which fields in the response should be expanded. # Specifies which fields in the response should be expanded.
attr_accessor :expand attr_accessor :expand

View File

@ -280,15 +280,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
# Specifies which fields in the response should be expanded. # Specifies which fields in the response should be expanded.
attr_accessor :expand attr_accessor :expand

View File

@ -401,15 +401,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
class Pin < Stripe::RequestParams class Pin < Stripe::RequestParams
# The card's desired new PIN, encrypted under Stripe's public key. # The card's desired new PIN, encrypted under Stripe's public key.

View File

@ -408,15 +408,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
class Billing < Stripe::RequestParams class Billing < Stripe::RequestParams
class Address < Stripe::RequestParams class Address < Stripe::RequestParams

View File

@ -99,15 +99,6 @@ module Stripe
end end
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 CorrectParams < Stripe::RequestParams
class Application < Stripe::RequestParams class Application < Stripe::RequestParams
# The channel through which the applicant has submitted their application. Defaults to `online`. # The channel through which the applicant has submitted their application. Defaults to `online`.

View File

@ -490,15 +490,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
class Evidence < Stripe::RequestParams class Evidence < Stripe::RequestParams
class Canceled < Stripe::RequestParams class Canceled < Stripe::RequestParams

View File

@ -43,15 +43,6 @@ module Stripe
@starting_after = starting_after @starting_after = starting_after
end end
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 cards currency and in the smallest currency unit. Usually the amount of the transaction, but can differ (usually because of currency fluctuation). # Disputed amount in the cards currency and in the smallest currency unit. Usually the amount of the transaction, but can differ (usually because of currency fluctuation).
attr_reader :amount attr_reader :amount
# The card used to make the original transaction. # The card used to make the original transaction.

View File

@ -55,15 +55,6 @@ module Stripe
@starting_after = starting_after @starting_after = starting_after
end end
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 cards currency and in the smallest currency unit. # Debited amount. This is equal to the disputed amount and is given in the cards currency and in the smallest currency unit.
attr_reader :amount attr_reader :amount
# ID of the [balance transaction](https://stripe.com/docs/api/balance_transactions) associated with this debit. # ID of the [balance transaction](https://stripe.com/docs/api/balance_transactions) associated with this debit.

View File

@ -154,15 +154,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
class CarrierText < Stripe::RequestParams class CarrierText < Stripe::RequestParams
# The footer body text of the carrier letter. # The footer body text of the carrier letter.

View File

@ -51,15 +51,6 @@ module Stripe
@type = type @type = type
end end
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 # Attribute for field features
attr_reader :features attr_reader :features
# Unique identifier for the object. # Unique identifier for the object.

View File

@ -143,15 +143,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
# Specifies which fields in the response should be expanded. # Specifies which fields in the response should be expanded.
attr_accessor :expand attr_accessor :expand

View File

@ -245,15 +245,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
# Specifies which fields in the response should be expanded. # Specifies which fields in the response should be expanded.
attr_accessor :expand attr_accessor :expand

View File

@ -152,15 +152,6 @@ module Stripe
# The currency of the payment on a single use mandate. # The currency of the payment on a single use mandate.
attr_reader :currency attr_reader :currency
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 customer_acceptance # Attribute for field customer_acceptance
attr_reader :customer_acceptance attr_reader :customer_acceptance
# Unique identifier for the object. # Unique identifier for the object.

View File

@ -56,15 +56,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
# Whether the margin can be applied to invoices, invoice items, or invoice line items or not. # Whether the margin can be applied to invoices, invoice items, or invoice line items or not.
attr_accessor :active attr_accessor :active

View File

@ -1590,15 +1590,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
class AutomaticTax < Stripe::RequestParams class AutomaticTax < Stripe::RequestParams
# Enable automatic tax calculation which will automatically compute tax rates on this order. # Enable automatic tax calculation which will automatically compute tax rates on this order.

View File

@ -1030,15 +1030,6 @@ module Stripe
@payment_record = payment_record @payment_record = payment_record
end end
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. # A representation of an amount of money, consisting of an amount and a currency.
attr_reader :amount_canceled attr_reader :amount_canceled
# A representation of an amount of money, consisting of an amount and a currency. # A representation of an amount of money, consisting of an amount and a currency.

View File

@ -1009,6 +1009,8 @@ module Stripe
attr_reader :setup_future_usage attr_reader :setup_future_usage
end end
class Billie < Stripe::StripeObject; end
class Blik < Stripe::StripeObject class Blik < Stripe::StripeObject
# Indicates that you intend to make future payments with this PaymentIntent's payment method. # Indicates that you intend to make future payments with this PaymentIntent's payment method.
# #
@ -1762,6 +1764,8 @@ module Stripe
attr_reader :bacs_debit attr_reader :bacs_debit
# Attribute for field bancontact # Attribute for field bancontact
attr_reader :bancontact attr_reader :bancontact
# Attribute for field billie
attr_reader :billie
# Attribute for field blik # Attribute for field blik
attr_reader :blik attr_reader :blik
# Attribute for field boleto # Attribute for field boleto
@ -3613,6 +3617,19 @@ module Stripe
end end
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 class Blik < Stripe::RequestParams
# The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation. # The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation.
attr_accessor :code attr_accessor :code
@ -5001,6 +5018,8 @@ module Stripe
attr_accessor :bacs_debit attr_accessor :bacs_debit
# If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options. # If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
attr_accessor :bancontact 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. # If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options.
attr_accessor :blik attr_accessor :blik
# If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options. # 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, au_becs_debit: nil,
bacs_debit: nil, bacs_debit: nil,
bancontact: nil, bancontact: nil,
billie: nil,
blik: nil, blik: nil,
boleto: nil, boleto: nil,
card: nil, card: nil,
@ -5160,6 +5180,7 @@ module Stripe
@au_becs_debit = au_becs_debit @au_becs_debit = au_becs_debit
@bacs_debit = bacs_debit @bacs_debit = bacs_debit
@bancontact = bancontact @bancontact = bancontact
@billie = billie
@blik = blik @blik = blik
@boleto = boleto @boleto = boleto
@card = card @card = card
@ -5462,18 +5483,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
class AsyncWorkflows < Stripe::RequestParams class AsyncWorkflows < Stripe::RequestParams
class Inputs < Stripe::RequestParams class Inputs < Stripe::RequestParams
@ -7096,6 +7105,19 @@ module Stripe
end end
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 class Blik < Stripe::RequestParams
# The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation. # The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation.
attr_accessor :code attr_accessor :code
@ -8484,6 +8506,8 @@ module Stripe
attr_accessor :bacs_debit attr_accessor :bacs_debit
# If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options. # If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
attr_accessor :bancontact 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. # If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options.
attr_accessor :blik attr_accessor :blik
# If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options. # 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, au_becs_debit: nil,
bacs_debit: nil, bacs_debit: nil,
bancontact: nil, bancontact: nil,
billie: nil,
blik: nil, blik: nil,
boleto: nil, boleto: nil,
card: nil, card: nil,
@ -8643,6 +8668,7 @@ module Stripe
@au_becs_debit = au_becs_debit @au_becs_debit = au_becs_debit
@bacs_debit = bacs_debit @bacs_debit = bacs_debit
@bancontact = bancontact @bancontact = bancontact
@billie = billie
@blik = blik @blik = blik
@boleto = boleto @boleto = boleto
@card = card @card = card
@ -11299,6 +11325,19 @@ module Stripe
end end
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 class Blik < Stripe::RequestParams
# The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation. # The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation.
attr_accessor :code attr_accessor :code
@ -12687,6 +12726,8 @@ module Stripe
attr_accessor :bacs_debit attr_accessor :bacs_debit
# If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options. # If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
attr_accessor :bancontact 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. # If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options.
attr_accessor :blik attr_accessor :blik
# If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options. # 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, au_becs_debit: nil,
bacs_debit: nil, bacs_debit: nil,
bancontact: nil, bancontact: nil,
billie: nil,
blik: nil, blik: nil,
boleto: nil, boleto: nil,
card: nil, card: nil,
@ -12846,6 +12888,7 @@ module Stripe
@au_becs_debit = au_becs_debit @au_becs_debit = au_becs_debit
@bacs_debit = bacs_debit @bacs_debit = bacs_debit
@bancontact = bancontact @bancontact = bancontact
@billie = billie
@blik = blik @blik = blik
@boleto = boleto @boleto = boleto
@card = card @card = card

View File

@ -1006,15 +1006,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
class AfterCompletion < Stripe::RequestParams class AfterCompletion < Stripe::RequestParams
class HostedConfirmation < Stripe::RequestParams class HostedConfirmation < Stripe::RequestParams

View File

@ -1448,15 +1448,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
class BillingDetails < Stripe::RequestParams class BillingDetails < Stripe::RequestParams
class Address < Stripe::RequestParams class Address < Stripe::RequestParams

View File

@ -1892,15 +1892,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
class AcssDebit < Stripe::RequestParams class AcssDebit < Stripe::RequestParams
class DisplayPreference < Stripe::RequestParams class DisplayPreference < Stripe::RequestParams

View File

@ -117,15 +117,6 @@ module Stripe
end end
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 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. # 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 attr_accessor :enabled

View File

@ -1017,15 +1017,6 @@ module Stripe
attr_reader :phone attr_reader :phone
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 ReportPaymentAttemptParams < Stripe::RequestParams class ReportPaymentAttemptParams < Stripe::RequestParams
class Failed < Stripe::RequestParams class Failed < Stripe::RequestParams
# When the reported payment failed. Measured in seconds since the Unix epoch. # When the reported payment failed. Measured in seconds since the Unix epoch.

View File

@ -148,15 +148,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
# Specifies which fields in the response should be expanded. # Specifies which fields in the response should be expanded.
attr_accessor :expand attr_accessor :expand

View File

@ -44,15 +44,6 @@ module Stripe
class DeleteParams < Stripe::RequestParams class DeleteParams < Stripe::RequestParams
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 UpdateParams < Stripe::RequestParams
# Whether the plan is currently available for new subscriptions. # Whether the plan is currently available for new subscriptions.
attr_accessor :active attr_accessor :active

View File

@ -461,15 +461,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
class CurrencyOptions < Stripe::RequestParams class CurrencyOptions < Stripe::RequestParams
class CustomUnitAmount < Stripe::RequestParams class CustomUnitAmount < Stripe::RequestParams

View File

@ -63,15 +63,6 @@ module Stripe
class DeleteParams < Stripe::RequestParams class DeleteParams < Stripe::RequestParams
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 UpdateParams < Stripe::RequestParams
class MarketingFeature < Stripe::RequestParams class MarketingFeature < Stripe::RequestParams
# The marketing feature name. Up to 80 characters long. # The marketing feature name. Up to 80 characters long.

View File

@ -172,15 +172,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
class Restrictions < Stripe::RequestParams class Restrictions < Stripe::RequestParams
class CurrencyOptions < Stripe::RequestParams class CurrencyOptions < Stripe::RequestParams

View File

@ -1576,15 +1576,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
class AutomaticTax < Stripe::RequestParams class AutomaticTax < Stripe::RequestParams
class Liability < Stripe::RequestParams class Liability < Stripe::RequestParams

View File

@ -605,7 +605,7 @@ module Stripe
attr_reader :object 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. # 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 attr_reader :on_behalf_of
# Attribute for field parent # The parent that generated this invoice
attr_reader :parent attr_reader :parent
# Attribute for field payment_settings # Attribute for field payment_settings
attr_reader :payment_settings attr_reader :payment_settings

View File

@ -66,15 +66,6 @@ module Stripe
@starting_after = starting_after @starting_after = starting_after
end end
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. # 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 attr_reader :actionable
# ID of the charge this early fraud warning is for, optionally expanded. # ID of the charge this early fraud warning is for, optionally expanded.

View File

@ -20,15 +20,6 @@ module Stripe
class DeleteParams < Stripe::RequestParams class DeleteParams < Stripe::RequestParams
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 UpdateParams < Stripe::RequestParams
# The name of the value list for use in rules. # The name of the value list for use in rules.
attr_accessor :alias attr_accessor :alias

View File

@ -19,15 +19,6 @@ module Stripe
class DeleteParams < Stripe::RequestParams class DeleteParams < Stripe::RequestParams
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 ListParams < Stripe::RequestParams class ListParams < Stripe::RequestParams
class Created < Stripe::RequestParams class Created < Stripe::RequestParams
# Minimum value to filter by (exclusive) # Minimum value to filter by (exclusive)

View File

@ -346,15 +346,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
# Specifies which fields in the response should be expanded. # Specifies which fields in the response should be expanded.
attr_accessor :expand attr_accessor :expand

View File

@ -135,15 +135,6 @@ module Stripe
@report_type = report_type @report_type = report_type
end end
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. # Time at which the object was created. Measured in seconds since the Unix epoch.
attr_reader :created attr_reader :created
# If something should go wrong during the run, a message about the failure (populated when # If something should go wrong during the run, a message about the failure (populated when

View File

@ -27,15 +27,6 @@ module Stripe
@expand = expand @expand = expand
end end
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. # Most recent time for which this Report Type is available. Measured in seconds since the Unix epoch.
attr_reader :data_available_end attr_reader :data_available_end
# Earliest time for which this Report Type is available. Measured in seconds since the Unix epoch. # Earliest time for which this Report Type is available. Measured in seconds since the Unix epoch.

View File

@ -76,15 +76,6 @@ module Stripe
end end
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 class ApproveParams < Stripe::RequestParams
# Specifies which fields in the response should be expanded. # Specifies which fields in the response should be expanded.
attr_accessor :expand attr_accessor :expand

View File

@ -1660,18 +1660,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
class PaymentMethodData < Stripe::RequestParams class PaymentMethodData < Stripe::RequestParams
class AcssDebit < Stripe::RequestParams class AcssDebit < Stripe::RequestParams

View File

@ -200,15 +200,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
class FixedAmount < Stripe::RequestParams class FixedAmount < Stripe::RequestParams
class CurrencyOptions < Stripe::RequestParams class CurrencyOptions < Stripe::RequestParams

View File

@ -37,15 +37,6 @@ module Stripe
@starting_after = starting_after @starting_after = starting_after
end end
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. # Time at which the object was created. Measured in seconds since the Unix epoch.
attr_reader :created attr_reader :created
# When the query was run, Sigma contained a snapshot of your Stripe data at this time. # When the query was run, Sigma contained a snapshot of your Stripe data at this time.

View File

@ -591,18 +591,6 @@ module Stripe
attr_reader :statement_descriptor attr_reader :statement_descriptor
end 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 UpdateParams < Stripe::RequestParams
class Mandate < Stripe::RequestParams class Mandate < Stripe::RequestParams
class Acceptance < Stripe::RequestParams class Acceptance < Stripe::RequestParams

View File

@ -267,15 +267,6 @@ module Stripe
end end
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 UpdateParams < Stripe::RequestParams
class AddInvoiceItem < Stripe::RequestParams class AddInvoiceItem < Stripe::RequestParams
class Discount < Stripe::RequestParams class Discount < Stripe::RequestParams

Some files were not shown because too many files have changed in this diff Show More