Class: Stripe::Treasury::FinancialAccount::UpdateParams::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.



482
483
484
485
# File 'lib/stripe/resources/treasury/financial_account.rb', line 482

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.



478
479
480
# File 'lib/stripe/resources/treasury/financial_account.rb', line 478

def inbound_flows
  @inbound_flows
end

#outbound_flowsObject

Restricts all outbound money movement.



480
481
482
# File 'lib/stripe/resources/treasury/financial_account.rb', line 480

def outbound_flows
  @outbound_flows
end