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.



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

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

Instance Attribute Details

#achObject

Optional fields for ‘ach`.



45
46
47
# File 'lib/stripe/services/test_helpers/treasury/received_debit_service.rb', line 45

def ach
  @ach
end

#typeObject

The type of flow that originated the ReceivedDebit.



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

def type
  @type
end