Class: Recurly::Requests::RecoveryPaymentMethodCreate
- Inherits:
-
Recurly::Request
- Object
- Recurly::Request
- Recurly::Requests::RecoveryPaymentMethodCreate
- Defined in:
- lib/recurly/requests/recovery_payment_method_create.rb
Instance Attribute Summary collapse
-
#card_type ⇒ String
The card brand (e.g.
Visa,MasterCard). -
#exp_month ⇒ Integer
Expiration month.
-
#exp_year ⇒ Integer
Expiration year.
-
#first_six ⇒ String
For a plain card, the card's own first six digits (BIN).
-
#last_four ⇒ String
The card's (or, for a tokenized wallet payment, the DPAN's) last four digits.
-
#object ⇒ String
The payment method type.
Attributes inherited from Recurly::Request
Method Summary
Methods inherited from Recurly::Request
Methods included from Schema::SchemaFactory
Methods included from Schema::RequestCaster
Methods included from Schema::ResourceCaster
Methods included from Schema::SchemaValidator
#get_did_you_mean, #validate!, #validate_attribute!
Instance Attribute Details
#card_type ⇒ String
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.
11 |
# File 'lib/recurly/requests/recovery_payment_method_create.rb', line 11 define_attribute :card_type, String |
#exp_month ⇒ Integer
Returns Expiration month.
15 |
# File 'lib/recurly/requests/recovery_payment_method_create.rb', line 15 define_attribute :exp_month, Integer |
#exp_year ⇒ Integer
Returns Expiration year.
19 |
# File 'lib/recurly/requests/recovery_payment_method_create.rb', line 19 define_attribute :exp_year, Integer |
#first_six ⇒ String
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.
23 |
# File 'lib/recurly/requests/recovery_payment_method_create.rb', line 23 define_attribute :first_six, String |
#last_four ⇒ String
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.
27 |
# File 'lib/recurly/requests/recovery_payment_method_create.rb', line 27 define_attribute :last_four, String |
#object ⇒ String
Returns The payment method type.
31 |
# File 'lib/recurly/requests/recovery_payment_method_create.rb', line 31 define_attribute :object, String |