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

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/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.



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

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

Instance Attribute Details

#achObject

Optional fields for ‘ach`.



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

def ach
  @ach
end

#typeObject

The type of flow that originated the ReceivedDebit.



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

def type
  @type
end