Class: Stripe::TestHelpers::Treasury::ReceivedDebitService::CreateParams::NetworkDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/test_helpers/treasury/received_debit_service.rb

Defined Under Namespace

Classes: Ach

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(ach: nil, type: nil) ⇒ NetworkDetails

Returns a new instance of NetworkDetails.



53
54
55
56
# File 'lib/stripe/services/test_helpers/treasury/received_debit_service.rb', line 53

def initialize(ach: nil, type: nil)
  @ach = ach
  @type = type
end

Instance Attribute Details

#achObject

Optional fields for ‘ach`.



48
49
50
# File 'lib/stripe/services/test_helpers/treasury/received_debit_service.rb', line 48

def ach
  @ach
end

#typeObject

The type of flow that originated the ReceivedDebit.



51
52
53
# File 'lib/stripe/services/test_helpers/treasury/received_debit_service.rb', line 51

def type
  @type
end