Class: Stripe::Treasury::FinancialAccountCreateParams::PlatformRestrictions

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/treasury/financial_account_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(inbound_flows: nil, outbound_flows: nil) ⇒ PlatformRestrictions

Returns a new instance of PlatformRestrictions.



166
167
168
169
# File 'lib/stripe/params/treasury/financial_account_create_params.rb', line 166

def initialize(inbound_flows: nil, outbound_flows: nil)
  @inbound_flows = inbound_flows
  @outbound_flows = outbound_flows
end

Instance Attribute Details

#inbound_flowsObject

Restricts all inbound money movement.



162
163
164
# File 'lib/stripe/params/treasury/financial_account_create_params.rb', line 162

def inbound_flows
  @inbound_flows
end

#outbound_flowsObject

Restricts all outbound money movement.



164
165
166
# File 'lib/stripe/params/treasury/financial_account_create_params.rb', line 164

def outbound_flows
  @outbound_flows
end