Class: Stripe::Treasury::ReceivedCredit::CreateParams::NetworkDetails

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



221
222
223
224
# File 'lib/stripe/resources/treasury/received_credit.rb', line 221

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

Instance Attribute Details

#achObject

Optional fields for ‘ach`.



217
218
219
# File 'lib/stripe/resources/treasury/received_credit.rb', line 217

def ach
  @ach
end

#typeObject

The type of flow that originated the ReceivedCredit.



219
220
221
# File 'lib/stripe/resources/treasury/received_credit.rb', line 219

def type
  @type
end