Class: Recurly::Resources::PaymentMethod
- Inherits:
-
Recurly::Resource
- Object
- Recurly::Resource
- Recurly::Resources::PaymentMethod
- Defined in:
- lib/recurly/resources/payment_method.rb
Instance Attribute Summary collapse
-
#account_type ⇒ String
The bank account type.
-
#billing_agreement_id ⇒ String
Billing Agreement identifier.
-
#card_network_preference ⇒ String
Represents the card network preference associated with the billing info for dual badged cards.
-
#card_type ⇒ String
Visa, MasterCard, American Express, Discover, JCB, etc.
-
#cc_bin_country ⇒ String
The 2-letter ISO 3166-1 alpha-2 country code associated with the credit card BIN, if known by Recurly.
-
#exp_month ⇒ Integer
Expiration month.
-
#exp_year ⇒ Integer
Expiration year.
-
#first_six ⇒ String
Credit card number's first six digits.
-
#gateway_attributes ⇒ GatewayAttributes
Gateway specific attributes associated with this PaymentMethod.
-
#gateway_code ⇒ String
An identifier for a specific payment gateway.
-
#gateway_token ⇒ String
A token used in place of a credit card in order to perform transactions.
-
#last_four ⇒ String
Credit card number's last four digits.
-
#last_two ⇒ String
The IBAN bank account's last two digits.
-
#name_on_account ⇒ String
The name associated with the bank account.
- #object ⇒ String
-
#routing_number ⇒ String
The bank account's routing number.
-
#routing_number_bank ⇒ String
The bank name of this routing number.
-
#username ⇒ String
Username of the associated payment method.
Attributes inherited from Recurly::Resource
Method Summary
Methods inherited from Recurly::Resource
#==, #get_response, #inspect, #requires_client?, #to_json, #to_s
Methods included from Schema::SchemaFactory
Methods included from Schema::ResourceCaster
Methods included from Schema::SchemaValidator
#get_did_you_mean, #validate!, #validate_attribute!
Instance Attribute Details
#account_type ⇒ String
Returns The bank account type. Only present for ACH payment methods.
11 |
# File 'lib/recurly/resources/payment_method.rb', line 11 define_attribute :account_type, String |
#billing_agreement_id ⇒ String
Returns Billing Agreement identifier. Only present for Amazon or Paypal payment methods.
15 |
# File 'lib/recurly/resources/payment_method.rb', line 15 define_attribute :billing_agreement_id, String |
#card_network_preference ⇒ String
Returns Represents the card network preference associated with the billing info for dual badged cards. Must be a supported card network.
19 |
# File 'lib/recurly/resources/payment_method.rb', line 19 define_attribute :card_network_preference, String |
#card_type ⇒ String
Returns Visa, MasterCard, American Express, Discover, JCB, etc.
23 |
# File 'lib/recurly/resources/payment_method.rb', line 23 define_attribute :card_type, String |
#cc_bin_country ⇒ String
Returns The 2-letter ISO 3166-1 alpha-2 country code associated with the credit card BIN, if known by Recurly. Available on the BillingInfo object only. Available when the BIN country lookup feature is enabled.
27 |
# File 'lib/recurly/resources/payment_method.rb', line 27 define_attribute :cc_bin_country, String |
#exp_month ⇒ Integer
Returns Expiration month.
31 |
# File 'lib/recurly/resources/payment_method.rb', line 31 define_attribute :exp_month, Integer |
#exp_year ⇒ Integer
Returns Expiration year.
35 |
# File 'lib/recurly/resources/payment_method.rb', line 35 define_attribute :exp_year, Integer |
#first_six ⇒ String
Returns Credit card number's first six digits.
39 |
# File 'lib/recurly/resources/payment_method.rb', line 39 define_attribute :first_six, String |
#gateway_attributes ⇒ GatewayAttributes
Returns Gateway specific attributes associated with this PaymentMethod.
43 |
# File 'lib/recurly/resources/payment_method.rb', line 43 define_attribute :gateway_attributes, :GatewayAttributes |
#gateway_code ⇒ String
Returns An identifier for a specific payment gateway.
47 |
# File 'lib/recurly/resources/payment_method.rb', line 47 define_attribute :gateway_code, String |
#gateway_token ⇒ String
Returns A token used in place of a credit card in order to perform transactions.
51 |
# File 'lib/recurly/resources/payment_method.rb', line 51 define_attribute :gateway_token, String |
#last_four ⇒ String
Returns Credit card number's last four digits. Will refer to bank account if payment method is ACH.
55 |
# File 'lib/recurly/resources/payment_method.rb', line 55 define_attribute :last_four, String |
#last_two ⇒ String
Returns The IBAN bank account's last two digits.
59 |
# File 'lib/recurly/resources/payment_method.rb', line 59 define_attribute :last_two, String |
#name_on_account ⇒ String
Returns The name associated with the bank account.
63 |
# File 'lib/recurly/resources/payment_method.rb', line 63 define_attribute :name_on_account, String |
#object ⇒ String
67 |
# File 'lib/recurly/resources/payment_method.rb', line 67 define_attribute :object, String |
#routing_number ⇒ String
Returns The bank account's routing number. Only present for ACH payment methods.
71 |
# File 'lib/recurly/resources/payment_method.rb', line 71 define_attribute :routing_number, String |
#routing_number_bank ⇒ String
Returns The bank name of this routing number.
75 |
# File 'lib/recurly/resources/payment_method.rb', line 75 define_attribute :routing_number_bank, String |
#username ⇒ String
Returns Username of the associated payment method. Currently only associated with Venmo.
79 |
# File 'lib/recurly/resources/payment_method.rb', line 79 define_attribute :username, String |