Class: Recurly::Requests::AccountUpdate

Inherits:
Recurly::Request show all
Defined in:
lib/recurly/requests/account_update.rb

Instance Attribute Summary collapse

Attributes inherited from Recurly::Request

#attributes

Method Summary

Methods inherited from Recurly::Request

#==, #to_s

Methods included from Schema::SchemaFactory

#schema

Methods included from Schema::RequestCaster

#cast_request

Methods included from Schema::ResourceCaster

#cast

Methods included from Schema::SchemaValidator

#get_did_you_mean, #validate!, #validate_attribute!

Instance Attribute Details

#addressAddress

Returns:



11
# File 'lib/recurly/requests/account_update.rb', line 11

define_attribute :address, :Address

#bill_toString

Returns An enumerable describing the billing behavior of the account, specifically whether the account is self-paying or will rely on the parent account to pay.

Returns:

  • (String)

    An enumerable describing the billing behavior of the account, specifically whether the account is self-paying or will rely on the parent account to pay.



15
# File 'lib/recurly/requests/account_update.rb', line 15

define_attribute :bill_to, String

#billing_infoBillingInfoCreate

Returns:



19
# File 'lib/recurly/requests/account_update.rb', line 19

define_attribute :billing_info, :BillingInfoCreate

#cc_emailsString

Returns Additional email address that should receive account correspondence. These should be separated only by commas. These CC emails will receive all emails that the `email` field also receives.

Returns:

  • (String)

    Additional email address that should receive account correspondence. These should be separated only by commas. These CC emails will receive all emails that the `email` field also receives.



23
# File 'lib/recurly/requests/account_update.rb', line 23

define_attribute :cc_emails, String

#companyString

Returns:

  • (String)


27
# File 'lib/recurly/requests/account_update.rb', line 27

define_attribute :company, String

#custom_fieldsArray[CustomField]

Returns The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value.

Returns:

  • (Array[CustomField])

    The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value.



31
# File 'lib/recurly/requests/account_update.rb', line 31

define_attribute :custom_fields, Array, { :item_type => :CustomField }

#dunning_campaign_idString

Returns Unique ID to identify a dunning campaign. Used to specify if a non-default dunning campaign should be assigned to this account. For sites without multiple dunning campaigns enabled, the default dunning campaign will always be used.

Returns:

  • (String)

    Unique ID to identify a dunning campaign. Used to specify if a non-default dunning campaign should be assigned to this account. For sites without multiple dunning campaigns enabled, the default dunning campaign will always be used.



35
# File 'lib/recurly/requests/account_update.rb', line 35

define_attribute :dunning_campaign_id, String

#emailString

Returns The email address used for communicating with this customer. The customer will also use this email address to log into your hosted account management pages. This value does not need to be unique.

Returns:

  • (String)

    The email address used for communicating with this customer. The customer will also use this email address to log into your hosted account management pages. This value does not need to be unique.



39
# File 'lib/recurly/requests/account_update.rb', line 39

define_attribute :email, String

#exemption_certificateString

Returns The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account.

Returns:

  • (String)

    The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account.



43
# File 'lib/recurly/requests/account_update.rb', line 43

define_attribute :exemption_certificate, String

#first_nameString

Returns:

  • (String)


47
# File 'lib/recurly/requests/account_update.rb', line 47

define_attribute :first_name, String

#invoice_template_idString

Returns Unique ID to identify an invoice template. Available when the site is on a Pro or Elite plan. Used to specify which invoice template, if any, should be used to generate invoices for the account.

Returns:

  • (String)

    Unique ID to identify an invoice template. Available when the site is on a Pro or Elite plan. Used to specify which invoice template, if any, should be used to generate invoices for the account.



51
# File 'lib/recurly/requests/account_update.rb', line 51

define_attribute :invoice_template_id, String

#last_nameString

Returns:

  • (String)


55
# File 'lib/recurly/requests/account_update.rb', line 55

define_attribute :last_name, String

#override_business_entity_idString

Returns Unique ID to identify the business entity assigned to the account. Available when the `Multiple Business Entities` feature is enabled.

Returns:

  • (String)

    Unique ID to identify the business entity assigned to the account. Available when the `Multiple Business Entities` feature is enabled.



59
# File 'lib/recurly/requests/account_update.rb', line 59

define_attribute :override_business_entity_id, String

#parent_account_codeString

Returns The account code of the parent account to be associated with this account. Passing an empty value removes any existing parent association from this account. If both `parent_account_code` and `parent_account_id` are passed, the non-blank value in `parent_account_id` will be used. Only one level of parent child relationship is allowed. You cannot assign a parent account that itself has a parent account.

Returns:

  • (String)

    The account code of the parent account to be associated with this account. Passing an empty value removes any existing parent association from this account. If both `parent_account_code` and `parent_account_id` are passed, the non-blank value in `parent_account_id` will be used. Only one level of parent child relationship is allowed. You cannot assign a parent account that itself has a parent account.



63
# File 'lib/recurly/requests/account_update.rb', line 63

define_attribute :parent_account_code, String

#parent_account_idString

Returns The UUID of the parent account to be associated with this account. Passing an empty value removes any existing parent association from this account. If both `parent_account_code` and `parent_account_id` are passed, the non-blank value in `parent_account_id` will be used. Only one level of parent child relationship is allowed. You cannot assign a parent account that itself has a parent account.

Returns:

  • (String)

    The UUID of the parent account to be associated with this account. Passing an empty value removes any existing parent association from this account. If both `parent_account_code` and `parent_account_id` are passed, the non-blank value in `parent_account_id` will be used. Only one level of parent child relationship is allowed. You cannot assign a parent account that itself has a parent account.



67
# File 'lib/recurly/requests/account_update.rb', line 67

define_attribute :parent_account_id, String

#preferred_localeString

Returns Used to determine the language and locale of emails sent on behalf of the merchant to the customer. The list of locales is restricted to those the merchant has enabled on the site.

Returns:

  • (String)

    Used to determine the language and locale of emails sent on behalf of the merchant to the customer. The list of locales is restricted to those the merchant has enabled on the site.



71
# File 'lib/recurly/requests/account_update.rb', line 71

define_attribute :preferred_locale, String

#preferred_time_zoneString

Returns Used to determine the time zone of emails sent on behalf of the merchant to the customer. Must be a [supported IANA time zone name](docs.recurly.com/docs/email-time-zones-and-time-stamps#supported-api-iana-time-zone-names).

Returns:



75
# File 'lib/recurly/requests/account_update.rb', line 75

define_attribute :preferred_time_zone, String

#tax_exemptBoolean

Returns The tax status of the account. `true` exempts tax on the account, `false` applies tax on the account.

Returns:

  • (Boolean)

    The tax status of the account. `true` exempts tax on the account, `false` applies tax on the account.



79
# File 'lib/recurly/requests/account_update.rb', line 79

define_attribute :tax_exempt, :Boolean

#transaction_typeString

Returns An optional type designation for the payment gateway transaction created by this request. Supports 'moto' value, which is the acronym for mail order and telephone transactions.

Returns:

  • (String)

    An optional type designation for the payment gateway transaction created by this request. Supports 'moto' value, which is the acronym for mail order and telephone transactions.



83
# File 'lib/recurly/requests/account_update.rb', line 83

define_attribute :transaction_type, String

#usernameString

Returns A secondary value for the account.

Returns:

  • (String)

    A secondary value for the account.



87
# File 'lib/recurly/requests/account_update.rb', line 87

define_attribute :username, String

#vat_numberString

Returns The VAT number of the account (to avoid having the VAT applied). This is only used for manually collected invoices.

Returns:

  • (String)

    The VAT number of the account (to avoid having the VAT applied). This is only used for manually collected invoices.



91
# File 'lib/recurly/requests/account_update.rb', line 91

define_attribute :vat_number, String