Class: Stripe::Treasury::FinancialAccountService::CreateParams::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.



218
219
220
221
# File 'lib/stripe/services/treasury/financial_account_service.rb', line 218

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.



214
215
216
# File 'lib/stripe/services/treasury/financial_account_service.rb', line 214

def inbound_flows
  @inbound_flows
end

#outbound_flowsObject

Restricts all outbound money movement.



216
217
218
# File 'lib/stripe/services/treasury/financial_account_service.rb', line 216

def outbound_flows
  @outbound_flows
end