Class: Stripe::Treasury::FinancialAccountFeaturesService::UpdateParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/treasury/financial_account_features_service.rb

Defined Under Namespace

Classes: CardIssuing, DepositInsurance, FinancialAddresses, InboundTransfers, IntraStripeFlows, OutboundPayments, OutboundTransfers

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(card_issuing: nil, deposit_insurance: nil, expand: nil, financial_addresses: nil, inbound_transfers: nil, intra_stripe_flows: nil, outbound_payments: nil, outbound_transfers: nil) ⇒ UpdateParams

Returns a new instance of UpdateParams.



143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
# File 'lib/stripe/services/treasury/financial_account_features_service.rb', line 143

def initialize(
  card_issuing: nil,
  deposit_insurance: nil,
  expand: nil,
  financial_addresses: nil,
  inbound_transfers: nil,
  intra_stripe_flows: nil,
  outbound_payments: nil,
  outbound_transfers: nil
)
  @card_issuing = card_issuing
  @deposit_insurance = deposit_insurance
  @expand = expand
  @financial_addresses = financial_addresses
  @inbound_transfers = inbound_transfers
  @intra_stripe_flows = intra_stripe_flows
  @outbound_payments = outbound_payments
  @outbound_transfers = outbound_transfers
end

Instance Attribute Details

#card_issuingObject

Encodes the FinancialAccount’s ability to be used with the Issuing product, including attaching cards to and drawing funds from the FinancialAccount.



127
128
129
# File 'lib/stripe/services/treasury/financial_account_features_service.rb', line 127

def card_issuing
  @card_issuing
end

#deposit_insuranceObject

Represents whether this FinancialAccount is eligible for deposit insurance. Various factors determine the insurance amount.



129
130
131
# File 'lib/stripe/services/treasury/financial_account_features_service.rb', line 129

def deposit_insurance
  @deposit_insurance
end

#expandObject

Specifies which fields in the response should be expanded.



131
132
133
# File 'lib/stripe/services/treasury/financial_account_features_service.rb', line 131

def expand
  @expand
end

#financial_addressesObject

Contains Features that add FinancialAddresses to the FinancialAccount.



133
134
135
# File 'lib/stripe/services/treasury/financial_account_features_service.rb', line 133

def financial_addresses
  @financial_addresses
end

#inbound_transfersObject

Contains settings related to adding funds to a FinancialAccount from another Account with the same owner.



135
136
137
# File 'lib/stripe/services/treasury/financial_account_features_service.rb', line 135

def inbound_transfers
  @inbound_transfers
end

#intra_stripe_flowsObject

Represents the ability for the FinancialAccount to send money to, or receive money from other FinancialAccounts (for example, via OutboundPayment).



137
138
139
# File 'lib/stripe/services/treasury/financial_account_features_service.rb', line 137

def intra_stripe_flows
  @intra_stripe_flows
end

#outbound_paymentsObject

Includes Features related to initiating money movement out of the FinancialAccount to someone else’s bucket of money.



139
140
141
# File 'lib/stripe/services/treasury/financial_account_features_service.rb', line 139

def outbound_payments
  @outbound_payments
end

#outbound_transfersObject

Contains a Feature and settings related to moving money out of the FinancialAccount into another Account with the same owner.



141
142
143
# File 'lib/stripe/services/treasury/financial_account_features_service.rb', line 141

def outbound_transfers
  @outbound_transfers
end