public class AmountRequest extends CoreRequest
| Constructor and Description |
|---|
AmountRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAmount()
Returns the transaction amount.
|
String |
getCurrencyCode()
Returns the currency code.
|
String |
getTaxAmount()
Returns the tax amount.
|
String |
getTipAmount()
Returns the tip amount.
|
boolean |
isTaxExempt()
Returns the tax exempt flag.
|
void |
setAmount(String amount)
Sets the requested transaction amount.
|
void |
setCurrencyCode(String currencyCode)
Sets the currency code.
|
void |
setTaxAmount(String taxAmount)
Sets tax amount.
|
void |
setTaxExempt(boolean taxExempt)
Sets the tax exempt flag.
|
void |
setTipAmount(String tipAmount)
Sets the tip amount, if there is one.
|
getDestinationAccount, getTimeout, getTransactionRef, isTest, setDestinationAccount, setTest, setTimeout, setTransactionRefpublic String getCurrencyCode()
public void setCurrencyCode(String currencyCode)
currencyCode - ISO currency code.public String getAmount()
public void setAmount(String amount)
amount - requested amount.public boolean isTaxExempt()
public void setTaxExempt(boolean taxExempt)
taxExempt - tax exempt flag.public String getTipAmount()
public void setTipAmount(String tipAmount)
tipAmount - tip amount.public String getTaxAmount()
public void setTaxAmount(String taxAmount)
taxAmount - tax amountCopyright © 2019 BlockChyp, Inc.. All rights reserved.