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: Consumer, 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(consumer: nil, financial_addresses: nil, holds_currencies: nil, inbound_transfers: nil, outbound_payments: nil, outbound_transfers: nil) ⇒ Capabilities

Returns a new instance of Capabilities.



1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1615

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

Instance Attribute Details

#consumerObject

Can provision a consumer financial account on Stripe.



1603
1604
1605
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1603

def consumer
  @consumer
end

#financial_addressesObject

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



1605
1606
1607
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1605

def financial_addresses
  @financial_addresses
end

#holds_currenciesObject

Can hold storage-type funds on Stripe.



1607
1608
1609
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1607

def holds_currencies
  @holds_currencies
end

#inbound_transfersObject

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



1609
1610
1611
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1609

def inbound_transfers
  @inbound_transfers
end

#outbound_paymentsObject

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



1611
1612
1613
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1611

def outbound_payments
  @outbound_payments
end

#outbound_transfersObject

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



1613
1614
1615
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1613

def outbound_transfers
  @outbound_transfers
end