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.



296
297
298
299
# File 'lib/stripe/resources/treasury/received_credit.rb', line 296

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

Instance Attribute Details

#achObject

Optional fields for ‘ach`.



292
293
294
# File 'lib/stripe/resources/treasury/received_credit.rb', line 292

def ach
  @ach
end

#typeObject

The type of flow that originated the ReceivedCredit.



294
295
296
# File 'lib/stripe/resources/treasury/received_credit.rb', line 294

def type
  @type
end