Class: Recurly::Requests::AccountUpdate
- Inherits:
-
Recurly::Request
- Object
- Recurly::Request
- Recurly::Requests::AccountUpdate
- Defined in:
- lib/recurly/requests/account_update.rb
Instance Attribute Summary collapse
- #address ⇒ Address
-
#bill_to ⇒ 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.
- #billing_info ⇒ BillingInfoCreate
-
#cc_emails ⇒ String
Additional email address that should receive account correspondence.
- #company ⇒ String
-
#custom_fields ⇒ Array[CustomField]
The custom fields will only be altered when they are included in a request.
-
#dunning_campaign_id ⇒ String
Unique ID to identify a dunning campaign.
-
#email ⇒ String
The email address used for communicating with this customer.
-
#entity_use_code ⇒ String
The Avalara AvaTax value that can be passed to identify the customer type for tax purposes.
-
#exemption_certificate ⇒ String
The tax exemption certificate number for the account.
- #first_name ⇒ String
-
#invoice_template_id ⇒ String
Unique ID to identify an invoice template.
- #last_name ⇒ String
-
#override_business_entity_id ⇒ String
Unique ID to identify the business entity assigned to the account.
-
#parent_account_code ⇒ String
The account code of the parent account to be associated with this account.
-
#parent_account_id ⇒ String
The UUID of the parent account to be associated with this account.
-
#preferred_locale ⇒ String
Used to determine the language and locale of emails sent on behalf of the merchant to the customer.
-
#preferred_time_zone ⇒ String
Used to determine the time zone of emails sent on behalf of the merchant to the customer.
-
#tax_exempt ⇒ Boolean
The tax status of the account.
-
#transaction_type ⇒ String
An optional type designation for the payment gateway transaction created by this request.
-
#username ⇒ String
A secondary value for the account.
-
#vat_number ⇒ String
The VAT number of the account (to avoid having the VAT applied).
Attributes inherited from Recurly::Request
Method Summary
Methods inherited from Recurly::Request
Methods included from Schema::SchemaFactory
Methods included from Schema::RequestCaster
Methods included from Schema::ResourceCaster
Methods included from Schema::SchemaValidator
#get_did_you_mean, #validate!, #validate_attribute!
Instance Attribute Details
#address ⇒ Address
11 |
# File 'lib/recurly/requests/account_update.rb', line 11 define_attribute :address, :Address |
#bill_to ⇒ String
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.
15 |
# File 'lib/recurly/requests/account_update.rb', line 15 define_attribute :bill_to, String |
#billing_info ⇒ BillingInfoCreate
19 |
# File 'lib/recurly/requests/account_update.rb', line 19 define_attribute :billing_info, :BillingInfoCreate |
#cc_emails ⇒ String
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.
23 |
# File 'lib/recurly/requests/account_update.rb', line 23 define_attribute :cc_emails, String |
#company ⇒ String
27 |
# File 'lib/recurly/requests/account_update.rb', line 27 define_attribute :company, String |
#custom_fields ⇒ Array[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.
31 |
# File 'lib/recurly/requests/account_update.rb', line 31 define_attribute :custom_fields, Array, { :item_type => :CustomField } |
#dunning_campaign_id ⇒ String
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.
35 |
# File 'lib/recurly/requests/account_update.rb', line 35 define_attribute :dunning_campaign_id, String |
#email ⇒ String
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.
39 |
# File 'lib/recurly/requests/account_update.rb', line 39 define_attribute :email, String |
#entity_use_code ⇒ String
Returns The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
43 |
# File 'lib/recurly/requests/account_update.rb', line 43 define_attribute :entity_use_code, String |
#exemption_certificate ⇒ String
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.
47 |
# File 'lib/recurly/requests/account_update.rb', line 47 define_attribute :exemption_certificate, String |
#first_name ⇒ String
51 |
# File 'lib/recurly/requests/account_update.rb', line 51 define_attribute :first_name, String |
#invoice_template_id ⇒ String
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.
55 |
# File 'lib/recurly/requests/account_update.rb', line 55 define_attribute :invoice_template_id, String |
#last_name ⇒ String
59 |
# File 'lib/recurly/requests/account_update.rb', line 59 define_attribute :last_name, String |
#override_business_entity_id ⇒ String
Returns Unique ID to identify the business entity assigned to the account. Available when the `Multiple Business Entities` feature is enabled.
63 |
# File 'lib/recurly/requests/account_update.rb', line 63 define_attribute :override_business_entity_id, String |
#parent_account_code ⇒ String
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.
67 |
# File 'lib/recurly/requests/account_update.rb', line 67 define_attribute :parent_account_code, String |
#parent_account_id ⇒ String
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.
71 |
# File 'lib/recurly/requests/account_update.rb', line 71 define_attribute :parent_account_id, String |
#preferred_locale ⇒ String
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.
75 |
# File 'lib/recurly/requests/account_update.rb', line 75 define_attribute :preferred_locale, String |
#preferred_time_zone ⇒ String
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).
79 |
# File 'lib/recurly/requests/account_update.rb', line 79 define_attribute :preferred_time_zone, String |
#tax_exempt ⇒ Boolean
Returns The tax status of the account. `true` exempts tax on the account, `false` applies tax on the account.
83 |
# File 'lib/recurly/requests/account_update.rb', line 83 define_attribute :tax_exempt, :Boolean |
#transaction_type ⇒ String
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.
87 |
# File 'lib/recurly/requests/account_update.rb', line 87 define_attribute :transaction_type, String |
#username ⇒ String
Returns A secondary value for the account.
91 |
# File 'lib/recurly/requests/account_update.rb', line 91 define_attribute :username, String |
#vat_number ⇒ String
Returns The VAT number of the account (to avoid having the VAT applied). This is only used for manually collected invoices.
95 |
# File 'lib/recurly/requests/account_update.rb', line 95 define_attribute :vat_number, String |