public class PurchaseResponse
extends io.electrum.vas.model.Transaction
| Constructor and Description |
|---|
PurchaseResponse() |
| Modifier and Type | Method and Description |
|---|---|
PurchaseResponse |
addDebtRecoveryChargesItem(DebtRecoveryCharge debtRecoveryChargesItem) |
PurchaseResponse |
addServiceChargesItem(ServiceCharge serviceChargesItem) |
PurchaseResponse |
addTokensItem(Token tokensItem) |
PurchaseResponse |
customer(io.electrum.vas.model.Customer customer)
Details of the person or organization to whom the meter belongs.
|
PurchaseResponse |
debtRecoveryCharges(List<DebtRecoveryCharge> debtRecoveryCharges)
List of charges that have been levied in order to reclaim outstanding debts associated with the meter.
|
io.electrum.vas.model.Customer |
getCustomer() |
List<DebtRecoveryCharge> |
getDebtRecoveryCharges() |
Meter |
getMeter() |
io.electrum.vas.model.LedgerAmount |
getPurchaseTotal() |
List<ServiceCharge> |
getServiceCharges() |
io.electrum.vas.model.LedgerAmount |
getTaxTotal() |
List<Token> |
getTokens() |
Utility |
getUtility() |
String |
getUtilityType() |
PurchaseResponse |
meter(Meter meter)
Details of the meter.
|
PurchaseResponse |
purchaseTotal(io.electrum.vas.model.LedgerAmount saleTotal)
The total amount charged for tokens on this purchase.
|
PurchaseResponse |
serviceCharges(List<ServiceCharge> serviceCharges)
List of service charges levied against this meter.
|
void |
setCustomer(io.electrum.vas.model.Customer customer) |
void |
setDebtRecoveryCharges(List<DebtRecoveryCharge> debtRecoveryCharges) |
void |
setMeter(Meter meter) |
void |
setPurchaseTotal(io.electrum.vas.model.LedgerAmount purchaseTotal) |
void |
setServiceCharges(List<ServiceCharge> serviceCharges) |
void |
setTaxTotal(io.electrum.vas.model.LedgerAmount taxTotal) |
void |
setTokens(List<Token> tokens) |
void |
setUtility(Utility utility) |
void |
setUtilityType(String utilityType) |
PurchaseResponse |
taxTotal(io.electrum.vas.model.LedgerAmount taxTotal)
The total tax charged for this purchase.
|
PurchaseResponse |
tokens(List<Token> tokens)
List of tokens issued for the purchase.
|
String |
toString() |
PurchaseResponse |
utility(Utility utility)
Details of the utility which manages this meter's account.
|
PurchaseResponse |
utilityType(String utilityType)
Type of utility purchase being requested (e.g.
|
basketRef, client, destAccType, equals, getBasketRef, getClient, getDestAccType, getId, getOriginator, getReceiver, getSettlementEntity, getSlipData, getSrcAccType, getThirdPartyIdentifiers, getTime, getTranType, hashCode, id, originator, receiver, setBasketRef, setClient, setDestAccType, setId, setOriginator, setReceiver, setSettlementEntity, setSlipData, setSrcAccType, setThirdPartyIdentifiers, setTime, settlementEntity, setTranType, slipData, srcAccType, thirdPartyIdentifiers, time, tranTypepublic PurchaseResponse purchaseTotal(io.electrum.vas.model.LedgerAmount saleTotal)
public io.electrum.vas.model.LedgerAmount getPurchaseTotal()
public void setPurchaseTotal(io.electrum.vas.model.LedgerAmount purchaseTotal)
public PurchaseResponse taxTotal(io.electrum.vas.model.LedgerAmount taxTotal)
public io.electrum.vas.model.LedgerAmount getTaxTotal()
public void setTaxTotal(io.electrum.vas.model.LedgerAmount taxTotal)
public PurchaseResponse meter(Meter meter)
@NotNull public Meter getMeter()
public void setMeter(Meter meter)
public PurchaseResponse customer(io.electrum.vas.model.Customer customer)
@NotNull public io.electrum.vas.model.Customer getCustomer()
public void setCustomer(io.electrum.vas.model.Customer customer)
public PurchaseResponse utility(Utility utility)
@NotNull public Utility getUtility()
public void setUtility(Utility utility)
public PurchaseResponse utilityType(String utilityType)
public String getUtilityType()
public void setUtilityType(String utilityType)
public PurchaseResponse tokens(List<Token> tokens)
public PurchaseResponse addTokensItem(Token tokensItem)
public PurchaseResponse debtRecoveryCharges(List<DebtRecoveryCharge> debtRecoveryCharges)
public PurchaseResponse addDebtRecoveryChargesItem(DebtRecoveryCharge debtRecoveryChargesItem)
public List<DebtRecoveryCharge> getDebtRecoveryCharges()
public void setDebtRecoveryCharges(List<DebtRecoveryCharge> debtRecoveryCharges)
public PurchaseResponse serviceCharges(List<ServiceCharge> serviceCharges)
public PurchaseResponse addServiceChargesItem(ServiceCharge serviceChargesItem)
public List<ServiceCharge> getServiceCharges()
public void setServiceCharges(List<ServiceCharge> serviceCharges)
public String toString()
toString in class io.electrum.vas.model.TransactionCopyright © 2018. All rights reserved.