Class: Stripe::Treasury::FinancialAccountService::UpdateParams::PlatformRestrictions

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



437
438
439
440
# File 'lib/stripe/services/treasury/financial_account_service.rb', line 437

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.



433
434
435
# File 'lib/stripe/services/treasury/financial_account_service.rb', line 433

def inbound_flows
  @inbound_flows
end

#outbound_flowsObject

Restricts all outbound money movement.



435
436
437
# File 'lib/stripe/services/treasury/financial_account_service.rb', line 435

def outbound_flows
  @outbound_flows
end