Class: CustomerPaymentCardRegister

Request~CustomerPaymentCardRegister(clientnullable, customernullable)

Handles API Request CustomerPaymentCard_Register. Scope: Store.

Constructor

new CustomerPaymentCardRegister(clientnullable, customernullable)

CustomerPaymentCardRegister Constructor.

CustomerPaymentCardRegister 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

getAddress1() → {string}

Get Address1.

Get Address1.

Source:
Returns:
Type
string

getAddress2() → {string}

Get Address2.

Get Address2.

Source:
Returns:
Type
string

getCardNumber() → {string}

Get CardNumber.

Get CardNumber.

Source:
Returns:
Type
string

getCardType() → {string}

Get CardType.

Get CardType.

Source:
Returns:
Type
string

getCity() → {string}

Get City.

Get City.

Source:
Returns:
Type
string

getCountry() → {string}

Get Country.

Get Country.

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

getEditCustomer() → {string}

Get Edit_Customer.

Get Edit_Customer.

Source:
Returns:
Type
string

getExpirationMonth() → {number}

Get ExpirationMonth.

Get ExpirationMonth.

Source:
Returns:
Type
number

getExpirationYear() → {number}

Get ExpirationYear.

Get ExpirationYear.

Source:
Returns:
Type
number

getFirstName() → {string}

Get FirstName.

Get FirstName.

Source:
Returns:
Type
string

getLastName() → {string}

Get LastName.

Get LastName.

Source:
Returns:
Type
string

getState() → {string}

Get State.

Get State.

Source:
Returns:
Type
string

getZip() → {string}

Get Zip.

Get Zip.

Source:
Returns:
Type
string

setAddress1(address1) → {CustomerPaymentCardRegister}

Set Address1.

Set Address1.

Parameters:
Name Type Description
address1 string
Source:
Returns:
Type
CustomerPaymentCardRegister

setAddress2(address2) → {CustomerPaymentCardRegister}

Set Address2.

Set Address2.

Parameters:
Name Type Description
address2 string
Source:
Returns:
Type
CustomerPaymentCardRegister

setCardNumber(cardNumber) → {CustomerPaymentCardRegister}

Set CardNumber.

Set CardNumber.

Parameters:
Name Type Description
cardNumber string
Source:
Returns:
Type
CustomerPaymentCardRegister

setCardType(cardType) → {CustomerPaymentCardRegister}

Set CardType.

Set CardType.

Parameters:
Name Type Description
cardType string
Source:
Returns:
Type
CustomerPaymentCardRegister

setCity(city) → {CustomerPaymentCardRegister}

Set City.

Set City.

Parameters:
Name Type Description
city string
Source:
Returns:
Type
CustomerPaymentCardRegister

setCountry(country) → {CustomerPaymentCardRegister}

Set Country.

Set Country.

Parameters:
Name Type Description
country string
Source:
Returns:
Type
CustomerPaymentCardRegister

setCustomerId(customerId) → {CustomerPaymentCardRegister}

Set Customer_ID.

Set Customer_ID.

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

setCustomerLogin(customerLogin) → {CustomerPaymentCardRegister}

Set Customer_Login.

Set Customer_Login.

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

setEditCustomer(editCustomer) → {CustomerPaymentCardRegister}

Set Edit_Customer.

Set Edit_Customer.

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

setExpirationMonth(expirationMonth) → {CustomerPaymentCardRegister}

Set ExpirationMonth.

Set ExpirationMonth.

Parameters:
Name Type Description
expirationMonth number
Source:
Returns:
Type
CustomerPaymentCardRegister

setExpirationYear(expirationYear) → {CustomerPaymentCardRegister}

Set ExpirationYear.

Set ExpirationYear.

Parameters:
Name Type Description
expirationYear number
Source:
Returns:
Type
CustomerPaymentCardRegister

setFirstName(firstName) → {CustomerPaymentCardRegister}

Set FirstName.

Set FirstName.

Parameters:
Name Type Description
firstName string
Source:
Returns:
Type
CustomerPaymentCardRegister

setLastName(lastName) → {CustomerPaymentCardRegister}

Set LastName.

Set LastName.

Parameters:
Name Type Description
lastName string
Source:
Returns:
Type
CustomerPaymentCardRegister

setState(state) → {CustomerPaymentCardRegister}

Set State.

Set State.

Parameters:
Name Type Description
state string
Source:
Returns:
Type
CustomerPaymentCardRegister

setZip(zip) → {CustomerPaymentCardRegister}

Set Zip.

Set Zip.

Parameters:
Name Type Description
zip string
Source:
Returns:
Type
CustomerPaymentCardRegister

toObject() → {Object}

Reduce the request to a an object.

Reduce the request to a an object.

Source:
Returns:
Type
Object