mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-10 00:02:25 -04:00
Update generated code for v1819 and 2025-06-30.preview
This commit is contained in:
parent
ec0e5574d3
commit
b1abc5f9ab
@ -4,12 +4,12 @@
|
|||||||
module Stripe
|
module Stripe
|
||||||
module V2
|
module V2
|
||||||
class BillingService < StripeService
|
class BillingService < StripeService
|
||||||
attr_reader :meter_event_session, :meter_event_adjustments, :meter_event_stream, :meter_events
|
attr_reader :meter_event_adjustments, :meter_event_session, :meter_event_stream, :meter_events
|
||||||
|
|
||||||
def initialize(requestor)
|
def initialize(requestor)
|
||||||
super
|
super
|
||||||
@meter_event_session = Stripe::V2::Billing::MeterEventSessionService.new(@requestor)
|
|
||||||
@meter_event_adjustments = Stripe::V2::Billing::MeterEventAdjustmentService.new(@requestor)
|
@meter_event_adjustments = Stripe::V2::Billing::MeterEventAdjustmentService.new(@requestor)
|
||||||
|
@meter_event_session = Stripe::V2::Billing::MeterEventSessionService.new(@requestor)
|
||||||
@meter_event_stream = Stripe::V2::Billing::MeterEventStreamService.new(@requestor)
|
@meter_event_stream = Stripe::V2::Billing::MeterEventStreamService.new(@requestor)
|
||||||
@meter_events = Stripe::V2::Billing::MeterEventService.new(@requestor)
|
@meter_events = Stripe::V2::Billing::MeterEventService.new(@requestor)
|
||||||
end
|
end
|
||||||
|
@ -12,12 +12,15 @@ module Stripe
|
|||||||
@persons = Stripe::V2::Core::Accounts::PersonService.new(@requestor)
|
@persons = Stripe::V2::Core::Accounts::PersonService.new(@requestor)
|
||||||
end
|
end
|
||||||
|
|
||||||
class CloseParams < Stripe::RequestParams
|
class ListParams < Stripe::RequestParams
|
||||||
# Configurations on the Account to be closed. All configurations on the Account must be passed in for this request to succeed.
|
# Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have.
|
||||||
attr_accessor :applied_configurations
|
attr_accessor :applied_configurations
|
||||||
|
# The upper limit on the number of accounts returned by the List Account request.
|
||||||
|
attr_accessor :limit
|
||||||
|
|
||||||
def initialize(applied_configurations: nil)
|
def initialize(applied_configurations: nil, limit: nil)
|
||||||
@applied_configurations = applied_configurations
|
@applied_configurations = applied_configurations
|
||||||
|
@limit = limit
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -2048,18 +2051,6 @@ module Stripe
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListParams < Stripe::RequestParams
|
|
||||||
# Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have.
|
|
||||||
attr_accessor :applied_configurations
|
|
||||||
# The upper limit on the number of accounts returned by the List Account request.
|
|
||||||
attr_accessor :limit
|
|
||||||
|
|
||||||
def initialize(applied_configurations: nil, limit: nil)
|
|
||||||
@applied_configurations = applied_configurations
|
|
||||||
@limit = limit
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class RetrieveParams < Stripe::RequestParams
|
class RetrieveParams < Stripe::RequestParams
|
||||||
# Additional fields to include in the response.
|
# Additional fields to include in the response.
|
||||||
attr_accessor :include
|
attr_accessor :include
|
||||||
@ -4110,6 +4101,15 @@ module Stripe
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class CloseParams < Stripe::RequestParams
|
||||||
|
# Configurations on the Account to be closed. All configurations on the Account must be passed in for this request to succeed.
|
||||||
|
attr_accessor :applied_configurations
|
||||||
|
|
||||||
|
def initialize(applied_configurations: nil)
|
||||||
|
@applied_configurations = applied_configurations
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Removes access to the Account and its associated resources.
|
# Removes access to the Account and its associated resources.
|
||||||
def close(id, params = {}, opts = {})
|
def close(id, params = {}, opts = {})
|
||||||
request(
|
request(
|
||||||
|
@ -6,6 +6,15 @@ module Stripe
|
|||||||
module Core
|
module Core
|
||||||
module Accounts
|
module Accounts
|
||||||
class PersonService < StripeService
|
class PersonService < StripeService
|
||||||
|
class ListParams < Stripe::RequestParams
|
||||||
|
# The upper limit on the number of accounts returned by the List Account request.
|
||||||
|
attr_accessor :limit
|
||||||
|
|
||||||
|
def initialize(limit: nil)
|
||||||
|
@limit = limit
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class CreateParams < Stripe::RequestParams
|
class CreateParams < Stripe::RequestParams
|
||||||
class AdditionalAddress < Stripe::RequestParams
|
class AdditionalAddress < Stripe::RequestParams
|
||||||
# City, district, suburb, town, or village.
|
# City, district, suburb, town, or village.
|
||||||
@ -490,16 +499,6 @@ module Stripe
|
|||||||
end
|
end
|
||||||
|
|
||||||
class DeleteParams < Stripe::RequestParams; end
|
class DeleteParams < Stripe::RequestParams; end
|
||||||
|
|
||||||
class ListParams < Stripe::RequestParams
|
|
||||||
# The upper limit on the number of accounts returned by the List Account request.
|
|
||||||
attr_accessor :limit
|
|
||||||
|
|
||||||
def initialize(limit: nil)
|
|
||||||
@limit = limit
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class RetrieveParams < Stripe::RequestParams; end
|
class RetrieveParams < Stripe::RequestParams; end
|
||||||
|
|
||||||
class UpdateParams < Stripe::RequestParams
|
class UpdateParams < Stripe::RequestParams
|
||||||
|
@ -5,6 +5,18 @@ module Stripe
|
|||||||
module V2
|
module V2
|
||||||
module Core
|
module Core
|
||||||
class EventDestinationService < StripeService
|
class EventDestinationService < StripeService
|
||||||
|
class ListParams < Stripe::RequestParams
|
||||||
|
# Additional fields to include in the response. Currently supports `webhook_endpoint.url`.
|
||||||
|
attr_accessor :include
|
||||||
|
# The page size.
|
||||||
|
attr_accessor :limit
|
||||||
|
|
||||||
|
def initialize(include: nil, limit: nil)
|
||||||
|
@include = include
|
||||||
|
@limit = limit
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class CreateParams < Stripe::RequestParams
|
class CreateParams < Stripe::RequestParams
|
||||||
class AmazonEventbridge < Stripe::RequestParams
|
class AmazonEventbridge < Stripe::RequestParams
|
||||||
# The AWS account ID.
|
# The AWS account ID.
|
||||||
@ -77,22 +89,6 @@ module Stripe
|
|||||||
end
|
end
|
||||||
|
|
||||||
class DeleteParams < Stripe::RequestParams; end
|
class DeleteParams < Stripe::RequestParams; end
|
||||||
class DisableParams < Stripe::RequestParams; end
|
|
||||||
class EnableParams < Stripe::RequestParams; end
|
|
||||||
|
|
||||||
class ListParams < Stripe::RequestParams
|
|
||||||
# Additional fields to include in the response. Currently supports `webhook_endpoint.url`.
|
|
||||||
attr_accessor :include
|
|
||||||
# The page size.
|
|
||||||
attr_accessor :limit
|
|
||||||
|
|
||||||
def initialize(include: nil, limit: nil)
|
|
||||||
@include = include
|
|
||||||
@limit = limit
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class PingParams < Stripe::RequestParams; end
|
|
||||||
|
|
||||||
class RetrieveParams < Stripe::RequestParams
|
class RetrieveParams < Stripe::RequestParams
|
||||||
# Additional fields to include in the response.
|
# Additional fields to include in the response.
|
||||||
@ -142,6 +138,10 @@ module Stripe
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class DisableParams < Stripe::RequestParams; end
|
||||||
|
class EnableParams < Stripe::RequestParams; end
|
||||||
|
class PingParams < Stripe::RequestParams; end
|
||||||
|
|
||||||
# Create a new event destination.
|
# Create a new event destination.
|
||||||
def create(params = {}, opts = {})
|
def create(params = {}, opts = {})
|
||||||
request(
|
request(
|
||||||
|
@ -6,9 +6,6 @@ module Stripe
|
|||||||
module Core
|
module Core
|
||||||
module Vault
|
module Vault
|
||||||
class GbBankAccountService < StripeService
|
class GbBankAccountService < StripeService
|
||||||
class AcknowledgeConfirmationOfPayeeParams < Stripe::RequestParams; end
|
|
||||||
class ArchiveParams < Stripe::RequestParams; end
|
|
||||||
|
|
||||||
class CreateParams < Stripe::RequestParams
|
class CreateParams < Stripe::RequestParams
|
||||||
class ConfirmationOfPayee < Stripe::RequestParams
|
class ConfirmationOfPayee < Stripe::RequestParams
|
||||||
# The business type to be checked against. Legal entity information will be used if unspecified.
|
# The business type to be checked against. Legal entity information will be used if unspecified.
|
||||||
@ -49,6 +46,10 @@ module Stripe
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RetrieveParams < Stripe::RequestParams; end
|
||||||
|
class AcknowledgeConfirmationOfPayeeParams < Stripe::RequestParams; end
|
||||||
|
class ArchiveParams < Stripe::RequestParams; end
|
||||||
|
|
||||||
class InitiateConfirmationOfPayeeParams < Stripe::RequestParams
|
class InitiateConfirmationOfPayeeParams < Stripe::RequestParams
|
||||||
# The business type to be checked against. Legal entity information will be used if unspecified.
|
# The business type to be checked against. Legal entity information will be used if unspecified.
|
||||||
attr_accessor :business_type
|
attr_accessor :business_type
|
||||||
@ -61,8 +62,6 @@ module Stripe
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class RetrieveParams < Stripe::RequestParams; end
|
|
||||||
|
|
||||||
# Confirm that you have received the result of the Confirmation of Payee request, and that you are okay with
|
# Confirm that you have received the result of the Confirmation of Payee request, and that you are okay with
|
||||||
# proceeding to pay out to this bank account despite the account not matching, partially matching, or the service
|
# proceeding to pay out to this bank account despite the account not matching, partially matching, or the service
|
||||||
# being unavailable. Once you confirm this, you will be able to send OutboundPayments, but this may lead to
|
# being unavailable. Once you confirm this, you will be able to send OutboundPayments, but this may lead to
|
||||||
|
@ -6,8 +6,6 @@ module Stripe
|
|||||||
module Core
|
module Core
|
||||||
module Vault
|
module Vault
|
||||||
class UsBankAccountService < StripeService
|
class UsBankAccountService < StripeService
|
||||||
class ArchiveParams < Stripe::RequestParams; end
|
|
||||||
|
|
||||||
class CreateParams < Stripe::RequestParams
|
class CreateParams < Stripe::RequestParams
|
||||||
# The account number of the bank account.
|
# The account number of the bank account.
|
||||||
attr_accessor :account_number
|
attr_accessor :account_number
|
||||||
@ -45,6 +43,8 @@ module Stripe
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ArchiveParams < Stripe::RequestParams; end
|
||||||
|
|
||||||
# Archive a USBankAccount object. USBankAccount objects will not be automatically archived by Stripe.
|
# Archive a USBankAccount object. USBankAccount objects will not be automatically archived by Stripe.
|
||||||
# Archived USBankAccount objects cannot be used as outbound destinations
|
# Archived USBankAccount objects cannot be used as outbound destinations
|
||||||
# and will not appear in the outbound destination list.
|
# and will not appear in the outbound destination list.
|
||||||
|
@ -4,12 +4,12 @@
|
|||||||
module Stripe
|
module Stripe
|
||||||
module V2
|
module V2
|
||||||
class CoreService < StripeService
|
class CoreService < StripeService
|
||||||
attr_reader :accounts, :account_links, :event_destinations, :events, :vault
|
attr_reader :account_links, :accounts, :event_destinations, :events, :vault
|
||||||
|
|
||||||
def initialize(requestor)
|
def initialize(requestor)
|
||||||
super
|
super
|
||||||
@accounts = Stripe::V2::Core::AccountService.new(@requestor)
|
|
||||||
@account_links = Stripe::V2::Core::AccountLinkService.new(@requestor)
|
@account_links = Stripe::V2::Core::AccountLinkService.new(@requestor)
|
||||||
|
@accounts = Stripe::V2::Core::AccountService.new(@requestor)
|
||||||
@event_destinations = Stripe::V2::Core::EventDestinationService.new(@requestor)
|
@event_destinations = Stripe::V2::Core::EventDestinationService.new(@requestor)
|
||||||
@events = Stripe::V2::Core::EventService.new(@requestor)
|
@events = Stripe::V2::Core::EventService.new(@requestor)
|
||||||
@vault = Stripe::V2::Core::VaultService.new(@requestor)
|
@vault = Stripe::V2::Core::VaultService.new(@requestor)
|
||||||
|
@ -5,18 +5,6 @@ module Stripe
|
|||||||
module V2
|
module V2
|
||||||
module MoneyManagement
|
module MoneyManagement
|
||||||
class FinancialAddressService < StripeService
|
class FinancialAddressService < StripeService
|
||||||
class CreateParams < Stripe::RequestParams
|
|
||||||
# Open Enum. The currency the FinancialAddress should support. Currently, only the `usd` and `gbp` values are supported.
|
|
||||||
attr_accessor :currency
|
|
||||||
# The ID of the FinancialAccount the new FinancialAddress should be associated with.
|
|
||||||
attr_accessor :financial_account
|
|
||||||
|
|
||||||
def initialize(currency: nil, financial_account: nil)
|
|
||||||
@currency = currency
|
|
||||||
@financial_account = financial_account
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class ListParams < Stripe::RequestParams
|
class ListParams < Stripe::RequestParams
|
||||||
# The ID of the FinancialAccount for which FinancialAddresses are to be returned.
|
# The ID of the FinancialAccount for which FinancialAddresses are to be returned.
|
||||||
attr_accessor :financial_account
|
attr_accessor :financial_account
|
||||||
@ -32,6 +20,18 @@ module Stripe
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class CreateParams < Stripe::RequestParams
|
||||||
|
# Open Enum. The currency the FinancialAddress should support. Currently, only the `usd` and `gbp` values are supported.
|
||||||
|
attr_accessor :currency
|
||||||
|
# The ID of the FinancialAccount the new FinancialAddress should be associated with.
|
||||||
|
attr_accessor :financial_account
|
||||||
|
|
||||||
|
def initialize(currency: nil, financial_account: nil)
|
||||||
|
@currency = currency
|
||||||
|
@financial_account = financial_account
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class RetrieveParams < Stripe::RequestParams
|
class RetrieveParams < Stripe::RequestParams
|
||||||
# Open Enum. A list of fields to reveal in the FinancialAddresses returned.
|
# Open Enum. A list of fields to reveal in the FinancialAddresses returned.
|
||||||
attr_accessor :include
|
attr_accessor :include
|
||||||
|
@ -5,6 +5,42 @@ module Stripe
|
|||||||
module V2
|
module V2
|
||||||
module MoneyManagement
|
module MoneyManagement
|
||||||
class InboundTransferService < StripeService
|
class InboundTransferService < StripeService
|
||||||
|
class ListParams < Stripe::RequestParams
|
||||||
|
# Filter for objects created at the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
attr_accessor :created
|
||||||
|
# Filter for objects created after the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
attr_accessor :created_gt
|
||||||
|
# Filter for objects created on or after the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
attr_accessor :created_gte
|
||||||
|
# Filter for objects created before the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
attr_accessor :created_lt
|
||||||
|
# Filter for objects created on or before the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
attr_accessor :created_lte
|
||||||
|
# The page limit.
|
||||||
|
attr_accessor :limit
|
||||||
|
|
||||||
|
def initialize(
|
||||||
|
created: nil,
|
||||||
|
created_gt: nil,
|
||||||
|
created_gte: nil,
|
||||||
|
created_lt: nil,
|
||||||
|
created_lte: nil,
|
||||||
|
limit: nil
|
||||||
|
)
|
||||||
|
@created = created
|
||||||
|
@created_gt = created_gt
|
||||||
|
@created_gte = created_gte
|
||||||
|
@created_lt = created_lt
|
||||||
|
@created_lte = created_lte
|
||||||
|
@limit = limit
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class CreateParams < Stripe::RequestParams
|
class CreateParams < Stripe::RequestParams
|
||||||
class From < Stripe::RequestParams
|
class From < Stripe::RequestParams
|
||||||
# An optional currency field used to specify which currency is debited from the Payment Method.
|
# An optional currency field used to specify which currency is debited from the Payment Method.
|
||||||
@ -47,42 +83,6 @@ module Stripe
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListParams < Stripe::RequestParams
|
|
||||||
# Filter for objects created at the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
attr_accessor :created
|
|
||||||
# Filter for objects created after the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
attr_accessor :created_gt
|
|
||||||
# Filter for objects created on or after the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
attr_accessor :created_gte
|
|
||||||
# Filter for objects created before the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
attr_accessor :created_lt
|
|
||||||
# Filter for objects created on or before the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
attr_accessor :created_lte
|
|
||||||
# The page limit.
|
|
||||||
attr_accessor :limit
|
|
||||||
|
|
||||||
def initialize(
|
|
||||||
created: nil,
|
|
||||||
created_gt: nil,
|
|
||||||
created_gte: nil,
|
|
||||||
created_lt: nil,
|
|
||||||
created_lte: nil,
|
|
||||||
limit: nil
|
|
||||||
)
|
|
||||||
@created = created
|
|
||||||
@created_gt = created_gt
|
|
||||||
@created_gte = created_gte
|
|
||||||
@created_lt = created_lt
|
|
||||||
@created_lte = created_lte
|
|
||||||
@limit = limit
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class RetrieveParams < Stripe::RequestParams; end
|
class RetrieveParams < Stripe::RequestParams; end
|
||||||
|
|
||||||
# InboundTransfers APIs are used to create, retrieve or list InboundTransfers.
|
# InboundTransfers APIs are used to create, retrieve or list InboundTransfers.
|
||||||
|
@ -5,7 +5,49 @@ module Stripe
|
|||||||
module V2
|
module V2
|
||||||
module MoneyManagement
|
module MoneyManagement
|
||||||
class OutboundPaymentService < StripeService
|
class OutboundPaymentService < StripeService
|
||||||
class CancelParams < Stripe::RequestParams; end
|
class ListParams < Stripe::RequestParams
|
||||||
|
# Filter for objects created at the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
attr_accessor :created
|
||||||
|
# Filter for objects created after the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
attr_accessor :created_gt
|
||||||
|
# Filter for objects created on or after the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
attr_accessor :created_gte
|
||||||
|
# Filter for objects created before the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
attr_accessor :created_lt
|
||||||
|
# Filter for objects created on or before the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
attr_accessor :created_lte
|
||||||
|
# The maximum number of results to return.
|
||||||
|
attr_accessor :limit
|
||||||
|
# Only return OutboundPayments sent to this recipient.
|
||||||
|
attr_accessor :recipient
|
||||||
|
# Closed Enum. Only return OutboundPayments with this status.
|
||||||
|
attr_accessor :status
|
||||||
|
|
||||||
|
def initialize(
|
||||||
|
created: nil,
|
||||||
|
created_gt: nil,
|
||||||
|
created_gte: nil,
|
||||||
|
created_lt: nil,
|
||||||
|
created_lte: nil,
|
||||||
|
limit: nil,
|
||||||
|
recipient: nil,
|
||||||
|
status: nil
|
||||||
|
)
|
||||||
|
@created = created
|
||||||
|
@created_gt = created_gt
|
||||||
|
@created_gte = created_gte
|
||||||
|
@created_lt = created_lt
|
||||||
|
@created_lte = created_lte
|
||||||
|
@limit = limit
|
||||||
|
@recipient = recipient
|
||||||
|
@status = status
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class CreateParams < Stripe::RequestParams
|
class CreateParams < Stripe::RequestParams
|
||||||
class DeliveryOptions < Stripe::RequestParams
|
class DeliveryOptions < Stripe::RequestParams
|
||||||
@ -97,51 +139,8 @@ module Stripe
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListParams < Stripe::RequestParams
|
|
||||||
# Filter for objects created at the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
attr_accessor :created
|
|
||||||
# Filter for objects created after the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
attr_accessor :created_gt
|
|
||||||
# Filter for objects created on or after the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
attr_accessor :created_gte
|
|
||||||
# Filter for objects created before the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
attr_accessor :created_lt
|
|
||||||
# Filter for objects created on or before the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
attr_accessor :created_lte
|
|
||||||
# The maximum number of results to return.
|
|
||||||
attr_accessor :limit
|
|
||||||
# Only return OutboundPayments sent to this recipient.
|
|
||||||
attr_accessor :recipient
|
|
||||||
# Closed Enum. Only return OutboundPayments with this status.
|
|
||||||
attr_accessor :status
|
|
||||||
|
|
||||||
def initialize(
|
|
||||||
created: nil,
|
|
||||||
created_gt: nil,
|
|
||||||
created_gte: nil,
|
|
||||||
created_lt: nil,
|
|
||||||
created_lte: nil,
|
|
||||||
limit: nil,
|
|
||||||
recipient: nil,
|
|
||||||
status: nil
|
|
||||||
)
|
|
||||||
@created = created
|
|
||||||
@created_gt = created_gt
|
|
||||||
@created_gte = created_gte
|
|
||||||
@created_lt = created_lt
|
|
||||||
@created_lte = created_lte
|
|
||||||
@limit = limit
|
|
||||||
@recipient = recipient
|
|
||||||
@status = status
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class RetrieveParams < Stripe::RequestParams; end
|
class RetrieveParams < Stripe::RequestParams; end
|
||||||
|
class CancelParams < Stripe::RequestParams; end
|
||||||
|
|
||||||
# Cancels an OutboundPayment. Only processing OutboundPayments can be canceled.
|
# Cancels an OutboundPayment. Only processing OutboundPayments can be canceled.
|
||||||
#
|
#
|
||||||
|
@ -5,7 +5,14 @@ module Stripe
|
|||||||
module V2
|
module V2
|
||||||
module MoneyManagement
|
module MoneyManagement
|
||||||
class OutboundSetupIntentService < StripeService
|
class OutboundSetupIntentService < StripeService
|
||||||
class CancelParams < Stripe::RequestParams; end
|
class ListParams < Stripe::RequestParams
|
||||||
|
# The page size.
|
||||||
|
attr_accessor :limit
|
||||||
|
|
||||||
|
def initialize(limit: nil)
|
||||||
|
@limit = limit
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class CreateParams < Stripe::RequestParams
|
class CreateParams < Stripe::RequestParams
|
||||||
class PayoutMethodData < Stripe::RequestParams
|
class PayoutMethodData < Stripe::RequestParams
|
||||||
@ -84,15 +91,6 @@ module Stripe
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListParams < Stripe::RequestParams
|
|
||||||
# The page size.
|
|
||||||
attr_accessor :limit
|
|
||||||
|
|
||||||
def initialize(limit: nil)
|
|
||||||
@limit = limit
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class RetrieveParams < Stripe::RequestParams; end
|
class RetrieveParams < Stripe::RequestParams; end
|
||||||
|
|
||||||
class UpdateParams < Stripe::RequestParams
|
class UpdateParams < Stripe::RequestParams
|
||||||
@ -167,6 +165,8 @@ module Stripe
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class CancelParams < Stripe::RequestParams; end
|
||||||
|
|
||||||
# Cancel an OutboundSetupIntent object.
|
# Cancel an OutboundSetupIntent object.
|
||||||
def cancel(id, params = {}, opts = {})
|
def cancel(id, params = {}, opts = {})
|
||||||
request(
|
request(
|
||||||
|
@ -5,7 +5,45 @@ module Stripe
|
|||||||
module V2
|
module V2
|
||||||
module MoneyManagement
|
module MoneyManagement
|
||||||
class OutboundTransferService < StripeService
|
class OutboundTransferService < StripeService
|
||||||
class CancelParams < Stripe::RequestParams; end
|
class ListParams < Stripe::RequestParams
|
||||||
|
# Filter for objects created at the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
attr_accessor :created
|
||||||
|
# Filter for objects created after the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
attr_accessor :created_gt
|
||||||
|
# Filter for objects created on or after the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
attr_accessor :created_gte
|
||||||
|
# Filter for objects created before the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
attr_accessor :created_lt
|
||||||
|
# Filter for objects created on or before the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
attr_accessor :created_lte
|
||||||
|
# The maximum number of results to return.
|
||||||
|
attr_accessor :limit
|
||||||
|
# Closed Enum. Only return OutboundTransfers with this status.
|
||||||
|
attr_accessor :status
|
||||||
|
|
||||||
|
def initialize(
|
||||||
|
created: nil,
|
||||||
|
created_gt: nil,
|
||||||
|
created_gte: nil,
|
||||||
|
created_lt: nil,
|
||||||
|
created_lte: nil,
|
||||||
|
limit: nil,
|
||||||
|
status: nil
|
||||||
|
)
|
||||||
|
@created = created
|
||||||
|
@created_gt = created_gt
|
||||||
|
@created_gte = created_gte
|
||||||
|
@created_lt = created_lt
|
||||||
|
@created_lte = created_lte
|
||||||
|
@limit = limit
|
||||||
|
@status = status
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class CreateParams < Stripe::RequestParams
|
class CreateParams < Stripe::RequestParams
|
||||||
class DeliveryOptions < Stripe::RequestParams
|
class DeliveryOptions < Stripe::RequestParams
|
||||||
@ -76,47 +114,8 @@ module Stripe
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListParams < Stripe::RequestParams
|
|
||||||
# Filter for objects created at the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
attr_accessor :created
|
|
||||||
# Filter for objects created after the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
attr_accessor :created_gt
|
|
||||||
# Filter for objects created on or after the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
attr_accessor :created_gte
|
|
||||||
# Filter for objects created before the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
attr_accessor :created_lt
|
|
||||||
# Filter for objects created on or before the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
attr_accessor :created_lte
|
|
||||||
# The maximum number of results to return.
|
|
||||||
attr_accessor :limit
|
|
||||||
# Closed Enum. Only return OutboundTransfers with this status.
|
|
||||||
attr_accessor :status
|
|
||||||
|
|
||||||
def initialize(
|
|
||||||
created: nil,
|
|
||||||
created_gt: nil,
|
|
||||||
created_gte: nil,
|
|
||||||
created_lt: nil,
|
|
||||||
created_lte: nil,
|
|
||||||
limit: nil,
|
|
||||||
status: nil
|
|
||||||
)
|
|
||||||
@created = created
|
|
||||||
@created_gt = created_gt
|
|
||||||
@created_gte = created_gte
|
|
||||||
@created_lt = created_lt
|
|
||||||
@created_lte = created_lte
|
|
||||||
@limit = limit
|
|
||||||
@status = status
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class RetrieveParams < Stripe::RequestParams; end
|
class RetrieveParams < Stripe::RequestParams; end
|
||||||
|
class CancelParams < Stripe::RequestParams; end
|
||||||
|
|
||||||
# Cancels an OutboundTransfer. Only processing OutboundTransfers can be canceled.
|
# Cancels an OutboundTransfer. Only processing OutboundTransfers can be canceled.
|
||||||
#
|
#
|
||||||
|
@ -5,8 +5,6 @@ module Stripe
|
|||||||
module V2
|
module V2
|
||||||
module MoneyManagement
|
module MoneyManagement
|
||||||
class PayoutMethodService < StripeService
|
class PayoutMethodService < StripeService
|
||||||
class ArchiveParams < Stripe::RequestParams; end
|
|
||||||
|
|
||||||
class ListParams < Stripe::RequestParams
|
class ListParams < Stripe::RequestParams
|
||||||
class UsageStatus < Stripe::RequestParams
|
class UsageStatus < Stripe::RequestParams
|
||||||
# List of payments status to filter by.
|
# List of payments status to filter by.
|
||||||
@ -31,6 +29,7 @@ module Stripe
|
|||||||
end
|
end
|
||||||
|
|
||||||
class RetrieveParams < Stripe::RequestParams; end
|
class RetrieveParams < Stripe::RequestParams; end
|
||||||
|
class ArchiveParams < Stripe::RequestParams; end
|
||||||
class UnarchiveParams < Stripe::RequestParams; end
|
class UnarchiveParams < Stripe::RequestParams; end
|
||||||
|
|
||||||
# Archive a PayoutMethod object. Archived objects cannot be used as payout methods
|
# Archive a PayoutMethod object. Archived objects cannot be used as payout methods
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
module Stripe
|
module Stripe
|
||||||
module V2
|
module V2
|
||||||
class MoneyManagementService < StripeService
|
class MoneyManagementService < StripeService
|
||||||
attr_reader :adjustments, :financial_accounts, :financial_addresses, :inbound_transfers, :outbound_payments, :outbound_payment_quotes, :outbound_transfers, :outbound_setup_intents, :payout_methods, :payout_methods_bank_account_spec, :received_credits, :received_debits, :transactions, :transaction_entries
|
attr_reader :adjustments, :financial_accounts, :financial_addresses, :inbound_transfers, :outbound_payment_quotes, :outbound_payments, :outbound_setup_intents, :outbound_transfers, :payout_methods, :payout_methods_bank_account_spec, :received_credits, :received_debits, :transaction_entries, :transactions
|
||||||
|
|
||||||
def initialize(requestor)
|
def initialize(requestor)
|
||||||
super
|
super
|
||||||
@ -12,19 +12,19 @@ module Stripe
|
|||||||
@financial_accounts = Stripe::V2::MoneyManagement::FinancialAccountService.new(@requestor)
|
@financial_accounts = Stripe::V2::MoneyManagement::FinancialAccountService.new(@requestor)
|
||||||
@financial_addresses = Stripe::V2::MoneyManagement::FinancialAddressService.new(@requestor)
|
@financial_addresses = Stripe::V2::MoneyManagement::FinancialAddressService.new(@requestor)
|
||||||
@inbound_transfers = Stripe::V2::MoneyManagement::InboundTransferService.new(@requestor)
|
@inbound_transfers = Stripe::V2::MoneyManagement::InboundTransferService.new(@requestor)
|
||||||
@outbound_payments = Stripe::V2::MoneyManagement::OutboundPaymentService.new(@requestor)
|
|
||||||
@outbound_payment_quotes = Stripe::V2::MoneyManagement::OutboundPaymentQuoteService
|
@outbound_payment_quotes = Stripe::V2::MoneyManagement::OutboundPaymentQuoteService
|
||||||
.new(@requestor)
|
.new(@requestor)
|
||||||
@outbound_transfers = Stripe::V2::MoneyManagement::OutboundTransferService.new(@requestor)
|
@outbound_payments = Stripe::V2::MoneyManagement::OutboundPaymentService.new(@requestor)
|
||||||
@outbound_setup_intents = Stripe::V2::MoneyManagement::OutboundSetupIntentService
|
@outbound_setup_intents = Stripe::V2::MoneyManagement::OutboundSetupIntentService
|
||||||
.new(@requestor)
|
.new(@requestor)
|
||||||
|
@outbound_transfers = Stripe::V2::MoneyManagement::OutboundTransferService.new(@requestor)
|
||||||
@payout_methods = Stripe::V2::MoneyManagement::PayoutMethodService.new(@requestor)
|
@payout_methods = Stripe::V2::MoneyManagement::PayoutMethodService.new(@requestor)
|
||||||
@payout_methods_bank_account_spec = Stripe::V2::MoneyManagement::PayoutMethodsBankAccountSpecService
|
@payout_methods_bank_account_spec = Stripe::V2::MoneyManagement::PayoutMethodsBankAccountSpecService
|
||||||
.new(@requestor)
|
.new(@requestor)
|
||||||
@received_credits = Stripe::V2::MoneyManagement::ReceivedCreditService.new(@requestor)
|
@received_credits = Stripe::V2::MoneyManagement::ReceivedCreditService.new(@requestor)
|
||||||
@received_debits = Stripe::V2::MoneyManagement::ReceivedDebitService.new(@requestor)
|
@received_debits = Stripe::V2::MoneyManagement::ReceivedDebitService.new(@requestor)
|
||||||
@transactions = Stripe::V2::MoneyManagement::TransactionService.new(@requestor)
|
|
||||||
@transaction_entries = Stripe::V2::MoneyManagement::TransactionEntryService.new(@requestor)
|
@transaction_entries = Stripe::V2::MoneyManagement::TransactionEntryService.new(@requestor)
|
||||||
|
@transactions = Stripe::V2::MoneyManagement::TransactionService.new(@requestor)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -5,7 +5,14 @@ module Stripe
|
|||||||
module V2
|
module V2
|
||||||
module Payments
|
module Payments
|
||||||
class OffSessionPaymentService < StripeService
|
class OffSessionPaymentService < StripeService
|
||||||
class CancelParams < Stripe::RequestParams; end
|
class ListParams < Stripe::RequestParams
|
||||||
|
# The page size limit, if not provided the default is 20.
|
||||||
|
attr_accessor :limit
|
||||||
|
|
||||||
|
def initialize(limit: nil)
|
||||||
|
@limit = limit
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class CreateParams < Stripe::RequestParams
|
class CreateParams < Stripe::RequestParams
|
||||||
class RetryDetails < Stripe::RequestParams
|
class RetryDetails < Stripe::RequestParams
|
||||||
@ -78,16 +85,8 @@ module Stripe
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListParams < Stripe::RequestParams
|
|
||||||
# The page size limit, if not provided the default is 20.
|
|
||||||
attr_accessor :limit
|
|
||||||
|
|
||||||
def initialize(limit: nil)
|
|
||||||
@limit = limit
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class RetrieveParams < Stripe::RequestParams; end
|
class RetrieveParams < Stripe::RequestParams; end
|
||||||
|
class CancelParams < Stripe::RequestParams; end
|
||||||
|
|
||||||
# Cancel OSP.
|
# Cancel OSP.
|
||||||
def cancel(id, params = {}, opts = {})
|
def cancel(id, params = {}, opts = {})
|
||||||
|
@ -3,15 +3,15 @@
|
|||||||
|
|
||||||
module Stripe
|
module Stripe
|
||||||
class V2Services < StripeService
|
class V2Services < StripeService
|
||||||
attr_reader :core, :money_management, :billing, :test_helpers, :payments
|
attr_reader :billing, :core, :money_management, :payments, :test_helpers
|
||||||
|
|
||||||
def initialize(requestor)
|
def initialize(requestor)
|
||||||
super
|
super
|
||||||
|
@billing = Stripe::V2::BillingService.new(@requestor)
|
||||||
@core = Stripe::V2::CoreService.new(@requestor)
|
@core = Stripe::V2::CoreService.new(@requestor)
|
||||||
@money_management = Stripe::V2::MoneyManagementService.new(@requestor)
|
@money_management = Stripe::V2::MoneyManagementService.new(@requestor)
|
||||||
@billing = Stripe::V2::BillingService.new(@requestor)
|
|
||||||
@test_helpers = Stripe::V2::TestHelperService.new(@requestor)
|
|
||||||
@payments = Stripe::V2::PaymentService.new(@requestor)
|
@payments = Stripe::V2::PaymentService.new(@requestor)
|
||||||
|
@test_helpers = Stripe::V2::TestHelperService.new(@requestor)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
1384
rbi/stripe.rbi
1384
rbi/stripe.rbi
File diff suppressed because it is too large
Load Diff
@ -5,8 +5,8 @@
|
|||||||
module Stripe
|
module Stripe
|
||||||
module V2
|
module V2
|
||||||
class BillingService < StripeService
|
class BillingService < StripeService
|
||||||
attr_reader :meter_event_session
|
|
||||||
attr_reader :meter_event_adjustments
|
attr_reader :meter_event_adjustments
|
||||||
|
attr_reader :meter_event_session
|
||||||
attr_reader :meter_event_stream
|
attr_reader :meter_event_stream
|
||||||
attr_reader :meter_events
|
attr_reader :meter_events
|
||||||
end
|
end
|
||||||
|
@ -7,12 +7,17 @@ module Stripe
|
|||||||
module Core
|
module Core
|
||||||
class AccountService < StripeService
|
class AccountService < StripeService
|
||||||
attr_reader :persons
|
attr_reader :persons
|
||||||
class CloseParams < Stripe::RequestParams
|
class ListParams < Stripe::RequestParams
|
||||||
# Configurations on the Account to be closed. All configurations on the Account must be passed in for this request to succeed.
|
# Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have.
|
||||||
sig { returns(T.nilable(T::Array[String])) }
|
sig { returns(T.nilable(T::Array[String])) }
|
||||||
attr_accessor :applied_configurations
|
attr_accessor :applied_configurations
|
||||||
sig { params(applied_configurations: T.nilable(T::Array[String])).void }
|
# The upper limit on the number of accounts returned by the List Account request.
|
||||||
def initialize(applied_configurations: nil); end
|
sig { returns(T.nilable(Integer)) }
|
||||||
|
attr_accessor :limit
|
||||||
|
sig {
|
||||||
|
params(applied_configurations: T.nilable(T::Array[String]), limit: T.nilable(Integer)).void
|
||||||
|
}
|
||||||
|
def initialize(applied_configurations: nil, limit: nil); end
|
||||||
end
|
end
|
||||||
class CreateParams < Stripe::RequestParams
|
class CreateParams < Stripe::RequestParams
|
||||||
class Configuration < Stripe::RequestParams
|
class Configuration < Stripe::RequestParams
|
||||||
@ -2163,18 +2168,6 @@ module Stripe
|
|||||||
metadata: nil
|
metadata: nil
|
||||||
); end
|
); end
|
||||||
end
|
end
|
||||||
class ListParams < Stripe::RequestParams
|
|
||||||
# Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have.
|
|
||||||
sig { returns(T.nilable(T::Array[String])) }
|
|
||||||
attr_accessor :applied_configurations
|
|
||||||
# The upper limit on the number of accounts returned by the List Account request.
|
|
||||||
sig { returns(T.nilable(Integer)) }
|
|
||||||
attr_accessor :limit
|
|
||||||
sig {
|
|
||||||
params(applied_configurations: T.nilable(T::Array[String]), limit: T.nilable(Integer)).void
|
|
||||||
}
|
|
||||||
def initialize(applied_configurations: nil, limit: nil); end
|
|
||||||
end
|
|
||||||
class RetrieveParams < Stripe::RequestParams
|
class RetrieveParams < Stripe::RequestParams
|
||||||
# Additional fields to include in the response.
|
# Additional fields to include in the response.
|
||||||
sig { returns(T.nilable(T::Array[String])) }
|
sig { returns(T.nilable(T::Array[String])) }
|
||||||
@ -4357,6 +4350,13 @@ module Stripe
|
|||||||
metadata: nil
|
metadata: nil
|
||||||
); end
|
); end
|
||||||
end
|
end
|
||||||
|
class CloseParams < Stripe::RequestParams
|
||||||
|
# Configurations on the Account to be closed. All configurations on the Account must be passed in for this request to succeed.
|
||||||
|
sig { returns(T.nilable(T::Array[String])) }
|
||||||
|
attr_accessor :applied_configurations
|
||||||
|
sig { params(applied_configurations: T.nilable(T::Array[String])).void }
|
||||||
|
def initialize(applied_configurations: nil); end
|
||||||
|
end
|
||||||
# Removes access to the Account and its associated resources.
|
# Removes access to the Account and its associated resources.
|
||||||
sig {
|
sig {
|
||||||
params(id: String, params: T.any(::Stripe::V2::Core::AccountService::CloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Account)
|
params(id: String, params: T.any(::Stripe::V2::Core::AccountService::CloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Account)
|
||||||
|
@ -7,6 +7,13 @@ module Stripe
|
|||||||
module Core
|
module Core
|
||||||
module Accounts
|
module Accounts
|
||||||
class PersonService < StripeService
|
class PersonService < StripeService
|
||||||
|
class ListParams < Stripe::RequestParams
|
||||||
|
# The upper limit on the number of accounts returned by the List Account request.
|
||||||
|
sig { returns(T.nilable(Integer)) }
|
||||||
|
attr_accessor :limit
|
||||||
|
sig { params(limit: T.nilable(Integer)).void }
|
||||||
|
def initialize(limit: nil); end
|
||||||
|
end
|
||||||
class CreateParams < Stripe::RequestParams
|
class CreateParams < Stripe::RequestParams
|
||||||
class AdditionalAddress < Stripe::RequestParams
|
class AdditionalAddress < Stripe::RequestParams
|
||||||
# City, district, suburb, town, or village.
|
# City, district, suburb, town, or village.
|
||||||
@ -522,13 +529,6 @@ module Stripe
|
|||||||
); end
|
); end
|
||||||
end
|
end
|
||||||
class DeleteParams < Stripe::RequestParams; end
|
class DeleteParams < Stripe::RequestParams; end
|
||||||
class ListParams < Stripe::RequestParams
|
|
||||||
# The upper limit on the number of accounts returned by the List Account request.
|
|
||||||
sig { returns(T.nilable(Integer)) }
|
|
||||||
attr_accessor :limit
|
|
||||||
sig { params(limit: T.nilable(Integer)).void }
|
|
||||||
def initialize(limit: nil); end
|
|
||||||
end
|
|
||||||
class RetrieveParams < Stripe::RequestParams; end
|
class RetrieveParams < Stripe::RequestParams; end
|
||||||
class UpdateParams < Stripe::RequestParams
|
class UpdateParams < Stripe::RequestParams
|
||||||
class AdditionalAddress < Stripe::RequestParams
|
class AdditionalAddress < Stripe::RequestParams
|
||||||
|
@ -6,6 +6,16 @@ module Stripe
|
|||||||
module V2
|
module V2
|
||||||
module Core
|
module Core
|
||||||
class EventDestinationService < StripeService
|
class EventDestinationService < StripeService
|
||||||
|
class ListParams < Stripe::RequestParams
|
||||||
|
# Additional fields to include in the response. Currently supports `webhook_endpoint.url`.
|
||||||
|
sig { returns(T.nilable(T::Array[String])) }
|
||||||
|
attr_accessor :include
|
||||||
|
# The page size.
|
||||||
|
sig { returns(T.nilable(Integer)) }
|
||||||
|
attr_accessor :limit
|
||||||
|
sig { params(include: T.nilable(T::Array[String]), limit: T.nilable(Integer)).void }
|
||||||
|
def initialize(include: nil, limit: nil); end
|
||||||
|
end
|
||||||
class CreateParams < Stripe::RequestParams
|
class CreateParams < Stripe::RequestParams
|
||||||
class AmazonEventbridge < Stripe::RequestParams
|
class AmazonEventbridge < Stripe::RequestParams
|
||||||
# The AWS account ID.
|
# The AWS account ID.
|
||||||
@ -79,19 +89,6 @@ module Stripe
|
|||||||
); end
|
); end
|
||||||
end
|
end
|
||||||
class DeleteParams < Stripe::RequestParams; end
|
class DeleteParams < Stripe::RequestParams; end
|
||||||
class DisableParams < Stripe::RequestParams; end
|
|
||||||
class EnableParams < Stripe::RequestParams; end
|
|
||||||
class ListParams < Stripe::RequestParams
|
|
||||||
# Additional fields to include in the response. Currently supports `webhook_endpoint.url`.
|
|
||||||
sig { returns(T.nilable(T::Array[String])) }
|
|
||||||
attr_accessor :include
|
|
||||||
# The page size.
|
|
||||||
sig { returns(T.nilable(Integer)) }
|
|
||||||
attr_accessor :limit
|
|
||||||
sig { params(include: T.nilable(T::Array[String]), limit: T.nilable(Integer)).void }
|
|
||||||
def initialize(include: nil, limit: nil); end
|
|
||||||
end
|
|
||||||
class PingParams < Stripe::RequestParams; end
|
|
||||||
class RetrieveParams < Stripe::RequestParams
|
class RetrieveParams < Stripe::RequestParams
|
||||||
# Additional fields to include in the response.
|
# Additional fields to include in the response.
|
||||||
sig { returns(T.nilable(T::Array[String])) }
|
sig { returns(T.nilable(T::Array[String])) }
|
||||||
@ -139,6 +136,9 @@ module Stripe
|
|||||||
webhook_endpoint: nil
|
webhook_endpoint: nil
|
||||||
); end
|
); end
|
||||||
end
|
end
|
||||||
|
class DisableParams < Stripe::RequestParams; end
|
||||||
|
class EnableParams < Stripe::RequestParams; end
|
||||||
|
class PingParams < Stripe::RequestParams; end
|
||||||
# Create a new event destination.
|
# Create a new event destination.
|
||||||
sig {
|
sig {
|
||||||
params(params: T.any(::Stripe::V2::Core::EventDestinationService::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::EventDestination)
|
params(params: T.any(::Stripe::V2::Core::EventDestinationService::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::EventDestination)
|
||||||
|
@ -7,8 +7,6 @@ module Stripe
|
|||||||
module Core
|
module Core
|
||||||
module Vault
|
module Vault
|
||||||
class GbBankAccountService < StripeService
|
class GbBankAccountService < StripeService
|
||||||
class AcknowledgeConfirmationOfPayeeParams < Stripe::RequestParams; end
|
|
||||||
class ArchiveParams < Stripe::RequestParams; end
|
|
||||||
class CreateParams < Stripe::RequestParams
|
class CreateParams < Stripe::RequestParams
|
||||||
class ConfirmationOfPayee < Stripe::RequestParams
|
class ConfirmationOfPayee < Stripe::RequestParams
|
||||||
# The business type to be checked against. Legal entity information will be used if unspecified.
|
# The business type to be checked against. Legal entity information will be used if unspecified.
|
||||||
@ -52,6 +50,9 @@ module Stripe
|
|||||||
sort_code: nil
|
sort_code: nil
|
||||||
); end
|
); end
|
||||||
end
|
end
|
||||||
|
class RetrieveParams < Stripe::RequestParams; end
|
||||||
|
class AcknowledgeConfirmationOfPayeeParams < Stripe::RequestParams; end
|
||||||
|
class ArchiveParams < Stripe::RequestParams; end
|
||||||
class InitiateConfirmationOfPayeeParams < Stripe::RequestParams
|
class InitiateConfirmationOfPayeeParams < Stripe::RequestParams
|
||||||
# The business type to be checked against. Legal entity information will be used if unspecified.
|
# The business type to be checked against. Legal entity information will be used if unspecified.
|
||||||
sig { returns(T.nilable(String)) }
|
sig { returns(T.nilable(String)) }
|
||||||
@ -62,7 +63,6 @@ module Stripe
|
|||||||
sig { params(business_type: T.nilable(String), name: T.nilable(String)).void }
|
sig { params(business_type: T.nilable(String), name: T.nilable(String)).void }
|
||||||
def initialize(business_type: nil, name: nil); end
|
def initialize(business_type: nil, name: nil); end
|
||||||
end
|
end
|
||||||
class RetrieveParams < Stripe::RequestParams; end
|
|
||||||
# Confirm that you have received the result of the Confirmation of Payee request, and that you are okay with
|
# Confirm that you have received the result of the Confirmation of Payee request, and that you are okay with
|
||||||
# proceeding to pay out to this bank account despite the account not matching, partially matching, or the service
|
# proceeding to pay out to this bank account despite the account not matching, partially matching, or the service
|
||||||
# being unavailable. Once you confirm this, you will be able to send OutboundPayments, but this may lead to
|
# being unavailable. Once you confirm this, you will be able to send OutboundPayments, but this may lead to
|
||||||
|
@ -7,7 +7,6 @@ module Stripe
|
|||||||
module Core
|
module Core
|
||||||
module Vault
|
module Vault
|
||||||
class UsBankAccountService < StripeService
|
class UsBankAccountService < StripeService
|
||||||
class ArchiveParams < Stripe::RequestParams; end
|
|
||||||
class CreateParams < Stripe::RequestParams
|
class CreateParams < Stripe::RequestParams
|
||||||
# The account number of the bank account.
|
# The account number of the bank account.
|
||||||
sig { returns(String) }
|
sig { returns(String) }
|
||||||
@ -44,6 +43,7 @@ module Stripe
|
|||||||
}
|
}
|
||||||
def initialize(fedwire_routing_number: nil, routing_number: nil); end
|
def initialize(fedwire_routing_number: nil, routing_number: nil); end
|
||||||
end
|
end
|
||||||
|
class ArchiveParams < Stripe::RequestParams; end
|
||||||
# Archive a USBankAccount object. USBankAccount objects will not be automatically archived by Stripe.
|
# Archive a USBankAccount object. USBankAccount objects will not be automatically archived by Stripe.
|
||||||
# Archived USBankAccount objects cannot be used as outbound destinations
|
# Archived USBankAccount objects cannot be used as outbound destinations
|
||||||
# and will not appear in the outbound destination list.
|
# and will not appear in the outbound destination list.
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
module Stripe
|
module Stripe
|
||||||
module V2
|
module V2
|
||||||
class CoreService < StripeService
|
class CoreService < StripeService
|
||||||
attr_reader :accounts
|
|
||||||
attr_reader :account_links
|
attr_reader :account_links
|
||||||
|
attr_reader :accounts
|
||||||
attr_reader :event_destinations
|
attr_reader :event_destinations
|
||||||
attr_reader :events
|
attr_reader :events
|
||||||
attr_reader :vault
|
attr_reader :vault
|
||||||
|
@ -6,16 +6,6 @@ module Stripe
|
|||||||
module V2
|
module V2
|
||||||
module MoneyManagement
|
module MoneyManagement
|
||||||
class FinancialAddressService < StripeService
|
class FinancialAddressService < StripeService
|
||||||
class CreateParams < Stripe::RequestParams
|
|
||||||
# Open Enum. The currency the FinancialAddress should support. Currently, only the `usd` and `gbp` values are supported.
|
|
||||||
sig { returns(String) }
|
|
||||||
attr_accessor :currency
|
|
||||||
# The ID of the FinancialAccount the new FinancialAddress should be associated with.
|
|
||||||
sig { returns(String) }
|
|
||||||
attr_accessor :financial_account
|
|
||||||
sig { params(currency: String, financial_account: String).void }
|
|
||||||
def initialize(currency: nil, financial_account: nil); end
|
|
||||||
end
|
|
||||||
class ListParams < Stripe::RequestParams
|
class ListParams < Stripe::RequestParams
|
||||||
# The ID of the FinancialAccount for which FinancialAddresses are to be returned.
|
# The ID of the FinancialAccount for which FinancialAddresses are to be returned.
|
||||||
sig { returns(T.nilable(String)) }
|
sig { returns(T.nilable(String)) }
|
||||||
@ -31,6 +21,16 @@ module Stripe
|
|||||||
}
|
}
|
||||||
def initialize(financial_account: nil, include: nil, limit: nil); end
|
def initialize(financial_account: nil, include: nil, limit: nil); end
|
||||||
end
|
end
|
||||||
|
class CreateParams < Stripe::RequestParams
|
||||||
|
# Open Enum. The currency the FinancialAddress should support. Currently, only the `usd` and `gbp` values are supported.
|
||||||
|
sig { returns(String) }
|
||||||
|
attr_accessor :currency
|
||||||
|
# The ID of the FinancialAccount the new FinancialAddress should be associated with.
|
||||||
|
sig { returns(String) }
|
||||||
|
attr_accessor :financial_account
|
||||||
|
sig { params(currency: String, financial_account: String).void }
|
||||||
|
def initialize(currency: nil, financial_account: nil); end
|
||||||
|
end
|
||||||
class RetrieveParams < Stripe::RequestParams
|
class RetrieveParams < Stripe::RequestParams
|
||||||
# Open Enum. A list of fields to reveal in the FinancialAddresses returned.
|
# Open Enum. A list of fields to reveal in the FinancialAddresses returned.
|
||||||
sig { returns(T.nilable(T::Array[String])) }
|
sig { returns(T.nilable(T::Array[String])) }
|
||||||
|
@ -6,6 +6,42 @@ module Stripe
|
|||||||
module V2
|
module V2
|
||||||
module MoneyManagement
|
module MoneyManagement
|
||||||
class InboundTransferService < StripeService
|
class InboundTransferService < StripeService
|
||||||
|
class ListParams < Stripe::RequestParams
|
||||||
|
# Filter for objects created at the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
sig { returns(T.nilable(String)) }
|
||||||
|
attr_accessor :created
|
||||||
|
# Filter for objects created after the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
sig { returns(T.nilable(String)) }
|
||||||
|
attr_accessor :created_gt
|
||||||
|
# Filter for objects created on or after the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
sig { returns(T.nilable(String)) }
|
||||||
|
attr_accessor :created_gte
|
||||||
|
# Filter for objects created before the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
sig { returns(T.nilable(String)) }
|
||||||
|
attr_accessor :created_lt
|
||||||
|
# Filter for objects created on or before the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
sig { returns(T.nilable(String)) }
|
||||||
|
attr_accessor :created_lte
|
||||||
|
# The page limit.
|
||||||
|
sig { returns(T.nilable(Integer)) }
|
||||||
|
attr_accessor :limit
|
||||||
|
sig {
|
||||||
|
params(created: T.nilable(String), created_gt: T.nilable(String), created_gte: T.nilable(String), created_lt: T.nilable(String), created_lte: T.nilable(String), limit: T.nilable(Integer)).void
|
||||||
|
}
|
||||||
|
def initialize(
|
||||||
|
created: nil,
|
||||||
|
created_gt: nil,
|
||||||
|
created_gte: nil,
|
||||||
|
created_lt: nil,
|
||||||
|
created_lte: nil,
|
||||||
|
limit: nil
|
||||||
|
); end
|
||||||
|
end
|
||||||
class CreateParams < Stripe::RequestParams
|
class CreateParams < Stripe::RequestParams
|
||||||
class From < Stripe::RequestParams
|
class From < Stripe::RequestParams
|
||||||
# An optional currency field used to specify which currency is debited from the Payment Method.
|
# An optional currency field used to specify which currency is debited from the Payment Method.
|
||||||
@ -45,42 +81,6 @@ module Stripe
|
|||||||
}
|
}
|
||||||
def initialize(amount: nil, description: nil, from: nil, to: nil); end
|
def initialize(amount: nil, description: nil, from: nil, to: nil); end
|
||||||
end
|
end
|
||||||
class ListParams < Stripe::RequestParams
|
|
||||||
# Filter for objects created at the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
sig { returns(T.nilable(String)) }
|
|
||||||
attr_accessor :created
|
|
||||||
# Filter for objects created after the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
sig { returns(T.nilable(String)) }
|
|
||||||
attr_accessor :created_gt
|
|
||||||
# Filter for objects created on or after the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
sig { returns(T.nilable(String)) }
|
|
||||||
attr_accessor :created_gte
|
|
||||||
# Filter for objects created before the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
sig { returns(T.nilable(String)) }
|
|
||||||
attr_accessor :created_lt
|
|
||||||
# Filter for objects created on or before the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
sig { returns(T.nilable(String)) }
|
|
||||||
attr_accessor :created_lte
|
|
||||||
# The page limit.
|
|
||||||
sig { returns(T.nilable(Integer)) }
|
|
||||||
attr_accessor :limit
|
|
||||||
sig {
|
|
||||||
params(created: T.nilable(String), created_gt: T.nilable(String), created_gte: T.nilable(String), created_lt: T.nilable(String), created_lte: T.nilable(String), limit: T.nilable(Integer)).void
|
|
||||||
}
|
|
||||||
def initialize(
|
|
||||||
created: nil,
|
|
||||||
created_gt: nil,
|
|
||||||
created_gte: nil,
|
|
||||||
created_lt: nil,
|
|
||||||
created_lte: nil,
|
|
||||||
limit: nil
|
|
||||||
); end
|
|
||||||
end
|
|
||||||
class RetrieveParams < Stripe::RequestParams; end
|
class RetrieveParams < Stripe::RequestParams; end
|
||||||
# InboundTransfers APIs are used to create, retrieve or list InboundTransfers.
|
# InboundTransfers APIs are used to create, retrieve or list InboundTransfers.
|
||||||
#
|
#
|
||||||
|
@ -6,7 +6,50 @@ module Stripe
|
|||||||
module V2
|
module V2
|
||||||
module MoneyManagement
|
module MoneyManagement
|
||||||
class OutboundPaymentService < StripeService
|
class OutboundPaymentService < StripeService
|
||||||
class CancelParams < Stripe::RequestParams; end
|
class ListParams < Stripe::RequestParams
|
||||||
|
# Filter for objects created at the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
sig { returns(T.nilable(String)) }
|
||||||
|
attr_accessor :created
|
||||||
|
# Filter for objects created after the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
sig { returns(T.nilable(String)) }
|
||||||
|
attr_accessor :created_gt
|
||||||
|
# Filter for objects created on or after the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
sig { returns(T.nilable(String)) }
|
||||||
|
attr_accessor :created_gte
|
||||||
|
# Filter for objects created before the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
sig { returns(T.nilable(String)) }
|
||||||
|
attr_accessor :created_lt
|
||||||
|
# Filter for objects created on or before the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
sig { returns(T.nilable(String)) }
|
||||||
|
attr_accessor :created_lte
|
||||||
|
# The maximum number of results to return.
|
||||||
|
sig { returns(T.nilable(Integer)) }
|
||||||
|
attr_accessor :limit
|
||||||
|
# Only return OutboundPayments sent to this recipient.
|
||||||
|
sig { returns(T.nilable(String)) }
|
||||||
|
attr_accessor :recipient
|
||||||
|
# Closed Enum. Only return OutboundPayments with this status.
|
||||||
|
sig { returns(T.nilable(T::Array[String])) }
|
||||||
|
attr_accessor :status
|
||||||
|
sig {
|
||||||
|
params(created: T.nilable(String), created_gt: T.nilable(String), created_gte: T.nilable(String), created_lt: T.nilable(String), created_lte: T.nilable(String), limit: T.nilable(Integer), recipient: T.nilable(String), status: T.nilable(T::Array[String])).void
|
||||||
|
}
|
||||||
|
def initialize(
|
||||||
|
created: nil,
|
||||||
|
created_gt: nil,
|
||||||
|
created_gte: nil,
|
||||||
|
created_lt: nil,
|
||||||
|
created_lte: nil,
|
||||||
|
limit: nil,
|
||||||
|
recipient: nil,
|
||||||
|
status: nil
|
||||||
|
); end
|
||||||
|
end
|
||||||
class CreateParams < Stripe::RequestParams
|
class CreateParams < Stripe::RequestParams
|
||||||
class DeliveryOptions < Stripe::RequestParams
|
class DeliveryOptions < Stripe::RequestParams
|
||||||
# Open Enum. Method for bank account.
|
# Open Enum. Method for bank account.
|
||||||
@ -96,51 +139,8 @@ module Stripe
|
|||||||
to: nil
|
to: nil
|
||||||
); end
|
); end
|
||||||
end
|
end
|
||||||
class ListParams < Stripe::RequestParams
|
|
||||||
# Filter for objects created at the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
sig { returns(T.nilable(String)) }
|
|
||||||
attr_accessor :created
|
|
||||||
# Filter for objects created after the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
sig { returns(T.nilable(String)) }
|
|
||||||
attr_accessor :created_gt
|
|
||||||
# Filter for objects created on or after the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
sig { returns(T.nilable(String)) }
|
|
||||||
attr_accessor :created_gte
|
|
||||||
# Filter for objects created before the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
sig { returns(T.nilable(String)) }
|
|
||||||
attr_accessor :created_lt
|
|
||||||
# Filter for objects created on or before the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
sig { returns(T.nilable(String)) }
|
|
||||||
attr_accessor :created_lte
|
|
||||||
# The maximum number of results to return.
|
|
||||||
sig { returns(T.nilable(Integer)) }
|
|
||||||
attr_accessor :limit
|
|
||||||
# Only return OutboundPayments sent to this recipient.
|
|
||||||
sig { returns(T.nilable(String)) }
|
|
||||||
attr_accessor :recipient
|
|
||||||
# Closed Enum. Only return OutboundPayments with this status.
|
|
||||||
sig { returns(T.nilable(T::Array[String])) }
|
|
||||||
attr_accessor :status
|
|
||||||
sig {
|
|
||||||
params(created: T.nilable(String), created_gt: T.nilable(String), created_gte: T.nilable(String), created_lt: T.nilable(String), created_lte: T.nilable(String), limit: T.nilable(Integer), recipient: T.nilable(String), status: T.nilable(T::Array[String])).void
|
|
||||||
}
|
|
||||||
def initialize(
|
|
||||||
created: nil,
|
|
||||||
created_gt: nil,
|
|
||||||
created_gte: nil,
|
|
||||||
created_lt: nil,
|
|
||||||
created_lte: nil,
|
|
||||||
limit: nil,
|
|
||||||
recipient: nil,
|
|
||||||
status: nil
|
|
||||||
); end
|
|
||||||
end
|
|
||||||
class RetrieveParams < Stripe::RequestParams; end
|
class RetrieveParams < Stripe::RequestParams; end
|
||||||
|
class CancelParams < Stripe::RequestParams; end
|
||||||
# Cancels an OutboundPayment. Only processing OutboundPayments can be canceled.
|
# Cancels an OutboundPayment. Only processing OutboundPayments can be canceled.
|
||||||
#
|
#
|
||||||
# ** raises AlreadyCanceledError
|
# ** raises AlreadyCanceledError
|
||||||
|
@ -6,7 +6,13 @@ module Stripe
|
|||||||
module V2
|
module V2
|
||||||
module MoneyManagement
|
module MoneyManagement
|
||||||
class OutboundSetupIntentService < StripeService
|
class OutboundSetupIntentService < StripeService
|
||||||
class CancelParams < Stripe::RequestParams; end
|
class ListParams < Stripe::RequestParams
|
||||||
|
# The page size.
|
||||||
|
sig { returns(T.nilable(Integer)) }
|
||||||
|
attr_accessor :limit
|
||||||
|
sig { params(limit: T.nilable(Integer)).void }
|
||||||
|
def initialize(limit: nil); end
|
||||||
|
end
|
||||||
class CreateParams < Stripe::RequestParams
|
class CreateParams < Stripe::RequestParams
|
||||||
class PayoutMethodData < Stripe::RequestParams
|
class PayoutMethodData < Stripe::RequestParams
|
||||||
class BankAccount < Stripe::RequestParams
|
class BankAccount < Stripe::RequestParams
|
||||||
@ -90,13 +96,6 @@ module Stripe
|
|||||||
}
|
}
|
||||||
def initialize(payout_method: nil, payout_method_data: nil, usage_intent: nil); end
|
def initialize(payout_method: nil, payout_method_data: nil, usage_intent: nil); end
|
||||||
end
|
end
|
||||||
class ListParams < Stripe::RequestParams
|
|
||||||
# The page size.
|
|
||||||
sig { returns(T.nilable(Integer)) }
|
|
||||||
attr_accessor :limit
|
|
||||||
sig { params(limit: T.nilable(Integer)).void }
|
|
||||||
def initialize(limit: nil); end
|
|
||||||
end
|
|
||||||
class RetrieveParams < Stripe::RequestParams; end
|
class RetrieveParams < Stripe::RequestParams; end
|
||||||
class UpdateParams < Stripe::RequestParams
|
class UpdateParams < Stripe::RequestParams
|
||||||
class PayoutMethodData < Stripe::RequestParams
|
class PayoutMethodData < Stripe::RequestParams
|
||||||
@ -178,6 +177,7 @@ module Stripe
|
|||||||
}
|
}
|
||||||
def initialize(payout_method: nil, payout_method_data: nil); end
|
def initialize(payout_method: nil, payout_method_data: nil); end
|
||||||
end
|
end
|
||||||
|
class CancelParams < Stripe::RequestParams; end
|
||||||
# Cancel an OutboundSetupIntent object.
|
# Cancel an OutboundSetupIntent object.
|
||||||
sig {
|
sig {
|
||||||
params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundSetupIntentService::CancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundSetupIntent)
|
params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundSetupIntentService::CancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundSetupIntent)
|
||||||
|
@ -6,7 +6,46 @@ module Stripe
|
|||||||
module V2
|
module V2
|
||||||
module MoneyManagement
|
module MoneyManagement
|
||||||
class OutboundTransferService < StripeService
|
class OutboundTransferService < StripeService
|
||||||
class CancelParams < Stripe::RequestParams; end
|
class ListParams < Stripe::RequestParams
|
||||||
|
# Filter for objects created at the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
sig { returns(T.nilable(String)) }
|
||||||
|
attr_accessor :created
|
||||||
|
# Filter for objects created after the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
sig { returns(T.nilable(String)) }
|
||||||
|
attr_accessor :created_gt
|
||||||
|
# Filter for objects created on or after the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
sig { returns(T.nilable(String)) }
|
||||||
|
attr_accessor :created_gte
|
||||||
|
# Filter for objects created before the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
sig { returns(T.nilable(String)) }
|
||||||
|
attr_accessor :created_lt
|
||||||
|
# Filter for objects created on or before the specified timestamp.
|
||||||
|
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||||
|
sig { returns(T.nilable(String)) }
|
||||||
|
attr_accessor :created_lte
|
||||||
|
# The maximum number of results to return.
|
||||||
|
sig { returns(T.nilable(Integer)) }
|
||||||
|
attr_accessor :limit
|
||||||
|
# Closed Enum. Only return OutboundTransfers with this status.
|
||||||
|
sig { returns(T.nilable(T::Array[String])) }
|
||||||
|
attr_accessor :status
|
||||||
|
sig {
|
||||||
|
params(created: T.nilable(String), created_gt: T.nilable(String), created_gte: T.nilable(String), created_lt: T.nilable(String), created_lte: T.nilable(String), limit: T.nilable(Integer), status: T.nilable(T::Array[String])).void
|
||||||
|
}
|
||||||
|
def initialize(
|
||||||
|
created: nil,
|
||||||
|
created_gt: nil,
|
||||||
|
created_gte: nil,
|
||||||
|
created_lt: nil,
|
||||||
|
created_lte: nil,
|
||||||
|
limit: nil,
|
||||||
|
status: nil
|
||||||
|
); end
|
||||||
|
end
|
||||||
class CreateParams < Stripe::RequestParams
|
class CreateParams < Stripe::RequestParams
|
||||||
class DeliveryOptions < Stripe::RequestParams
|
class DeliveryOptions < Stripe::RequestParams
|
||||||
# Open Enum. Method for bank account.
|
# Open Enum. Method for bank account.
|
||||||
@ -75,47 +114,8 @@ module Stripe
|
|||||||
to: nil
|
to: nil
|
||||||
); end
|
); end
|
||||||
end
|
end
|
||||||
class ListParams < Stripe::RequestParams
|
|
||||||
# Filter for objects created at the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
sig { returns(T.nilable(String)) }
|
|
||||||
attr_accessor :created
|
|
||||||
# Filter for objects created after the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
sig { returns(T.nilable(String)) }
|
|
||||||
attr_accessor :created_gt
|
|
||||||
# Filter for objects created on or after the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
sig { returns(T.nilable(String)) }
|
|
||||||
attr_accessor :created_gte
|
|
||||||
# Filter for objects created before the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
sig { returns(T.nilable(String)) }
|
|
||||||
attr_accessor :created_lt
|
|
||||||
# Filter for objects created on or before the specified timestamp.
|
|
||||||
# Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
|
||||||
sig { returns(T.nilable(String)) }
|
|
||||||
attr_accessor :created_lte
|
|
||||||
# The maximum number of results to return.
|
|
||||||
sig { returns(T.nilable(Integer)) }
|
|
||||||
attr_accessor :limit
|
|
||||||
# Closed Enum. Only return OutboundTransfers with this status.
|
|
||||||
sig { returns(T.nilable(T::Array[String])) }
|
|
||||||
attr_accessor :status
|
|
||||||
sig {
|
|
||||||
params(created: T.nilable(String), created_gt: T.nilable(String), created_gte: T.nilable(String), created_lt: T.nilable(String), created_lte: T.nilable(String), limit: T.nilable(Integer), status: T.nilable(T::Array[String])).void
|
|
||||||
}
|
|
||||||
def initialize(
|
|
||||||
created: nil,
|
|
||||||
created_gt: nil,
|
|
||||||
created_gte: nil,
|
|
||||||
created_lt: nil,
|
|
||||||
created_lte: nil,
|
|
||||||
limit: nil,
|
|
||||||
status: nil
|
|
||||||
); end
|
|
||||||
end
|
|
||||||
class RetrieveParams < Stripe::RequestParams; end
|
class RetrieveParams < Stripe::RequestParams; end
|
||||||
|
class CancelParams < Stripe::RequestParams; end
|
||||||
# Cancels an OutboundTransfer. Only processing OutboundTransfers can be canceled.
|
# Cancels an OutboundTransfer. Only processing OutboundTransfers can be canceled.
|
||||||
#
|
#
|
||||||
# ** raises AlreadyCanceledError
|
# ** raises AlreadyCanceledError
|
||||||
|
@ -6,7 +6,6 @@ module Stripe
|
|||||||
module V2
|
module V2
|
||||||
module MoneyManagement
|
module MoneyManagement
|
||||||
class PayoutMethodService < StripeService
|
class PayoutMethodService < StripeService
|
||||||
class ArchiveParams < Stripe::RequestParams; end
|
|
||||||
class ListParams < Stripe::RequestParams
|
class ListParams < Stripe::RequestParams
|
||||||
class UsageStatus < Stripe::RequestParams
|
class UsageStatus < Stripe::RequestParams
|
||||||
# List of payments status to filter by.
|
# List of payments status to filter by.
|
||||||
@ -34,6 +33,7 @@ module Stripe
|
|||||||
def initialize(limit: nil, usage_status: nil); end
|
def initialize(limit: nil, usage_status: nil); end
|
||||||
end
|
end
|
||||||
class RetrieveParams < Stripe::RequestParams; end
|
class RetrieveParams < Stripe::RequestParams; end
|
||||||
|
class ArchiveParams < Stripe::RequestParams; end
|
||||||
class UnarchiveParams < Stripe::RequestParams; end
|
class UnarchiveParams < Stripe::RequestParams; end
|
||||||
# Archive a PayoutMethod object. Archived objects cannot be used as payout methods
|
# Archive a PayoutMethod object. Archived objects cannot be used as payout methods
|
||||||
# and will not appear in the payout method list.
|
# and will not appear in the payout method list.
|
||||||
|
@ -9,16 +9,16 @@ module Stripe
|
|||||||
attr_reader :financial_accounts
|
attr_reader :financial_accounts
|
||||||
attr_reader :financial_addresses
|
attr_reader :financial_addresses
|
||||||
attr_reader :inbound_transfers
|
attr_reader :inbound_transfers
|
||||||
attr_reader :outbound_payments
|
|
||||||
attr_reader :outbound_payment_quotes
|
attr_reader :outbound_payment_quotes
|
||||||
attr_reader :outbound_transfers
|
attr_reader :outbound_payments
|
||||||
attr_reader :outbound_setup_intents
|
attr_reader :outbound_setup_intents
|
||||||
|
attr_reader :outbound_transfers
|
||||||
attr_reader :payout_methods
|
attr_reader :payout_methods
|
||||||
attr_reader :payout_methods_bank_account_spec
|
attr_reader :payout_methods_bank_account_spec
|
||||||
attr_reader :received_credits
|
attr_reader :received_credits
|
||||||
attr_reader :received_debits
|
attr_reader :received_debits
|
||||||
attr_reader :transactions
|
|
||||||
attr_reader :transaction_entries
|
attr_reader :transaction_entries
|
||||||
|
attr_reader :transactions
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
@ -6,7 +6,13 @@ module Stripe
|
|||||||
module V2
|
module V2
|
||||||
module Payments
|
module Payments
|
||||||
class OffSessionPaymentService < StripeService
|
class OffSessionPaymentService < StripeService
|
||||||
class CancelParams < Stripe::RequestParams; end
|
class ListParams < Stripe::RequestParams
|
||||||
|
# The page size limit, if not provided the default is 20.
|
||||||
|
sig { returns(T.nilable(Integer)) }
|
||||||
|
attr_accessor :limit
|
||||||
|
sig { params(limit: T.nilable(Integer)).void }
|
||||||
|
def initialize(limit: nil); end
|
||||||
|
end
|
||||||
class CreateParams < Stripe::RequestParams
|
class CreateParams < Stripe::RequestParams
|
||||||
class RetryDetails < Stripe::RequestParams
|
class RetryDetails < Stripe::RequestParams
|
||||||
# How you want Stripe to retry the payment.
|
# How you want Stripe to retry the payment.
|
||||||
@ -79,14 +85,8 @@ module Stripe
|
|||||||
transfer_data: nil
|
transfer_data: nil
|
||||||
); end
|
); end
|
||||||
end
|
end
|
||||||
class ListParams < Stripe::RequestParams
|
|
||||||
# The page size limit, if not provided the default is 20.
|
|
||||||
sig { returns(T.nilable(Integer)) }
|
|
||||||
attr_accessor :limit
|
|
||||||
sig { params(limit: T.nilable(Integer)).void }
|
|
||||||
def initialize(limit: nil); end
|
|
||||||
end
|
|
||||||
class RetrieveParams < Stripe::RequestParams; end
|
class RetrieveParams < Stripe::RequestParams; end
|
||||||
|
class CancelParams < Stripe::RequestParams; end
|
||||||
# Cancel OSP.
|
# Cancel OSP.
|
||||||
sig {
|
sig {
|
||||||
params(id: String, params: T.any(::Stripe::V2::Payments::OffSessionPaymentService::CancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Payments::OffSessionPayment)
|
params(id: String, params: T.any(::Stripe::V2::Payments::OffSessionPaymentService::CancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Payments::OffSessionPayment)
|
||||||
|
@ -4,10 +4,10 @@
|
|||||||
# typed: true
|
# typed: true
|
||||||
module Stripe
|
module Stripe
|
||||||
class V2Services < StripeService
|
class V2Services < StripeService
|
||||||
|
attr_reader :billing
|
||||||
attr_reader :core
|
attr_reader :core
|
||||||
attr_reader :money_management
|
attr_reader :money_management
|
||||||
attr_reader :billing
|
|
||||||
attr_reader :test_helpers
|
|
||||||
attr_reader :payments
|
attr_reader :payments
|
||||||
|
attr_reader :test_helpers
|
||||||
end
|
end
|
||||||
end
|
end
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user