Class: Stripe::V2::Core::AccountCreateParams::Configuration::Storer::Capabilities

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/core/account_create_params.rb

Defined Under Namespace

Classes: FinancialAddresses, HoldsCurrencies, InboundTransfers, OutboundPayments, OutboundTransfers

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(financial_addresses: nil, holds_currencies: nil, inbound_transfers: nil, outbound_payments: nil, outbound_transfers: nil) ⇒ Capabilities

Returns a new instance of Capabilities.



1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1225

def initialize(
  financial_addresses: nil,
  holds_currencies: nil,
  inbound_transfers: nil,
  outbound_payments: nil,
  outbound_transfers: nil
)
  @financial_addresses = financial_addresses
  @holds_currencies = holds_currencies
  @inbound_transfers = inbound_transfers
  @outbound_payments = outbound_payments
  @outbound_transfers = outbound_transfers
end

Instance Attribute Details

#financial_addressesObject

Can provision a financial address to credit/debit a FinancialAccount.



1215
1216
1217
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1215

def financial_addresses
  @financial_addresses
end

#holds_currenciesObject

Can hold storage-type funds on Stripe.



1217
1218
1219
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1217

def holds_currencies
  @holds_currencies
end

#inbound_transfersObject

Can pull funds from an external source, owned by yourself, to a FinancialAccount.



1219
1220
1221
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1219

def inbound_transfers
  @inbound_transfers
end

#outbound_paymentsObject

Can send funds from a FinancialAccount to a destination owned by someone else.



1221
1222
1223
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1221

def outbound_payments
  @outbound_payments
end

#outbound_transfersObject

Can send funds from a FinancialAccount to a destination owned by yourself.



1223
1224
1225
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1223

def outbound_transfers
  @outbound_transfers
end