Class: Stripe::Mandate::PaymentMethodDetails

Inherits:
StripeObject show all
Defined in:
lib/stripe/resources/mandate.rb

Defined Under Namespace

Classes: AcssDebit, AmazonPay, AuBecsDebit, BacsDebit, Card, Cashapp, KakaoPay, Klarna, KrCard, Link, NaverPay, NzBankAccount, Paypal, RevolutPay, SepaDebit, UsBankAccount

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

Class Method Summary collapse

Methods inherited from StripeObject

#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values

Constructor Details

This class inherits a constructor from Stripe::StripeObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject

Instance Attribute Details

#acss_debitObject (readonly)

Attribute for field acss_debit



260
261
262
# File 'lib/stripe/resources/mandate.rb', line 260

def acss_debit
  @acss_debit
end

#amazon_payObject (readonly)

Attribute for field amazon_pay



262
263
264
# File 'lib/stripe/resources/mandate.rb', line 262

def amazon_pay
  @amazon_pay
end

#au_becs_debitObject (readonly)

Attribute for field au_becs_debit



264
265
266
# File 'lib/stripe/resources/mandate.rb', line 264

def au_becs_debit
  @au_becs_debit
end

#bacs_debitObject (readonly)

Attribute for field bacs_debit



266
267
268
# File 'lib/stripe/resources/mandate.rb', line 266

def bacs_debit
  @bacs_debit
end

#cardObject (readonly)

Attribute for field card



268
269
270
# File 'lib/stripe/resources/mandate.rb', line 268

def card
  @card
end

#cashappObject (readonly)

Attribute for field cashapp



270
271
272
# File 'lib/stripe/resources/mandate.rb', line 270

def cashapp
  @cashapp
end

#kakao_payObject (readonly)

Attribute for field kakao_pay



272
273
274
# File 'lib/stripe/resources/mandate.rb', line 272

def kakao_pay
  @kakao_pay
end

#klarnaObject (readonly)

Attribute for field klarna



274
275
276
# File 'lib/stripe/resources/mandate.rb', line 274

def klarna
  @klarna
end

#kr_cardObject (readonly)

Attribute for field kr_card



276
277
278
# File 'lib/stripe/resources/mandate.rb', line 276

def kr_card
  @kr_card
end

Attribute for field link



278
279
280
# File 'lib/stripe/resources/mandate.rb', line 278

def link
  @link
end

Attribute for field naver_pay



280
281
282
# File 'lib/stripe/resources/mandate.rb', line 280

def naver_pay
  @naver_pay
end

#nz_bank_accountObject (readonly)

Attribute for field nz_bank_account



282
283
284
# File 'lib/stripe/resources/mandate.rb', line 282

def 
  @nz_bank_account
end

#paypalObject (readonly)

Attribute for field paypal



284
285
286
# File 'lib/stripe/resources/mandate.rb', line 284

def paypal
  @paypal
end

#revolut_payObject (readonly)

Attribute for field revolut_pay



286
287
288
# File 'lib/stripe/resources/mandate.rb', line 286

def revolut_pay
  @revolut_pay
end

#sepa_debitObject (readonly)

Attribute for field sepa_debit



288
289
290
# File 'lib/stripe/resources/mandate.rb', line 288

def sepa_debit
  @sepa_debit
end

#typeObject (readonly)

This mandate corresponds with a specific payment method type. The ‘payment_method_details` includes an additional hash with the same name and contains mandate information that’s specific to that payment method.



290
291
292
# File 'lib/stripe/resources/mandate.rb', line 290

def type
  @type
end

#us_bank_accountObject (readonly)

Attribute for field us_bank_account



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

def 
  @us_bank_account
end

Class Method Details

.field_remappingsObject



315
316
317
# File 'lib/stripe/resources/mandate.rb', line 315

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
# File 'lib/stripe/resources/mandate.rb', line 294

def self.inner_class_types
  @inner_class_types = {
    acss_debit: AcssDebit,
    amazon_pay: AmazonPay,
    au_becs_debit: AuBecsDebit,
    bacs_debit: BacsDebit,
    card: Card,
    cashapp: Cashapp,
    kakao_pay: KakaoPay,
    klarna: Klarna,
    kr_card: KrCard,
    link: Link,
    naver_pay: NaverPay,
    nz_bank_account: NzBankAccount,
    paypal: Paypal,
    revolut_pay: RevolutPay,
    sepa_debit: SepaDebit,
    us_bank_account: UsBankAccount,
  }
end