Class: Recurly::Resources::BillingInfo
- Inherits:
-
Recurly::Resource
- Object
- Recurly::Resource
- Recurly::Resources::BillingInfo
- Defined in:
- lib/recurly/resources/billing_info.rb
Instance Attribute Summary collapse
- #account_id ⇒ String
- #address ⇒ Address
-
#backup_payment_method ⇒ Boolean
The `backup_payment_method` field is used to indicate a billing info as a backup on the account that will be tried if the initial billing info used for an invoice is declined.
- #company ⇒ String
-
#created_at ⇒ DateTime
When the billing information was created.
- #first_name ⇒ String
-
#fraud ⇒ FraudInfo
Most recent fraud result.
- #id ⇒ String
- #last_name ⇒ String
-
#object ⇒ String
Object type.
- #payment_method ⇒ PaymentMethod
-
#primary_payment_method ⇒ Boolean
The `primary_payment_method` field is used to indicate the primary billing info on the account.
-
#updated_at ⇒ DateTime
When the billing information was last changed.
- #updated_by ⇒ BillingInfoUpdatedBy
- #valid ⇒ Boolean
-
#vat_number ⇒ String
Customer's VAT number (to avoid having the VAT applied).
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_id ⇒ String
11 |
# File 'lib/recurly/resources/billing_info.rb', line 11 define_attribute :account_id, String |
#address ⇒ Address
15 |
# File 'lib/recurly/resources/billing_info.rb', line 15 define_attribute :address, :Address |
#backup_payment_method ⇒ Boolean
Returns The `backup_payment_method` field is used to indicate a billing info as a backup on the account that will be tried if the initial billing info used for an invoice is declined.
19 |
# File 'lib/recurly/resources/billing_info.rb', line 19 define_attribute :backup_payment_method, :Boolean |
#company ⇒ String
23 |
# File 'lib/recurly/resources/billing_info.rb', line 23 define_attribute :company, String |
#created_at ⇒ DateTime
Returns When the billing information was created.
27 |
# File 'lib/recurly/resources/billing_info.rb', line 27 define_attribute :created_at, DateTime |
#first_name ⇒ String
31 |
# File 'lib/recurly/resources/billing_info.rb', line 31 define_attribute :first_name, String |
#fraud ⇒ FraudInfo
Returns Most recent fraud result.
35 |
# File 'lib/recurly/resources/billing_info.rb', line 35 define_attribute :fraud, :FraudInfo |
#id ⇒ String
39 |
# File 'lib/recurly/resources/billing_info.rb', line 39 define_attribute :id, String |
#last_name ⇒ String
43 |
# File 'lib/recurly/resources/billing_info.rb', line 43 define_attribute :last_name, String |
#object ⇒ String
Returns Object type.
47 |
# File 'lib/recurly/resources/billing_info.rb', line 47 define_attribute :object, String |
#payment_method ⇒ PaymentMethod
51 |
# File 'lib/recurly/resources/billing_info.rb', line 51 define_attribute :payment_method, :PaymentMethod |
#primary_payment_method ⇒ Boolean
Returns The `primary_payment_method` field is used to indicate the primary billing info on the account. The first billing info created on an account will always become primary. This payment method will be used.
55 |
# File 'lib/recurly/resources/billing_info.rb', line 55 define_attribute :primary_payment_method, :Boolean |
#updated_at ⇒ DateTime
Returns When the billing information was last changed.
59 |
# File 'lib/recurly/resources/billing_info.rb', line 59 define_attribute :updated_at, DateTime |
#updated_by ⇒ BillingInfoUpdatedBy
63 |
# File 'lib/recurly/resources/billing_info.rb', line 63 define_attribute :updated_by, :BillingInfoUpdatedBy |
#valid ⇒ Boolean
67 |
# File 'lib/recurly/resources/billing_info.rb', line 67 define_attribute :valid, :Boolean |
#vat_number ⇒ String
Returns Customer's VAT number (to avoid having the VAT applied). This is only used for automatically collected invoices.
71 |
# File 'lib/recurly/resources/billing_info.rb', line 71 define_attribute :vat_number, String |