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

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/core/account_update_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.



1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1631

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.



1619
1620
1621
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1619

def consumer
  @consumer
end

#financial_addressesObject

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



1621
1622
1623
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1621

def financial_addresses
  @financial_addresses
end

#holds_currenciesObject

Can hold storage-type funds on Stripe.



1623
1624
1625
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1623

def holds_currencies
  @holds_currencies
end

#inbound_transfersObject

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



1625
1626
1627
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1625

def inbound_transfers
  @inbound_transfers
end

#outbound_paymentsObject

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



1627
1628
1629
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1627

def outbound_payments
  @outbound_payments
end

#outbound_transfersObject

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



1629
1630
1631
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1629

def outbound_transfers
  @outbound_transfers
end