|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectibilling.client.ClientObject
ibilling.client.PaymentOption
public class PaymentOption
Represents a form of payment that can be used in recurring billing process. Two forms of payments are available - Credit Card (CC) and Bank Account (EFT/ACH)
| Field Summary | |
|---|---|
private java.lang.String |
accessory
Expiration Date (MMYY) for Credit Card; Routing number for Bank Account |
private java.lang.String |
city
city of billing address |
private java.lang.String |
countryType
Billing country |
private CustomerAccount |
customerAccount
Reference to the CustomerAccount - owner of the card |
private java.lang.String |
cvv2
Value of cvv2 code, used only for processing and is not saved |
private java.lang.String |
holderName
Name of the card or bank account |
private java.lang.Boolean |
isActive
indicates if the payment option is active for billing |
private java.lang.String |
issue
Any billing related issue that the payment option may have due to decline |
private java.lang.String |
issuerBankName
Name of the bank which issued the credit card based on BIN number. |
private java.lang.String |
issuerBankPhone
Customer service phone number listed on back of credit card. |
private java.util.Date |
lastUpdateDate
date when the payment option was last updated |
private java.lang.String |
maskedAccessory
Masked version of accessory |
private java.lang.String |
maskedNumber
Masked version of number e.g. |
private java.lang.String |
number
Credit Card's/Bank Account's number |
private static long |
serialVersionUID
The Constant serialVersionUID. |
private java.lang.String |
state
state of billing address |
private java.lang.String |
street1
street1 of billing address |
private java.lang.String |
street2
street2 of billing address |
private java.lang.String |
type
type of payment option see PaymentOptionType |
private java.lang.String |
zipCode
zip code of billing address |
| Constructor Summary | |
|---|---|
PaymentOption()
Instantiates a new payment option. |
|
PaymentOption(java.lang.String code,
java.util.Date createDate,
java.lang.Boolean isActive,
java.lang.String holderName,
java.lang.String number,
java.lang.String accessory,
java.lang.String street1,
java.lang.String street2,
java.lang.String city,
java.lang.String state,
java.lang.String zipCode,
java.lang.String type,
java.lang.Integer merchantAccountCode,
java.util.Date lastUpdateDate,
CustomerAccount customerAccount,
java.lang.String issue,
java.lang.Long id,
java.lang.String maskedNumber,
java.lang.String maskedAccessory)
Instantiates a new payment option. |
|
| Method Summary | |
|---|---|
void |
clearIssue()
Clears the value of the issue field. |
java.lang.String |
getAccessory()
Gets the accessory. |
java.lang.String |
getCity()
Gets the city. |
java.lang.String |
getCountryType()
Gets the country type. |
CustomerAccount |
getCustomerAccount()
Gets the customer account. |
java.lang.String |
getCvv2()
Gets the cvv2 - will return null on any object returned from server |
java.lang.String |
getHolderName()
Gets the holder name. |
java.lang.Boolean |
getIsActive()
Gets the is active. |
java.lang.String |
getIssue()
Gets the issue. |
java.lang.String |
getIssuerBankName()
Gets the issuer bank name. |
java.lang.String |
getIssuerBankPhone()
Gets the issuer bank phone. |
java.util.Date |
getLastUpdateDate()
Gets the last update date. |
java.lang.String |
getMaskedAccessory()
Gets the masked accessory. |
java.lang.String |
getMaskedNumber()
Gets the masked number. |
java.lang.String |
getNumber()
Gets the number. |
java.lang.String |
getState()
Gets the state. |
java.lang.String |
getStreet1()
Gets the street. |
java.lang.String |
getStreet2()
Gets the street2. |
java.lang.String |
getType()
Gets the type. |
java.lang.String |
getZipCode()
Gets the zip code. |
void |
setAccessory(java.lang.String accessory)
Set a value to accessory. |
void |
setCity(java.lang.String city)
Set a value to city. |
void |
setCountryType(java.lang.String countryType)
Sets the country type. |
(package private) void |
setCustomerAccount(CustomerAccount customerAccount)
Sets the customer account. |
void |
setCvv2(java.lang.String cvv2)
Sets the cvv2. |
void |
setHolderName(java.lang.String holderName)
Set a value to holderName. |
void |
setIsActive(java.lang.Boolean isActive)
Set a value to isActive. |
void |
setIssue(java.lang.String issue)
Sets the issue. |
void |
setIssuerBankName(java.lang.String issuerBankName)
Sets the issuer bank name. |
void |
setIssuerBankPhone(java.lang.String issuerBankPhone)
Sets the issuer bank phone. |
(package private) void |
setLastUpdateDate(java.util.Date lastUpdateDate)
Sets the last update date. |
(package private) void |
setMaskedAccessory(java.lang.String maskedAccessory)
Sets the masked accessory. |
(package private) void |
setMaskedNumber(java.lang.String maskedNumber)
Sets the masked number. |
void |
setNumber(java.lang.String number)
Set a value to number. |
void |
setState(java.lang.String state)
Set a value to state. |
void |
setStreet1(java.lang.String street1)
Set a value to street. |
void |
setStreet2(java.lang.String street2)
Set a value to street2. |
void |
setType(java.lang.String type)
Set a value to type. |
void |
setZipCode(java.lang.String zipCode)
Set a value to zipCode. |
java.lang.String |
type()
Returns the type of the object instance using library's terminology In most cases it will match ClassName, but when a single class may represent multiple conceptual objects, the value will differ. |
| Methods inherited from class ibilling.client.ClientObject |
|---|
getClientProperty, getCode, getCreateDate, getId, getMerchantAccountCode, getRefId, hasClientProperty, setClientProperty, setCode, setCreateDate, setId, setMerchantAccountCode, setRefId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private java.lang.Boolean isActive
private java.lang.String holderName
private java.lang.String number
private java.lang.String accessory
private java.lang.String street1
private java.lang.String street2
private java.lang.String city
private java.lang.String state
private java.lang.String zipCode
private java.lang.String type
private java.util.Date lastUpdateDate
private java.lang.String issue
private java.lang.String cvv2
private java.lang.String maskedNumber
private java.lang.String maskedAccessory
private java.lang.String issuerBankName
private java.lang.String issuerBankPhone
private java.lang.String countryType
private CustomerAccount customerAccount
| Constructor Detail |
|---|
PaymentOption()
PaymentOption(java.lang.String code,
java.util.Date createDate,
java.lang.Boolean isActive,
java.lang.String holderName,
java.lang.String number,
java.lang.String accessory,
java.lang.String street1,
java.lang.String street2,
java.lang.String city,
java.lang.String state,
java.lang.String zipCode,
java.lang.String type,
java.lang.Integer merchantAccountCode,
java.util.Date lastUpdateDate,
CustomerAccount customerAccount,
java.lang.String issue,
java.lang.Long id,
java.lang.String maskedNumber,
java.lang.String maskedAccessory)
code - the codecreateDate - the create dateisActive - the is activeholderName - the holder namenumber - the numberaccessory - the accessorycity - the citystate - the statezipCode - the zip codetype - the typemerchantAccountCode - the merchant account codelastUpdateDate - the last update datecustomerAccount - the customer accountissue - the issueid - the idmaskedNumber - the masked numbermaskedAccessory - the masked accessorystreet1 - the street1street2 - the street2| Method Detail |
|---|
public java.lang.Boolean getIsActive()
public void setIsActive(java.lang.Boolean isActive)
isActive - the is activepublic java.lang.String getHolderName()
public void setHolderName(java.lang.String holderName)
holderName - the holder namepublic java.lang.String getNumber()
public void setNumber(java.lang.String number)
number - the numberpublic java.lang.String getAccessory()
public void setAccessory(java.lang.String accessory)
accessory - the accessorypublic java.lang.String getStreet1()
public void setStreet1(java.lang.String street1)
street1 - the street1public java.lang.String getStreet2()
public void setStreet2(java.lang.String street2)
street2 - the street2public java.lang.String getCity()
public void setCity(java.lang.String city)
city - the citypublic java.lang.String getState()
public void setState(java.lang.String state)
state - the statepublic java.lang.String getZipCode()
public void setZipCode(java.lang.String zipCode)
zipCode - the zip codepublic java.lang.String getType()
public void setType(java.lang.String type)
type - the typepublic CustomerAccount getCustomerAccount()
void setCustomerAccount(CustomerAccount customerAccount)
customerAccount - the new customer accountpublic java.util.Date getLastUpdateDate()
void setLastUpdateDate(java.util.Date lastUpdateDate)
lastUpdateDate - the new last update datepublic java.lang.String getIssue()
public void setIssue(java.lang.String issue)
issue - the new issuepublic void clearIssue()
public java.lang.String type()
ClientObject
type in class ClientObjectpublic java.lang.String getCvv2()
public void setCvv2(java.lang.String cvv2)
cvv2 - the new cvv2public java.lang.String getMaskedNumber()
void setMaskedNumber(java.lang.String maskedNumber)
maskedNumber - the new masked numberpublic java.lang.String getMaskedAccessory()
void setMaskedAccessory(java.lang.String maskedAccessory)
maskedAccessory - the new masked accessorypublic java.lang.String getIssuerBankName()
public void setIssuerBankName(java.lang.String issuerBankName)
issuerBankName - the new issuer bank namepublic java.lang.String getIssuerBankPhone()
public void setIssuerBankPhone(java.lang.String issuerBankPhone)
issuerBankPhone - the new issuer bank phonepublic java.lang.String getCountryType()
public void setCountryType(java.lang.String countryType)
countryType - the new country type
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||