public class Customer extends Object
Constructor and Description |
---|
Customer() |
Modifier and Type | Method and Description |
---|---|
void |
addPaymentMethod(CustomerToken value)
Adds a model saved payment methods associated with a customer.
|
String |
getCompanyName()
Gets customer's company name.
|
String |
getCustomerRef()
Gets optional customer ref that can be used for the client's system's customer id.
|
String |
getEmailAddress()
Gets customer's email address.
|
String |
getFirstName()
Gets customer's first name.
|
String |
getId()
Gets BlockChyp assigned customer id.
|
String |
getLastName()
Gets customer's last name.
|
Collection<CustomerToken> |
getPaymentMethods()
Gets model saved payment methods associated with a customer.
|
String |
getSmsNumber()
Gets customer's SMS or mobile number.
|
void |
setCompanyName(String value)
Sets customer's company name.
|
void |
setCustomerRef(String value)
Sets optional customer ref that can be used for the client's system's customer id.
|
void |
setEmailAddress(String value)
Sets customer's email address.
|
void |
setFirstName(String value)
Sets customer's first name.
|
void |
setId(String value)
Sets BlockChyp assigned customer id.
|
void |
setLastName(String value)
Sets customer's last name.
|
void |
setPaymentMethods(Collection<CustomerToken> value)
Sets model saved payment methods associated with a customer.
|
void |
setSmsNumber(String value)
Sets customer's SMS or mobile number.
|
public void setId(String value)
value
- BlockChyp assigned customer id.public String getId()
public void setCustomerRef(String value)
value
- optional customer ref that can be used for the client's system's
customer id.public String getCustomerRef()
public void setFirstName(String value)
value
- customer's first name.public String getFirstName()
public void setLastName(String value)
value
- customer's last name.public String getLastName()
public void setCompanyName(String value)
value
- customer's company name.public String getCompanyName()
public void setEmailAddress(String value)
value
- customer's email address.public String getEmailAddress()
public void setSmsNumber(String value)
value
- customer's SMS or mobile number.public String getSmsNumber()
public void setPaymentMethods(Collection<CustomerToken> value)
value
- model saved payment methods associated with a customer.public Collection<CustomerToken> getPaymentMethods()
public void addPaymentMethod(CustomerToken value)
value
- model saved payment methods associated with a customer.Copyright © 2022 BlockChyp, Inc.. All rights reserved.