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.



212
213
214
215
# File 'lib/stripe/resources/treasury/received_credit.rb', line 212

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

Instance Attribute Details

#achObject

Optional fields for ‘ach`.



208
209
210
# File 'lib/stripe/resources/treasury/received_credit.rb', line 208

def ach
  @ach
end

#typeObject

The type of flow that originated the ReceivedCredit.



210
211
212
# File 'lib/stripe/resources/treasury/received_credit.rb', line 210

def type
  @type
end