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_type ⇒ String
Visa, MasterCard, American Express, Discover, JCB, etc.
-
#exp_month ⇒ Integer
Expiration month.
-
#exp_year ⇒ Integer
Expiration year.
-
#first_six ⇒ String
Credit card number’s first six digits.
-
#last_four ⇒ String
Credit card number’s last four digits.
- #object ⇒ String
-
#routing_number ⇒ String
The bank account’s routing number.
-
#routing_number_bank ⇒ String
The bank name of this routing number.
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_type ⇒ String
Returns Visa, MasterCard, American Express, Discover, JCB, etc.
19 |
# File 'lib/recurly/resources/payment_method.rb', line 19 define_attribute :card_type, String |
#exp_month ⇒ Integer
Returns Expiration month.
23 |
# File 'lib/recurly/resources/payment_method.rb', line 23 define_attribute :exp_month, Integer |
#exp_year ⇒ Integer
Returns Expiration year.
27 |
# File 'lib/recurly/resources/payment_method.rb', line 27 define_attribute :exp_year, Integer |
#first_six ⇒ String
Returns Credit card number’s first six digits.
31 |
# File 'lib/recurly/resources/payment_method.rb', line 31 define_attribute :first_six, String |
#last_four ⇒ String
Returns Credit card number’s last four digits. Will refer to bank account if payment method is ACH.
35 |
# File 'lib/recurly/resources/payment_method.rb', line 35 define_attribute :last_four, String |
#object ⇒ String
39 |
# File 'lib/recurly/resources/payment_method.rb', line 39 define_attribute :object, String |
#routing_number ⇒ String
Returns The bank account’s routing number. Only present for ACH payment methods.
43 |
# File 'lib/recurly/resources/payment_method.rb', line 43 define_attribute :routing_number, String |
#routing_number_bank ⇒ String
Returns The bank name of this routing number.
47 |
# File 'lib/recurly/resources/payment_method.rb', line 47 define_attribute :routing_number_bank, String |