Class: Recurly::Requests::RecoveryPaymentMethodCreate

Inherits:
Recurly::Request show all
Defined in:
lib/recurly/requests/recovery_payment_method_create.rb

Instance Attribute Summary collapse

Attributes inherited from Recurly::Request

#attributes

Method Summary

Methods inherited from Recurly::Request

#==, #to_s

Methods included from Schema::SchemaFactory

#schema

Methods included from Schema::RequestCaster

#cast_request

Methods included from Schema::ResourceCaster

#cast

Methods included from Schema::SchemaValidator

#get_did_you_mean, #validate!, #validate_attribute!

Instance Attribute Details

#card_typeString

Returns The card brand (e.g. Visa, MasterCard). Present for credit_card, apple_pay, and google_pay/google_pay_device_pan; omitted for paypal_billing_agreement.

Returns:

  • (String)

    The card brand (e.g. Visa, MasterCard). Present for credit_card, apple_pay, and google_pay/google_pay_device_pan; omitted for paypal_billing_agreement.



11
# File 'lib/recurly/requests/recovery_payment_method_create.rb', line 11

define_attribute :card_type, String

#exp_monthInteger

Returns Expiration month.

Returns:

  • (Integer)

    Expiration month.



15
# File 'lib/recurly/requests/recovery_payment_method_create.rb', line 15

define_attribute :exp_month, Integer

#exp_yearInteger

Returns Expiration year.

Returns:

  • (Integer)

    Expiration year.



19
# File 'lib/recurly/requests/recovery_payment_method_create.rb', line 19

define_attribute :exp_year, Integer

#first_sixString

Returns For a plain card, the card's own first six digits (BIN). For a tokenized wallet payment (apple_pay, google_pay, or google_pay_device_pan), this is the DPAN's (the wallet/device token's own number) first six digits — not the underlying card's (FPAN). The FPAN is never accepted or represented; no separate wallet-specific field is provided.

Returns:

  • (String)

    For a plain card, the card's own first six digits (BIN). For a tokenized wallet payment (apple_pay, google_pay, or google_pay_device_pan), this is the DPAN's (the wallet/device token's own number) first six digits — not the underlying card's (FPAN). The FPAN is never accepted or represented; no separate wallet-specific field is provided.



23
# File 'lib/recurly/requests/recovery_payment_method_create.rb', line 23

define_attribute :first_six, String

#last_fourString

Returns The card's (or, for a tokenized wallet payment, the DPAN's) last four digits. See first_six for the DPAN-vs-FPAN distinction on wallets.

Returns:

  • (String)

    The card's (or, for a tokenized wallet payment, the DPAN's) last four digits. See first_six for the DPAN-vs-FPAN distinction on wallets.



27
# File 'lib/recurly/requests/recovery_payment_method_create.rb', line 27

define_attribute :last_four, String

#objectString

Returns The payment method type.

Returns:

  • (String)

    The payment method type.



31
# File 'lib/recurly/requests/recovery_payment_method_create.rb', line 31

define_attribute :object, String