Class: Recurly::Resources::BillingInfo

Inherits:
Recurly::Resource show all
Defined in:
lib/recurly/resources/billing_info.rb

Instance Attribute Summary collapse

Attributes inherited from Recurly::Resource

#attributes

Method Summary

Methods inherited from Recurly::Resource

#==, #get_response, #inspect, #requires_client?, #to_json, #to_s

Methods included from Schema::SchemaFactory

#schema

Methods included from Schema::ResourceCaster

#cast

Methods included from Schema::SchemaValidator

#get_did_you_mean, #validate!, #validate_attribute!

Instance Attribute Details

#account_idString

Returns:

  • (String)


11
# File 'lib/recurly/resources/billing_info.rb', line 11

define_attribute :account_id, String

#addressAddress

Returns:



15
# File 'lib/recurly/resources/billing_info.rb', line 15

define_attribute :address, :Address

#backup_payment_methodBoolean

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.

Returns:

  • (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.



19
# File 'lib/recurly/resources/billing_info.rb', line 19

define_attribute :backup_payment_method, :Boolean

#companyString

Returns:

  • (String)


23
# File 'lib/recurly/resources/billing_info.rb', line 23

define_attribute :company, String

#created_atDateTime

Returns When the billing information was created.

Returns:

  • (DateTime)

    When the billing information was created.



27
# File 'lib/recurly/resources/billing_info.rb', line 27

define_attribute :created_at, DateTime

#first_nameString

Returns:

  • (String)


31
# File 'lib/recurly/resources/billing_info.rb', line 31

define_attribute :first_name, String

#fraudFraudInfo

Returns Most recent fraud result.

Returns:



35
# File 'lib/recurly/resources/billing_info.rb', line 35

define_attribute :fraud, :FraudInfo

#idString

Returns:

  • (String)


39
# File 'lib/recurly/resources/billing_info.rb', line 39

define_attribute :id, String

#last_nameString

Returns:

  • (String)


43
# File 'lib/recurly/resources/billing_info.rb', line 43

define_attribute :last_name, String

#objectString

Returns Object type.

Returns:

  • (String)

    Object type



47
# File 'lib/recurly/resources/billing_info.rb', line 47

define_attribute :object, String

#payment_methodPaymentMethod

Returns:



51
# File 'lib/recurly/resources/billing_info.rb', line 51

define_attribute :payment_method, :PaymentMethod

#primary_payment_methodBoolean

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.

Returns:

  • (Boolean)

    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_atDateTime

Returns When the billing information was last changed.

Returns:

  • (DateTime)

    When the billing information was last changed.



59
# File 'lib/recurly/resources/billing_info.rb', line 59

define_attribute :updated_at, DateTime

#updated_byBillingInfoUpdatedBy



63
# File 'lib/recurly/resources/billing_info.rb', line 63

define_attribute :updated_by, :BillingInfoUpdatedBy

#validBoolean

Returns:

  • (Boolean)


67
# File 'lib/recurly/resources/billing_info.rb', line 67

define_attribute :valid, :Boolean

#vat_numberString

Returns Customer’s VAT number (to avoid having the VAT applied). This is only used for automatically collected invoices.

Returns:

  • (String)

    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