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.



447
448
449
450
# File 'lib/stripe/services/treasury/financial_account_service.rb', line 447

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.



443
444
445
# File 'lib/stripe/services/treasury/financial_account_service.rb', line 443

def inbound_flows
  @inbound_flows
end

#outbound_flowsObject

Restricts all outbound money movement.



445
446
447
# File 'lib/stripe/services/treasury/financial_account_service.rb', line 445

def outbound_flows
  @outbound_flows
end