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.



272
273
274
275
# File 'lib/stripe/resources/treasury/financial_account.rb', line 272

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.



268
269
270
# File 'lib/stripe/resources/treasury/financial_account.rb', line 268

def inbound_flows
  @inbound_flows
end

#outbound_flowsObject

Restricts all outbound money movement.



270
271
272
# File 'lib/stripe/resources/treasury/financial_account.rb', line 270

def outbound_flows
  @outbound_flows
end