ibilling.client
Class RevenueTransaction

java.lang.Object
  extended by ibilling.client.ClientObject
      extended by ibilling.client.AccountActivity
          extended by ibilling.client.AccountTransaction
              extended by ibilling.client.RevenueTransaction
All Implemented Interfaces:
java.io.Serializable

public class RevenueTransaction
extends AccountTransaction

A type of AccountTransaction that represents sales (revenue) on the account. Invoice, Fee, Credit and Reversal are main examples of RevenueTransaction.

Since:
1.0
See Also:
Serialized Form

Field Summary
private  java.lang.Boolean isComplimentary
          indicates whether this invoice was created to reflect complimentary value vs actual request for payment
private  java.lang.String itemCode
          optional item code for classification purposes.
private  PaymentOption paymentOption
          payment option associated with this revenue transaction that can be used to collection money electronically
private static long serialVersionUID
          The Constant serialVersionUID.
 
Constructor Summary
RevenueTransaction()
          Instantiates a new revenue transaction.
RevenueTransaction(java.util.Date createDate, java.lang.Boolean isComplimentary)
          Instantiates a new revenue transaction.
 
Method Summary
 java.lang.Boolean getIsComplimentary()
          Gets the is complimentary.
 java.lang.String getItemCode()
          Gets the item code.
 PaymentOption getPaymentOption()
          Gets the payment option.
 void setIsComplimentary(java.lang.Boolean isComplimentary)
          Set a value to isComplimentary.
 void setItemCode(java.lang.String itemCode)
          Set a value to itemCode.
 void setPaymentOption(PaymentOption paymentOption)
          Sets the payment option.
 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, setTaxAmount, 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

serialVersionUID

private static final long serialVersionUID
The Constant serialVersionUID.

See Also:
Constant Field Values

itemCode

private java.lang.String itemCode
optional item code for classification purposes. requires preliminary setup in portal


isComplimentary

private java.lang.Boolean isComplimentary
indicates whether this invoice was created to reflect complimentary value vs actual request for payment


paymentOption

private PaymentOption paymentOption
payment option associated with this revenue transaction that can be used to collection money electronically

Constructor Detail

RevenueTransaction

RevenueTransaction()
Instantiates a new revenue transaction.


RevenueTransaction

RevenueTransaction(java.util.Date createDate,
                   java.lang.Boolean isComplimentary)
Instantiates a new revenue transaction.

Parameters:
createDate - the create date
isComplimentary - the is complimentary
Method Detail

getItemCode

public java.lang.String getItemCode()
Gets the item code.

Returns:
Returns the itemCode

setItemCode

public void setItemCode(java.lang.String itemCode)
Set a value to itemCode.

Parameters:
itemCode - the item code

getIsComplimentary

public java.lang.Boolean getIsComplimentary()
Gets the is complimentary.

Returns:
Returns the isComplimentary

setIsComplimentary

public void setIsComplimentary(java.lang.Boolean isComplimentary)
Set a value to isComplimentary.

Parameters:
isComplimentary - the is complimentary

getPaymentOption

public PaymentOption getPaymentOption()
Gets the payment option.

Returns:
the payment option

setPaymentOption

public void setPaymentOption(PaymentOption paymentOption)
Sets the payment option.

Parameters:
paymentOption - the new payment option

type

public java.lang.String type()
Description copied from class: ClientObject
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.

Overrides:
type in class AccountActivity
Returns:
the type of the client object