Class: CustomerUpdate

Request~CustomerUpdate(clientnullable, customernullable)

Handles API Request Customer_Update. Scope: Store.

Constructor

new CustomerUpdate(clientnullable, customernullable)

CustomerUpdate Constructor.

CustomerUpdate Constructor.

Parameters:
Name Type Attributes Default Description
client Client <nullable>
customer Customer <nullable>
null
Source:
See:

Methods

createResponse() → {Response}

Create a response object from the response data.

Create a response object from the response data.

Source:
Returns:
Type
Response

getCustomerBillAddress1() → {string}

Get Customer_BillAddress1.

Get Customer_BillAddress1.

Source:
Returns:
Type
string

getCustomerBillAddress2() → {string}

Get Customer_BillAddress2.

Get Customer_BillAddress2.

Source:
Returns:
Type
string

getCustomerBillCity() → {string}

Get Customer_BillCity.

Get Customer_BillCity.

Source:
Returns:
Type
string

getCustomerBillCompany() → {string}

Get Customer_BillCompany.

Get Customer_BillCompany.

Source:
Returns:
Type
string

getCustomerBillCountry() → {string}

Get Customer_BillCountry.

Get Customer_BillCountry.

Source:
Returns:
Type
string

getCustomerBillEmail() → {string}

Get Customer_BillEmail.

Get Customer_BillEmail.

Source:
Returns:
Type
string

getCustomerBillFax() → {string}

Get Customer_BillFax.

Get Customer_BillFax.

Source:
Returns:
Type
string

getCustomerBillFirstName() → {string}

Get Customer_BillFirstName.

Get Customer_BillFirstName.

Source:
Returns:
Type
string

getCustomerBillLastName() → {string}

Get Customer_BillLastName.

Get Customer_BillLastName.

Source:
Returns:
Type
string

getCustomerBillPhone() → {string}

Get Customer_BillPhone.

Get Customer_BillPhone.

Source:
Returns:
Type
string

getCustomerBillState() → {string}

Get Customer_BillState.

Get Customer_BillState.

Source:
Returns:
Type
string

getCustomerBillZip() → {string}

Get Customer_BillZip.

Get Customer_BillZip.

Source:
Returns:
Type
string

getCustomerBusinessAccount() → {string}

Get Customer_BusinessAccount.

Get Customer_BusinessAccount.

Source:
Returns:
Type
string

getCustomerId() → {number}

Get Customer_ID.

Get Customer_ID.

Source:
Returns:
Type
number

getCustomerLogin() → {string}

Get Customer_Login.

Get Customer_Login.

Source:
Returns:
Type
string

getCustomerPassword() → {string}

Get Customer_Password.

Get Customer_Password.

Source:
Returns:
Type
string

getCustomerPasswordEmail() → {string}

Get Customer_PasswordEmail.

Get Customer_PasswordEmail.

Source:
Returns:
Type
string

getCustomerShipAddress1() → {string}

Get Customer_ShipAddress1.

Get Customer_ShipAddress1.

Source:
Returns:
Type
string

getCustomerShipAddress2() → {string}

Get Customer_ShipAddress2.

Get Customer_ShipAddress2.

Source:
Returns:
Type
string

getCustomerShipCity() → {string}

Get Customer_ShipCity.

Get Customer_ShipCity.

Source:
Returns:
Type
string

getCustomerShipCompany() → {string}

Get Customer_ShipCompany.

Get Customer_ShipCompany.

Source:
Returns:
Type
string

getCustomerShipCountry() → {string}

Get Customer_ShipCountry.

Get Customer_ShipCountry.

Source:
Returns:
Type
string

getCustomerShipEmail() → {string}

Get Customer_ShipEmail.

Get Customer_ShipEmail.

Source:
Returns:
Type
string

getCustomerShipFax() → {string}

Get Customer_ShipFax.

Get Customer_ShipFax.

Source:
Returns:
Type
string

getCustomerShipFirstName() → {string}

Get Customer_ShipFirstName.

Get Customer_ShipFirstName.

Source:
Returns:
Type
string

getCustomerShipLastName() → {string}

Get Customer_ShipLastName.

Get Customer_ShipLastName.

Source:
Returns:
Type
string

getCustomerShipPhone() → {string}

Get Customer_ShipPhone.

Get Customer_ShipPhone.

Source:
Returns:
Type
string

getCustomerShipResidential() → {boolean}

Get Customer_ShipResidential.

Get Customer_ShipResidential.

Source:
Returns:
Type
boolean

getCustomerShipState() → {string}

Get Customer_ShipState.

Get Customer_ShipState.

Source:
Returns:
Type
string

getCustomerShipZip() → {string}

Get Customer_ShipZip.

Get Customer_ShipZip.

Source:
Returns:
Type
string

getCustomerTaxExempt() → {string}

Get Customer_Tax_Exempt.

Get Customer_Tax_Exempt.

Source:
Returns:
Type
string

getCustomFieldValues() → (nullable) {CustomFieldValues}

Get CustomField_Values.

Get CustomField_Values.

Source:
Returns:
Type
CustomFieldValues

getEditCustomer() → {string}

Get Edit_Customer.

Get Edit_Customer.

Source:
Returns:
Type
string

setCustomerBillAddress1(customerBillAddress1) → {CustomerUpdate}

Set Customer_BillAddress1.

Set Customer_BillAddress1.

Parameters:
Name Type Description
customerBillAddress1 string
Source:
Returns:
Type
CustomerUpdate

setCustomerBillAddress2(customerBillAddress2) → {CustomerUpdate}

Set Customer_BillAddress2.

Set Customer_BillAddress2.

Parameters:
Name Type Description
customerBillAddress2 string
Source:
Returns:
Type
CustomerUpdate

setCustomerBillCity(customerBillCity) → {CustomerUpdate}

Set Customer_BillCity.

Set Customer_BillCity.

Parameters:
Name Type Description
customerBillCity string
Source:
Returns:
Type
CustomerUpdate

setCustomerBillCompany(customerBillCompany) → {CustomerUpdate}

Set Customer_BillCompany.

Set Customer_BillCompany.

Parameters:
Name Type Description
customerBillCompany string
Source:
Returns:
Type
CustomerUpdate

setCustomerBillCountry(customerBillCountry) → {CustomerUpdate}

Set Customer_BillCountry.

Set Customer_BillCountry.

Parameters:
Name Type Description
customerBillCountry string
Source:
Returns:
Type
CustomerUpdate

setCustomerBillEmail(customerBillEmail) → {CustomerUpdate}

Set Customer_BillEmail.

Set Customer_BillEmail.

Parameters:
Name Type Description
customerBillEmail string
Source:
Returns:
Type
CustomerUpdate

setCustomerBillFax(customerBillFax) → {CustomerUpdate}

Set Customer_BillFax.

Set Customer_BillFax.

Parameters:
Name Type Description
customerBillFax string
Source:
Returns:
Type
CustomerUpdate

setCustomerBillFirstName(customerBillFirstName) → {CustomerUpdate}

Set Customer_BillFirstName.

Set Customer_BillFirstName.

Parameters:
Name Type Description
customerBillFirstName string
Source:
Returns:
Type
CustomerUpdate

setCustomerBillLastName(customerBillLastName) → {CustomerUpdate}

Set Customer_BillLastName.

Set Customer_BillLastName.

Parameters:
Name Type Description
customerBillLastName string
Source:
Returns:
Type
CustomerUpdate

setCustomerBillPhone(customerBillPhone) → {CustomerUpdate}

Set Customer_BillPhone.

Set Customer_BillPhone.

Parameters:
Name Type Description
customerBillPhone string
Source:
Returns:
Type
CustomerUpdate

setCustomerBillState(customerBillState) → {CustomerUpdate}

Set Customer_BillState.

Set Customer_BillState.

Parameters:
Name Type Description
customerBillState string
Source:
Returns:
Type
CustomerUpdate

setCustomerBillZip(customerBillZip) → {CustomerUpdate}

Set Customer_BillZip.

Set Customer_BillZip.

Parameters:
Name Type Description
customerBillZip string
Source:
Returns:
Type
CustomerUpdate

setCustomerBusinessAccount(customerBusinessAccount) → {CustomerUpdate}

Set Customer_BusinessAccount.

Set Customer_BusinessAccount.

Parameters:
Name Type Description
customerBusinessAccount string
Source:
Returns:
Type
CustomerUpdate

setCustomerId(customerId) → {CustomerUpdate}

Set Customer_ID.

Set Customer_ID.

Parameters:
Name Type Description
customerId number
Source:
Returns:
Type
CustomerUpdate

setCustomerLogin(customerLogin) → {CustomerUpdate}

Set Customer_Login.

Set Customer_Login.

Parameters:
Name Type Description
customerLogin string
Source:
Returns:
Type
CustomerUpdate

setCustomerPassword(customerPassword) → {CustomerUpdate}

Set Customer_Password.

Set Customer_Password.

Parameters:
Name Type Description
customerPassword string
Source:
Returns:
Type
CustomerUpdate

setCustomerPasswordEmail(customerPasswordEmail) → {CustomerUpdate}

Set Customer_PasswordEmail.

Set Customer_PasswordEmail.

Parameters:
Name Type Description
customerPasswordEmail string
Source:
Returns:
Type
CustomerUpdate

setCustomerShipAddress1(customerShipAddress1) → {CustomerUpdate}

Set Customer_ShipAddress1.

Set Customer_ShipAddress1.

Parameters:
Name Type Description
customerShipAddress1 string
Source:
Returns:
Type
CustomerUpdate

setCustomerShipAddress2(customerShipAddress2) → {CustomerUpdate}

Set Customer_ShipAddress2.

Set Customer_ShipAddress2.

Parameters:
Name Type Description
customerShipAddress2 string
Source:
Returns:
Type
CustomerUpdate

setCustomerShipCity(customerShipCity) → {CustomerUpdate}

Set Customer_ShipCity.

Set Customer_ShipCity.

Parameters:
Name Type Description
customerShipCity string
Source:
Returns:
Type
CustomerUpdate

setCustomerShipCompany(customerShipCompany) → {CustomerUpdate}

Set Customer_ShipCompany.

Set Customer_ShipCompany.

Parameters:
Name Type Description
customerShipCompany string
Source:
Returns:
Type
CustomerUpdate

setCustomerShipCountry(customerShipCountry) → {CustomerUpdate}

Set Customer_ShipCountry.

Set Customer_ShipCountry.

Parameters:
Name Type Description
customerShipCountry string
Source:
Returns:
Type
CustomerUpdate

setCustomerShipEmail(customerShipEmail) → {CustomerUpdate}

Set Customer_ShipEmail.

Set Customer_ShipEmail.

Parameters:
Name Type Description
customerShipEmail string
Source:
Returns:
Type
CustomerUpdate

setCustomerShipFax(customerShipFax) → {CustomerUpdate}

Set Customer_ShipFax.

Set Customer_ShipFax.

Parameters:
Name Type Description
customerShipFax string
Source:
Returns:
Type
CustomerUpdate

setCustomerShipFirstName(customerShipFirstName) → {CustomerUpdate}

Set Customer_ShipFirstName.

Set Customer_ShipFirstName.

Parameters:
Name Type Description
customerShipFirstName string
Source:
Returns:
Type
CustomerUpdate

setCustomerShipLastName(customerShipLastName) → {CustomerUpdate}

Set Customer_ShipLastName.

Set Customer_ShipLastName.

Parameters:
Name Type Description
customerShipLastName string
Source:
Returns:
Type
CustomerUpdate

setCustomerShipPhone(customerShipPhone) → {CustomerUpdate}

Set Customer_ShipPhone.

Set Customer_ShipPhone.

Parameters:
Name Type Description
customerShipPhone string
Source:
Returns:
Type
CustomerUpdate

setCustomerShipResidential(customerShipResidential) → {CustomerUpdate}

Set Customer_ShipResidential.

Set Customer_ShipResidential.

Parameters:
Name Type Description
customerShipResidential boolean
Source:
Returns:
Type
CustomerUpdate

setCustomerShipState(customerShipState) → {CustomerUpdate}

Set Customer_ShipState.

Set Customer_ShipState.

Parameters:
Name Type Description
customerShipState string
Source:
Returns:
Type
CustomerUpdate

setCustomerShipZip(customerShipZip) → {CustomerUpdate}

Set Customer_ShipZip.

Set Customer_ShipZip.

Parameters:
Name Type Description
customerShipZip string
Source:
Returns:
Type
CustomerUpdate

setCustomerTaxExempt(customerTaxExempt) → {CustomerUpdate}

Set Customer_Tax_Exempt.

Set Customer_Tax_Exempt.

Parameters:
Name Type Description
customerTaxExempt string
Source:
Returns:
Type
CustomerUpdate

setCustomFieldValues(customFieldValuesnullable) → {CustomerUpdate}

Set CustomField_Values.

Set CustomField_Values.

Parameters:
Name Type Attributes Description
customFieldValues CustomFieldValues <nullable>
Source:
Throws:
Error
Returns:
Type
CustomerUpdate

setEditCustomer(editCustomer) → {CustomerUpdate}

Set Edit_Customer.

Set Edit_Customer.

Parameters:
Name Type Description
editCustomer string
Source:
Returns:
Type
CustomerUpdate

toObject() → {Object}

Reduce the request to a an object.

Reduce the request to a an object.

Source:
Returns:
Type
Object