Class: Stripe::TestHelpers::Treasury::ReceivedDebitCreateParams::NetworkDetails

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

Defined Under Namespace

Classes: Ach

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of NetworkDetails.



48
49
50
51
# File 'lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb', line 48

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

Instance Attribute Details

#achObject

Optional fields for ‘ach`.



44
45
46
# File 'lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb', line 44

def ach
  @ach
end

#typeObject

The type of flow that originated the ReceivedDebit.



46
47
48
# File 'lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb', line 46

def type
  @type
end