|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectibilling.client.ClientObject
ibilling.client.AccountActivity
ibilling.client.AccountTransaction
ibilling.client.AssetTransaction
public class AssetTransaction
A type of AccountTransaction that represents movement of money (assets) on the account. Payment, Void and Refund are main examples of AssetTransaction.
| Field Summary | |
|---|---|
private java.lang.String |
accessory
For credit card related transactions - expiration date - MMyy For bank account related transactions - routing number Not used otherwise. |
private java.lang.String |
accountNumber
For credit card related transactions - number on the card For bank account related transactions - number of the account For check related transactions - check number Not used otherwise. |
private CaptureInfo |
captureInfo
Reference to the object representing processing related info. |
private java.lang.Boolean |
isPrepayment
If true, this transaction was created as a prepayment against charge (future invoice). |
private java.lang.String |
maskedAccessory
For credit card related transactions - expiration date - MMyy For bank account related transactions - masked routing number e.g. |
private java.lang.String |
maskedAccountNumber
For credit card related transactions - masked number on the card e.g. |
private static long |
serialVersionUID
The Constant serialVersionUID. |
private java.lang.String |
transactionType
Type of AssetTransaction, e.g. |
| Constructor Summary | |
|---|---|
AssetTransaction()
Instantiates a new asset transaction. |
|
AssetTransaction(java.util.Date createDate,
java.lang.String transactionType,
java.lang.Boolean isPrepayment,
java.lang.String accountNumber,
java.lang.String accessory,
java.lang.String maskedAccountNumber,
java.lang.String maskedAccessory,
java.lang.Integer taxAmount)
Instantiates a new asset transaction. |
|
| Method Summary | |
|---|---|
CaptureInfo |
createCaptureInfo()
Creates CaptureInfo object and associates it with this AssetTransaction. |
CaptureInfo |
createCaptureInfoExtended(java.lang.String holderName,
java.lang.String street,
java.lang.String city,
java.lang.String state,
java.lang.String phone,
java.lang.String zipCode,
java.lang.String email,
java.lang.String cvv2,
java.lang.String trackData)
Creates CaptureInfo object and associates it with this AssetTransaction. |
java.lang.String |
getAccessory()
Gets the accessory. |
java.lang.String |
getAccountNumber()
Gets the account number. |
CaptureInfo |
getCaptureInfo()
Gets the capture info. |
java.lang.Boolean |
getIsPrepayment()
Gets the is prepayment. |
java.lang.String |
getMaskedAccessory()
Gets the masked accessory. |
java.lang.String |
getMaskedAccountNumber()
Gets the masked account number. |
java.lang.String |
getTransactionType()
Gets the transaction type. |
void |
setAccessory(java.lang.String accessory)
Set a value to accessory. |
void |
setAccountNumber(java.lang.String accountNumber)
Set a value to accountNumber. |
void |
setCaptureInfo(CaptureInfo captureInfo)
Sets the capture info. |
void |
setIsPrepayment(java.lang.Boolean isPrepayment)
Set a value to isPrepayment. |
(package private) void |
setMaskedAccessory(java.lang.String maskedAccessory)
Sets the masked accessory. |
(package private) void |
setMaskedAccountNumber(java.lang.String maskedAccountNumber)
Sets the masked account number. |
void |
setTaxAmount(java.lang.Integer taxAmount)
Sets the tax amount. |
void |
setTransactionType(java.lang.String transactionType)
Set a value to transactionType. |
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.AccountTransaction |
|---|
getAdjustmentTransaction, getAmount, getBalance, getCreatorCode, getDueDate, getNote, getSellerCode, getShiftCode, getTaxAmount, getTerminalCode, setAdjustmentTransaction, setAmount, setBalance, setCreatorCode, setDueDate, setNote, setSellerCode, setShiftCode, setTerminalCode |
| Methods inherited from class ibilling.client.AccountActivity |
|---|
getAccountActivityType, getCustomerAccount, setAccountActivityType, setCustomerAccount |
| 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.String transactionType
private java.lang.Boolean isPrepayment
private java.lang.String accountNumber
private java.lang.String accessory
private java.lang.String maskedAccountNumber
private java.lang.String maskedAccessory
private CaptureInfo captureInfo
| Constructor Detail |
|---|
AssetTransaction()
AssetTransaction(java.util.Date createDate,
java.lang.String transactionType,
java.lang.Boolean isPrepayment,
java.lang.String accountNumber,
java.lang.String accessory,
java.lang.String maskedAccountNumber,
java.lang.String maskedAccessory,
java.lang.Integer taxAmount)
createDate - the create datetransactionType - the transaction typeisPrepayment - the is prepaymentaccountNumber - the account numberaccessory - the accessorymaskedAccountNumber - the masked account numbermaskedAccessory - the masked accessorytaxAmount - the tax amount| Method Detail |
|---|
public java.lang.String getTransactionType()
public void setTransactionType(java.lang.String transactionType)
transactionType - the transaction typepublic java.lang.Boolean getIsPrepayment()
public void setIsPrepayment(java.lang.Boolean isPrepayment)
isPrepayment - the is prepaymentpublic java.lang.String getAccountNumber()
public void setAccountNumber(java.lang.String accountNumber)
accountNumber - the account numberpublic java.lang.String getAccessory()
public void setAccessory(java.lang.String accessory)
accessory - the accessorypublic CaptureInfo getCaptureInfo()
public void setCaptureInfo(CaptureInfo captureInfo)
captureInfo - the new capture infopublic void setTaxAmount(java.lang.Integer taxAmount)
AccountTransaction
setTaxAmount in class AccountTransactiontaxAmount - the new tax amountpublic CaptureInfo createCaptureInfo()
public CaptureInfo createCaptureInfoExtended(java.lang.String holderName,
java.lang.String street,
java.lang.String city,
java.lang.String state,
java.lang.String phone,
java.lang.String zipCode,
java.lang.String email,
java.lang.String cvv2,
java.lang.String trackData)
holderName - the holder namestreet - the streetcity - the citystate - the statephone - the phonezipCode - the zip codeemail - the emailcvv2 - the cvv2trackData - the track data
public java.lang.String type()
ClientObject
type in class AccountActivitypublic java.lang.String getMaskedAccountNumber()
void setMaskedAccountNumber(java.lang.String maskedAccountNumber)
maskedAccountNumber - the new masked account numberpublic java.lang.String getMaskedAccessory()
void setMaskedAccessory(java.lang.String maskedAccessory)
maskedAccessory - the new masked accessory
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||