Class: Stripe::Treasury::FinancialAccount::CreateParams::PlatformRestrictions

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



297
298
299
300
# File 'lib/stripe/resources/treasury/financial_account.rb', line 297

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.



292
293
294
# File 'lib/stripe/resources/treasury/financial_account.rb', line 292

def inbound_flows
  @inbound_flows
end

#outbound_flowsObject

Restricts all outbound money movement.



295
296
297
# File 'lib/stripe/resources/treasury/financial_account.rb', line 295

def outbound_flows
  @outbound_flows
end