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

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

Constructor Details

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

Returns a new instance of PlatformRestrictions.



169
170
171
172
# File 'lib/stripe/params/treasury/financial_account_create_params.rb', line 169

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.



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

def inbound_flows
  @inbound_flows
end

#outbound_flowsObject

Restricts all outbound money movement.



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

def outbound_flows
  @outbound_flows
end