Class: Stripe::Treasury::FinancialAccountUpdateParams::PlatformRestrictions

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



184
185
186
187
# File 'lib/stripe/params/treasury/financial_account_update_params.rb', line 184

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.



180
181
182
# File 'lib/stripe/params/treasury/financial_account_update_params.rb', line 180

def inbound_flows
  @inbound_flows
end

#outbound_flowsObject

Restricts all outbound money movement.



182
183
184
# File 'lib/stripe/params/treasury/financial_account_update_params.rb', line 182

def outbound_flows
  @outbound_flows
end