|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectibilling.client.ClientObject
ibilling.client.CustomerAccount
public class CustomerAccount
Represents a party (person or organization) making/responsible for invoicing, payments, plans in the system.
| Field Summary | |
|---|---|
private java.util.List<AssetTransaction> |
assetTransactions
List of AssetTransctions associated with this CustomerAccount. |
private java.lang.Integer |
balance
Current balance on the account. |
private java.lang.String |
beneficiaryInfo
Buyer's information (if somebody else is responsible for payments). |
private java.util.Date |
birthDate
If person - date of birth, not used otherwise. |
private java.lang.String |
cellPhone
Cell phone number. |
private java.lang.String |
city
City of the address. |
private java.lang.String |
countryType
Billing country |
private java.lang.String |
customerAccountGroupCode
Predefined classification code for this account (to simplify searching/reporting). |
private java.lang.String |
email
Contact e-mail. |
private java.lang.String |
firstName
If person - first name, not used otherwise. |
private java.lang.String |
homePhone
Home phone number. |
private java.lang.Boolean |
isActive
If false, account has no active payment option or payment plans. |
private java.lang.Boolean |
isVerified
Not Used. |
private java.lang.String |
lastName
If person - last name, if organization - organization's name. |
private java.util.Date |
lastUpdateDate
Last time the account was updated. |
private java.lang.String |
middleName
If person - middle name, not used otherwise. |
private java.lang.String |
notes
Any notes associated with the account. |
private java.util.List<PaymentOption> |
paymentOptions
List of payment options associated with this CustomerAccount. |
private java.util.List<PaymentPlan> |
paymentPlans
List of PaymentPlans associated with this CustomerAccount. |
private java.util.List<RevenueTransaction> |
revenueTransactions
List of RevenueTransactions associated with this CustomerAccount. |
private static long |
serialVersionUID
The Constant serialVersionUID. |
private java.lang.String |
state
State of the address. |
private java.lang.String |
street1
Street1 of the address. |
private java.lang.String |
street2
Street2 of the address. |
private java.lang.String |
suffix
If person - suffix, not used otherwise. |
private java.lang.String |
title
If person - title, not used otherwise. |
private java.lang.String |
type
Type of the account. |
private java.lang.String |
workPhone
Work phone number/contact number if organization. |
private java.lang.String |
zipCode
Zip code of the address. |
| Constructor Summary | |
|---|---|
CustomerAccount()
Instantiates a new customer account. |
|
CustomerAccount(java.lang.String code,
java.util.Date createDate,
java.lang.String firstName,
java.lang.String lastName,
java.lang.String middleName,
java.lang.String title,
java.lang.String suffix,
java.lang.String type,
java.lang.Boolean isActive,
java.lang.String homePhone,
java.lang.String workPhone,
java.lang.String cellPhone,
java.lang.String email,
java.lang.String street1,
java.lang.String street2,
java.lang.String city,
java.lang.String state,
java.lang.String zipCode,
java.lang.Integer balance,
java.lang.String beneficiaryInfo,
java.lang.Integer merchantAccountCode,
java.lang.String customerAccountGroupCode,
java.lang.Boolean isVerified,
java.lang.String notes,
java.util.Date lastUpdateDate,
java.util.Date birthDate,
java.lang.Long id)
Instantiates a new customer account. |
|
| Method Summary | |
|---|---|
void |
addAssetTransaction(AssetTransaction assetTransaction)
Adds the asset transaction. |
void |
addPaymentOption(PaymentOption paymentOption)
Adds the payment option. |
void |
addPaymentPlan(PaymentPlan paymentPlan)
Adds the payment plan. |
void |
addRevenueTransaction(RevenueTransaction revenueTransaction)
Adds the revenue transaction. |
void |
clear()
Clears all associated collections of objects: PaymentOptions, RevenueTransactions, CaptureInfo, AssetTransactions and PaymentPlans. |
AssetTransaction |
createAllowance(java.lang.String code,
java.lang.Integer amount,
java.lang.String note,
java.lang.String creatorCode,
java.lang.String sellerCode,
java.lang.String shiftCode,
java.lang.String terminalCode)
createAllowance method. |
AssetTransaction |
createAllowanceRefund(java.lang.String code,
java.lang.Integer amount,
java.lang.String note,
java.lang.String creatorCode,
java.lang.String sellerCode,
java.lang.String shiftCode,
java.lang.String terminalCode,
java.lang.String accountNumber,
java.lang.String accessory)
createAllowanceRefund method. |
AssetTransaction |
createAssetTransaction()
createAssetTransaction method. |
AssetTransaction |
createAssetTransaction(boolean addToCustomerAccount)
createAssetTransaction method. |
AssetTransaction |
createAssetTransactionExtended(java.lang.String accountActivityType,
java.lang.String code,
java.lang.Integer amount,
java.lang.String accountNumber,
java.lang.String accessory)
createAssetTransaction method. |
PaymentOption |
createBankAccount(java.lang.String code,
java.lang.String holderName,
java.lang.String bankNumber,
java.lang.String routingNumber,
boolean isSaving)
createBankAccount method. |
PaymentOption |
createBankAccountExtended(java.lang.String code,
java.lang.String holderName,
java.lang.String bankNumber,
java.lang.String routingNumber,
java.lang.String street1,
java.lang.String street2,
java.lang.String city,
java.lang.String state,
java.lang.String zipCode,
boolean isSaving)
createBankAccount method. |
AssetTransaction |
createCashPayment(java.lang.Integer amount,
java.lang.String note,
java.lang.String creatorCode,
java.lang.String sellerCode,
java.lang.String shiftCode,
java.lang.String terminalCode,
java.lang.String code)
createCashPayment method. |
AssetTransaction |
createCashRefund(java.lang.Integer amount,
java.lang.String note,
java.lang.String creatorCode,
java.lang.String sellerCode,
java.lang.String shiftCode,
java.lang.String terminalCode,
java.lang.String accountNumber,
java.lang.String accessory,
java.lang.String code)
createCashRefund method. |
AssetTransaction |
createCheckPayment(java.lang.Integer amount,
java.lang.String note,
java.lang.String creatorCode,
java.lang.String sellerCode,
java.lang.String shiftCode,
java.lang.String terminalCode,
java.lang.String checkNumber,
java.lang.String code)
createCheckPayment method. |
RevenueTransaction |
createCredit()
createCredit method. |
PaymentOption |
createCreditCard(java.lang.String code,
java.lang.String holderName,
java.lang.String creditCardNumber,
java.lang.String expirationDate,
java.lang.String type)
createCreditCard method. |
PaymentOption |
createCreditCardExtended(java.lang.String code,
java.lang.String holderName,
java.lang.String creditCardNumber,
java.lang.String expirationDate,
java.lang.String type,
java.lang.String street1,
java.lang.String street2,
java.lang.String city,
java.lang.String state,
java.lang.String zipCode)
createCreditCard method. |
AssetTransaction |
createCreditCardPayment(java.lang.Integer amount,
java.lang.String note,
java.lang.String creatorCode,
java.lang.String sellerCode,
java.lang.String shiftCode,
java.lang.String terminalCode,
java.lang.String creditCardNumber,
java.lang.String expirationDate,
java.lang.String transactionType,
java.lang.String holderName,
java.lang.String city,
java.lang.String state,
java.lang.String street1,
java.lang.String street2,
java.lang.String zipCode,
java.lang.String phone,
java.lang.String email,
java.lang.String cvv2,
java.lang.String code)
createCreditCardPayment method. |
AssetTransaction |
createCreditCardRefund(java.lang.Integer amount,
java.lang.String note,
java.lang.String creatorCode,
java.lang.String sellerCode,
java.lang.String shiftCode,
java.lang.String terminalCode,
java.lang.String creditCardNumber,
java.lang.String expirationDate,
java.lang.String transactionType,
java.lang.String holderName,
java.lang.String city,
java.lang.String state,
java.lang.String street1,
java.lang.String street2,
java.lang.String zipCode,
java.lang.String phone,
java.lang.String email,
java.lang.String cvv2,
java.lang.String code)
createCredit�ardRefund method. |
RevenueTransaction |
createCreditExtended(java.lang.Integer amount,
java.lang.String note,
java.lang.String creatorCode,
java.lang.String sellerCode,
java.lang.String shiftCode,
java.lang.String terminalCode,
java.util.Date dueDate,
java.lang.Integer taxAmount,
java.lang.String itemCode,
java.lang.String code)
Creates the credit extended. |
RevenueTransaction |
createInvoice(java.lang.String type,
java.lang.Integer amount,
java.lang.String note,
java.lang.String creatorCode,
java.lang.String sellerCode,
java.lang.String shiftCode,
java.lang.String terminalCode,
java.util.Date dueDate,
java.lang.Integer taxAmount,
java.lang.String itemCode,
PaymentOption paymentOption)
createInvoice method. |
PaymentOption |
createPaymentOption()
Creates PaymentOption and associates it with this CustomerAccount. |
PaymentOption |
createPaymentOption(boolean addToCustomerAccount)
Creates PaymentOption. |
PaymentOption |
createPaymentOptionExtended(java.lang.String street1,
java.lang.String street2,
java.lang.String city,
java.lang.String state,
java.lang.String zipCode)
createPaymentOption method. |
PaymentPlan |
createPaymentPlan()
createPaymentPlan method. |
PaymentPlan |
createPaymentPlan(boolean addToCustomerAccount)
createPaymentPlan method. |
PaymentPlan |
createPaymentPlanBasic(java.lang.String code,
java.lang.Integer amount,
java.lang.String billingCycleCode,
java.util.Date firstBillingDate,
java.lang.Integer length,
java.lang.String type)
createPaymentPlan method. |
PaymentPlan |
createPaymentPlanExtended(java.lang.String code,
java.lang.String sellerCode,
java.lang.Integer amount,
java.lang.String groupCode1,
java.lang.String groupCode2,
java.lang.String groupCode3,
java.lang.String groupCode4,
java.lang.String groupCode5,
java.lang.String groupCode6,
java.lang.String groupCode7,
java.lang.String groupCode8,
java.lang.String itemCode,
java.lang.String taxCode,
PaymentOption paymentOption,
java.lang.Integer length,
java.lang.String billingCycleCode,
java.util.Date firstBillingDate,
java.lang.String type)
createPaymentPlan method. |
AssetTransaction |
createRefund()
Creates the refund. |
RevenueTransaction |
createRevenueTransaction()
createRevenueTransaction method. |
RevenueTransaction |
createRevenueTransaction(boolean addToCustomerAccount)
createRevenueTransaction method. |
RevenueTransaction |
createRevenueTransactionExtended(java.lang.String accountActivityType,
java.lang.String code,
java.lang.Integer amount,
java.lang.Integer taxAmount,
java.lang.Boolean isComplimantary)
createRevenueTransaction method. |
java.util.List<AssetTransaction> |
getAssetTransactions()
Gets the asset transactions. |
java.lang.Integer |
getBalance()
Gets the balance. |
java.lang.String |
getBeneficiaryInfo()
Gets the beneficiary info. |
java.util.Date |
getBirthDate()
Gets the birth date. |
java.lang.String |
getCellPhone()
Gets the cell phone. |
java.lang.String |
getCity()
Gets the city. |
java.lang.String |
getCountryType()
Gets the country type. |
java.lang.String |
getCustomerAccountGroupCode()
Gets the customer account group code. |
java.lang.String |
getEmail()
Gets the email. |
java.lang.String |
getFirstName()
Gets the first name. |
java.lang.String |
getHomePhone()
Gets the home phone. |
java.lang.Boolean |
getIsActive()
Gets the is active. |
java.lang.Boolean |
getIsVerified()
Gets the is verified. |
java.lang.String |
getLastName()
Gets the last name. |
java.util.Date |
getLastUpdateDate()
Gets the last update date. |
java.lang.String |
getMiddleName()
Gets the middle name. |
java.lang.String |
getName()
Gets the name. |
java.lang.String |
getNotes()
Gets the notes. |
java.util.List<PaymentOption> |
getPaymentOptions()
Gets the payment options. |
java.util.List<PaymentPlan> |
getPaymentPlans()
Gets the payment plans. |
java.util.List<RevenueTransaction> |
getRevenueTransactions()
Gets the revenue transactions. |
java.lang.String |
getState()
Gets the state. |
java.lang.String |
getStreet1()
Gets the street1. |
java.lang.String |
getStreet2()
Gets the street2. |
java.lang.String |
getSuffix()
Gets the suffix. |
java.lang.String |
getTitle()
Gets the title. |
java.lang.String |
getType()
Gets the type. |
java.lang.String |
getWorkPhone()
Gets the work phone. |
java.lang.String |
getZipCode()
Gets the zip code. |
void |
removeAssetTransaction(AssetTransaction assetTransaction)
Removes the asset transaction. |
void |
removePaymentOption(PaymentOption paymentOption)
Removes the payment option. |
void |
removePaymentPlan(PaymentPlan paymentPlan)
Removes the payment plan. |
void |
removeRevenueTransaction(RevenueTransaction revenueTransaction)
Removes the revenue transaction. |
RevenueTransaction |
reverseInvoice(RevenueTransaction revenueTransaction)
voidInvoice method. |
RevenueTransaction |
reverseInvoiceExtended(RevenueTransaction revenueTransaction,
java.lang.String code,
java.lang.String note)
voidInvoice method. |
AssetTransaction |
reversePayment(AssetTransaction assetTransaction)
voidPayment method. |
AssetTransaction |
reversePaymentExtended(AssetTransaction assetTransaction,
java.lang.String code,
java.lang.String note)
Reverse payment extended. |
(package private) void |
setBalance(java.lang.Integer balance)
Set a value to balance. |
void |
setBeneficiaryInfo(java.lang.String beneficiaryInfo)
Set a value to beneficiaryInfo. |
void |
setBirthDate(java.util.Date birthDate)
Set a value to birthDate. |
void |
setCellPhone(java.lang.String cellPhone)
Set a value to cellPhone. |
void |
setCity(java.lang.String city)
Set a value to city. |
void |
setCountryType(java.lang.String countryType)
Sets the country type. |
void |
setCustomerAccountGroupCode(java.lang.String customerAccountGroupCode)
Set a value to merchantAccountCode. |
void |
setEmail(java.lang.String email)
Set a value to email. |
void |
setFirstName(java.lang.String firstName)
Sets the first name. |
void |
setHomePhone(java.lang.String homePhone)
Set a value to homePhone. |
void |
setIsActive(java.lang.Boolean isActive)
Set a value to isActive. |
(package private) void |
setIsVerified(java.lang.Boolean isVerified)
|
void |
setLastName(java.lang.String lastName)
Sets the last name. |
(package private) void |
setLastUpdateDate(java.util.Date lastUpdateDate)
|
void |
setMerchantAccountCode(java.lang.Integer merchantAccountCode)
Set a value to merchantAccountCode. |
void |
setMiddleName(java.lang.String middleName)
Sets the middle name. |
void |
setNotes(java.lang.String notes)
Set a value to notes. |
void |
setState(java.lang.String state)
Set a value to state. |
void |
setStreet1(java.lang.String street1)
Set a value to street1. |
void |
setStreet2(java.lang.String street2)
Sets the street2. |
void |
setSuffix(java.lang.String suffix)
Sets the suffix. |
void |
setTitle(java.lang.String title)
Sets the title. |
void |
setType(java.lang.String type)
Set a value to type. |
void |
setWorkPhone(java.lang.String workPhone)
Set a value to workPhone. |
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. |
private void |
validateFirstBillingDate(java.util.Date firstBillingDate,
java.lang.String billingCycleCode,
java.lang.String code)
Validate first billing date. |
| Methods inherited from class ibilling.client.ClientObject |
|---|
getClientProperty, getCode, getCreateDate, getId, getMerchantAccountCode, getRefId, hasClientProperty, setClientProperty, setCode, setCreateDate, setId, 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.String firstName
private java.lang.String lastName
private java.lang.String middleName
private java.lang.String title
private java.lang.String suffix
private java.lang.String type
private java.lang.Boolean isActive
private java.lang.String homePhone
private java.lang.String workPhone
private java.lang.String cellPhone
private java.lang.String email
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 countryType
private java.lang.Integer balance
private java.lang.String beneficiaryInfo
private java.lang.String customerAccountGroupCode
private java.lang.Boolean isVerified
private java.lang.String notes
private java.util.Date lastUpdateDate
private java.util.Date birthDate
private java.util.List<PaymentOption> paymentOptions
private java.util.List<RevenueTransaction> revenueTransactions
private java.util.List<AssetTransaction> assetTransactions
private java.util.List<PaymentPlan> paymentPlans
| Constructor Detail |
|---|
CustomerAccount()
CustomerAccount(java.lang.String code,
java.util.Date createDate,
java.lang.String firstName,
java.lang.String lastName,
java.lang.String middleName,
java.lang.String title,
java.lang.String suffix,
java.lang.String type,
java.lang.Boolean isActive,
java.lang.String homePhone,
java.lang.String workPhone,
java.lang.String cellPhone,
java.lang.String email,
java.lang.String street1,
java.lang.String street2,
java.lang.String city,
java.lang.String state,
java.lang.String zipCode,
java.lang.Integer balance,
java.lang.String beneficiaryInfo,
java.lang.Integer merchantAccountCode,
java.lang.String customerAccountGroupCode,
java.lang.Boolean isVerified,
java.lang.String notes,
java.util.Date lastUpdateDate,
java.util.Date birthDate,
java.lang.Long id)
code - the codecreateDate - the create datefirstName - the first namelastName - the last namemiddleName - the middle nametitle - the titlesuffix - the suffixtype - the typeisActive - the is activehomePhone - the home phoneworkPhone - the work phonecellPhone - the cell phoneemail - the emailstreet1 - the street1street2 - the street2city - the citystate - the statezipCode - the zip codebalance - the balancebeneficiaryInfo - the beneficiary infomerchantAccountCode - the merchant account codecustomerAccountGroupCode - the customer account group codeisVerified - the is verifiednotes - the noteslastUpdateDate - the last update datebirthDate - the birth dateid - the id| Method Detail |
|---|
public void setMerchantAccountCode(java.lang.Integer merchantAccountCode)
ClientObject
setMerchantAccountCode in class ClientObjectmerchantAccountCode - the merchant account codepublic java.lang.String getType()
public void setType(java.lang.String type)
type - the typepublic java.lang.Boolean getIsActive()
public void setIsActive(java.lang.Boolean isActive)
isActive - the is activepublic java.lang.String getHomePhone()
public void setHomePhone(java.lang.String homePhone)
homePhone - the home phonepublic java.lang.String getWorkPhone()
public void setWorkPhone(java.lang.String workPhone)
workPhone - the work phonepublic java.lang.String getCellPhone()
public void setCellPhone(java.lang.String cellPhone)
cellPhone - the cell phonepublic java.lang.String getEmail()
public void setEmail(java.lang.String email)
email - the emailpublic java.lang.String getStreet1()
public void setStreet1(java.lang.String street1)
street1 - the street1public 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.Integer getBalance()
void setBalance(java.lang.Integer balance)
balance - the balancepublic java.lang.String getBeneficiaryInfo()
public void setBeneficiaryInfo(java.lang.String beneficiaryInfo)
beneficiaryInfo - the beneficiary infopublic java.lang.String getCustomerAccountGroupCode()
public void setCustomerAccountGroupCode(java.lang.String customerAccountGroupCode)
customerAccountGroupCode - The customerAccountGroupCode to set.public java.lang.String getNotes()
public void setNotes(java.lang.String notes)
notes - The notes to set.public java.util.Date getBirthDate()
public void setBirthDate(java.util.Date birthDate)
birthDate - The birthDate to set.public java.lang.Boolean getIsVerified()
public java.util.Date getLastUpdateDate()
public java.util.List<PaymentOption> getPaymentOptions()
public void addPaymentOption(PaymentOption paymentOption)
paymentOption - the payment optionpublic void removePaymentOption(PaymentOption paymentOption)
paymentOption - the payment optionpublic java.util.List<RevenueTransaction> getRevenueTransactions()
public void addRevenueTransaction(RevenueTransaction revenueTransaction)
revenueTransaction - the revenue transactionpublic void removeRevenueTransaction(RevenueTransaction revenueTransaction)
revenueTransaction - the revenue transactionpublic java.util.List<AssetTransaction> getAssetTransactions()
public void addAssetTransaction(AssetTransaction assetTransaction)
assetTransaction - the asset transactionpublic void removeAssetTransaction(AssetTransaction assetTransaction)
assetTransaction - the asset transactionpublic java.util.List<PaymentPlan> getPaymentPlans()
public void addPaymentPlan(PaymentPlan paymentPlan)
paymentPlan - the payment planpublic void removePaymentPlan(PaymentPlan paymentPlan)
paymentPlan - the payment planpublic void clear()
public PaymentOption createPaymentOption()
public PaymentOption createPaymentOption(boolean addToCustomerAccount)
addToCustomerAccount - if true, adds payment option to the CustomerAccount; if false,
explicit call to add is required
public PaymentOption createCreditCard(java.lang.String code,
java.lang.String holderName,
java.lang.String creditCardNumber,
java.lang.String expirationDate,
java.lang.String type)
code - the codeholderName - the holder namecreditCardNumber - the credit card numberexpirationDate - the expiration datetype - the type
public PaymentOption createBankAccount(java.lang.String code,
java.lang.String holderName,
java.lang.String bankNumber,
java.lang.String routingNumber,
boolean isSaving)
code - the codeholderName - the holder namebankNumber - the bank numberroutingNumber - the routing numberisSaving - the is saving
public PaymentOption createPaymentOptionExtended(java.lang.String street1,
java.lang.String street2,
java.lang.String city,
java.lang.String state,
java.lang.String zipCode)
street1 - the street1street2 - the street2city - the citystate - the statezipCode - the zip code
public PaymentOption createCreditCardExtended(java.lang.String code,
java.lang.String holderName,
java.lang.String creditCardNumber,
java.lang.String expirationDate,
java.lang.String type,
java.lang.String street1,
java.lang.String street2,
java.lang.String city,
java.lang.String state,
java.lang.String zipCode)
code - the codeholderName - the holder namecreditCardNumber - the credit card numberexpirationDate - the expiration datetype - the typestreet1 - the street1street2 - the street2city - the citystate - the statezipCode - the zip code
public PaymentOption createBankAccountExtended(java.lang.String code,
java.lang.String holderName,
java.lang.String bankNumber,
java.lang.String routingNumber,
java.lang.String street1,
java.lang.String street2,
java.lang.String city,
java.lang.String state,
java.lang.String zipCode,
boolean isSaving)
code - the codeholderName - the holder namebankNumber - the bank numberroutingNumber - the routing numberstreet1 - the street1street2 - the street2city - the citystate - the statezipCode - the zip codeisSaving - the is saving
public PaymentPlan createPaymentPlan(boolean addToCustomerAccount)
addToCustomerAccount - the add to customer account
public PaymentPlan createPaymentPlan()
public PaymentPlan createPaymentPlanBasic(java.lang.String code,
java.lang.Integer amount,
java.lang.String billingCycleCode,
java.util.Date firstBillingDate,
java.lang.Integer length,
java.lang.String type)
throws ClientException
code - the codeamount - the amountbillingCycleCode - the billing cycle codefirstBillingDate - the first billing datelength - the lengthtype - the type
ClientException - the client exception
public PaymentPlan createPaymentPlanExtended(java.lang.String code,
java.lang.String sellerCode,
java.lang.Integer amount,
java.lang.String groupCode1,
java.lang.String groupCode2,
java.lang.String groupCode3,
java.lang.String groupCode4,
java.lang.String groupCode5,
java.lang.String groupCode6,
java.lang.String groupCode7,
java.lang.String groupCode8,
java.lang.String itemCode,
java.lang.String taxCode,
PaymentOption paymentOption,
java.lang.Integer length,
java.lang.String billingCycleCode,
java.util.Date firstBillingDate,
java.lang.String type)
throws ClientException
code - the codesellerCode - the seller codeamount - the amountgroupCode1 - the group code1groupCode2 - the group code2groupCode3 - the group code3groupCode4 - the group code4groupCode5 - the group code5groupCode6 - the group code6groupCode7 - the group code7groupCode8 - the group code8itemCode - the item codetaxCode - the tax codepaymentOption - the payment optionlength - the lengthbillingCycleCode - the billing cycle codefirstBillingDate - the first billing datetype - the type
ClientException - the client exception
public RevenueTransaction createInvoice(java.lang.String type,
java.lang.Integer amount,
java.lang.String note,
java.lang.String creatorCode,
java.lang.String sellerCode,
java.lang.String shiftCode,
java.lang.String terminalCode,
java.util.Date dueDate,
java.lang.Integer taxAmount,
java.lang.String itemCode,
PaymentOption paymentOption)
type - the typeamount - the amountnote - the notecreatorCode - the creator codesellerCode - the seller codeshiftCode - the shift codeterminalCode - the terminal codedueDate - the due datetaxAmount - the tax amountitemCode - the item codepaymentOption - the payment option
public RevenueTransaction createCredit()
public RevenueTransaction createCreditExtended(java.lang.Integer amount,
java.lang.String note,
java.lang.String creatorCode,
java.lang.String sellerCode,
java.lang.String shiftCode,
java.lang.String terminalCode,
java.util.Date dueDate,
java.lang.Integer taxAmount,
java.lang.String itemCode,
java.lang.String code)
amount - the amountnote - the notecreatorCode - the creator codesellerCode - the seller codeshiftCode - the shift codeterminalCode - the terminal codedueDate - the due datetaxAmount - the tax amountitemCode - the item code
public RevenueTransaction reverseInvoice(RevenueTransaction revenueTransaction)
throws ClientException
revenueTransaction - the revenue transaction
ClientException - the client exception
public RevenueTransaction reverseInvoiceExtended(RevenueTransaction revenueTransaction,
java.lang.String code,
java.lang.String note)
throws ClientException
revenueTransaction - the revenue transactioncode - the codenote - the note
ClientException - the client exception
public AssetTransaction reversePayment(AssetTransaction assetTransaction)
throws ClientException
assetTransaction - the asset transaction
ClientException - the client exception
public AssetTransaction reversePaymentExtended(AssetTransaction assetTransaction,
java.lang.String code,
java.lang.String note)
throws ClientException
assetTransaction - the asset transactioncode - the codenote - the note
ClientException - the client exception
public AssetTransaction createCashPayment(java.lang.Integer amount,
java.lang.String note,
java.lang.String creatorCode,
java.lang.String sellerCode,
java.lang.String shiftCode,
java.lang.String terminalCode,
java.lang.String code)
amount - the amountnote - the notecreatorCode - the creator codesellerCode - the seller codeshiftCode - the shift codeterminalCode - the terminal codecode - the code
public AssetTransaction createCheckPayment(java.lang.Integer amount,
java.lang.String note,
java.lang.String creatorCode,
java.lang.String sellerCode,
java.lang.String shiftCode,
java.lang.String terminalCode,
java.lang.String checkNumber,
java.lang.String code)
amount - the amountnote - the notecreatorCode - the creator codesellerCode - the seller codeshiftCode - the shift codeterminalCode - the terminal codecheckNumber - the check numbercode - the code
public AssetTransaction createCreditCardPayment(java.lang.Integer amount,
java.lang.String note,
java.lang.String creatorCode,
java.lang.String sellerCode,
java.lang.String shiftCode,
java.lang.String terminalCode,
java.lang.String creditCardNumber,
java.lang.String expirationDate,
java.lang.String transactionType,
java.lang.String holderName,
java.lang.String city,
java.lang.String state,
java.lang.String street1,
java.lang.String street2,
java.lang.String zipCode,
java.lang.String phone,
java.lang.String email,
java.lang.String cvv2,
java.lang.String code)
amount - the amountnote - the notecreatorCode - the creator codesellerCode - the seller codeshiftCode - the shift codeterminalCode - the terminal codecreditCardNumber - the credit card numberexpirationDate - the expiration datetransactionType - the transaction typeholderName - the holder namecity - the citystate - the statestreet1 - the street1street2 - the street2zipCode - the zip codephone - the phoneemail - the emailcvv2 - the cvv2code - the code
public AssetTransaction createCashRefund(java.lang.Integer amount,
java.lang.String note,
java.lang.String creatorCode,
java.lang.String sellerCode,
java.lang.String shiftCode,
java.lang.String terminalCode,
java.lang.String accountNumber,
java.lang.String accessory,
java.lang.String code)
amount - the amountnote - the notecreatorCode - the creator codesellerCode - the seller codeshiftCode - the shift codeterminalCode - the terminal codeaccountNumber - the account numberaccessory - the accessorycode - the code
public AssetTransaction createRefund()
public AssetTransaction createCreditCardRefund(java.lang.Integer amount,
java.lang.String note,
java.lang.String creatorCode,
java.lang.String sellerCode,
java.lang.String shiftCode,
java.lang.String terminalCode,
java.lang.String creditCardNumber,
java.lang.String expirationDate,
java.lang.String transactionType,
java.lang.String holderName,
java.lang.String city,
java.lang.String state,
java.lang.String street1,
java.lang.String street2,
java.lang.String zipCode,
java.lang.String phone,
java.lang.String email,
java.lang.String cvv2,
java.lang.String code)
amount - the amountnote - the notecreatorCode - the creator codesellerCode - the seller codeshiftCode - the shift codeterminalCode - the terminal codecreditCardNumber - the credit card numberexpirationDate - the expiration datetransactionType - the transaction typeholderName - the holder namecity - the citystate - the statestreet1 - the street1street2 - the street2zipCode - the zip codephone - the phoneemail - the emailcvv2 - the cvv2code - the code
public RevenueTransaction createRevenueTransaction(boolean addToCustomerAccount)
addToCustomerAccount - the add to customer account
public RevenueTransaction createRevenueTransaction()
public RevenueTransaction createRevenueTransactionExtended(java.lang.String accountActivityType,
java.lang.String code,
java.lang.Integer amount,
java.lang.Integer taxAmount,
java.lang.Boolean isComplimantary)
accountActivityType - the account activity typecode - the codeamount - the amounttaxAmount - the tax amountisComplimantary - the is complimantary
public AssetTransaction createAssetTransaction(boolean addToCustomerAccount)
addToCustomerAccount - the add to customer account
public AssetTransaction createAssetTransaction()
public AssetTransaction createAssetTransactionExtended(java.lang.String accountActivityType,
java.lang.String code,
java.lang.Integer amount,
java.lang.String accountNumber,
java.lang.String accessory)
accountActivityType - the account activity typecode - the codeamount - the amountaccountNumber - the account numberaccessory - the accessory
public AssetTransaction createAllowance(java.lang.String code,
java.lang.Integer amount,
java.lang.String note,
java.lang.String creatorCode,
java.lang.String sellerCode,
java.lang.String shiftCode,
java.lang.String terminalCode)
code - TODOamount - the amountnote - the notecreatorCode - the creator codesellerCode - the seller codeshiftCode - the shift codeterminalCode - the terminal code
public AssetTransaction createAllowanceRefund(java.lang.String code,
java.lang.Integer amount,
java.lang.String note,
java.lang.String creatorCode,
java.lang.String sellerCode,
java.lang.String shiftCode,
java.lang.String terminalCode,
java.lang.String accountNumber,
java.lang.String accessory)
code - TODOamount - the amountnote - the notecreatorCode - the creator codesellerCode - the seller codeshiftCode - the shift codeterminalCode - the terminal codeaccountNumber - the account numberaccessory - the accessory
public java.lang.String getCountryType()
public void setCountryType(java.lang.String countryType)
countryType - the new country typepublic java.lang.String type()
ClientObject
type in class ClientObject
private void validateFirstBillingDate(java.util.Date firstBillingDate,
java.lang.String billingCycleCode,
java.lang.String code)
throws ClientException
firstBillingDate - the first billing datebillingCycleCode - the billing cycle codecode - the code
ClientException - the client exceptionpublic java.lang.String getFirstName()
public void setFirstName(java.lang.String firstName)
firstName - the new first namepublic java.lang.String getLastName()
public void setLastName(java.lang.String lastName)
lastName - the new last namepublic java.lang.String getMiddleName()
public void setMiddleName(java.lang.String middleName)
middleName - the new middle namepublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title - the new titlepublic java.lang.String getSuffix()
public void setSuffix(java.lang.String suffix)
suffix - the new suffixpublic java.lang.String getName()
public java.lang.String getStreet2()
public void setStreet2(java.lang.String street2)
street2 - the new street2void setIsVerified(java.lang.Boolean isVerified)
void setLastUpdateDate(java.util.Date lastUpdateDate)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||