public class ApprovalResponseWithAmounts extends ApprovalResponse
| Constructor and Description |
|---|
ApprovalResponseWithAmounts() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAltCurrency()
Returns alternate currency code, if relevant.
|
String |
getAuthorizedAmount()
Returns the authorized amount.
|
String |
getCurrencyCode()
Returns the currency code.
|
String |
getRequestedAmount()
Returns the requested amount.
|
String |
getTaxAmount()
Returns tax amount.
|
String |
getTipAmount()
Returns the tip amount.
|
boolean |
isPartialAuth()
Returns true if this was a partial authorization.
|
void |
setAltCurrency(String altCurrency)
Sets alternate currency code if selected by the consumer.
|
void |
setAuthorizedAmount(String authorizedAmount)
Sets the authorized amount.
|
void |
setCurrencyCode(String currencyCode)
Sets the currency code.
|
void |
setPartialAuth(boolean partialAuth)
Sets the partial auth flag.
|
void |
setRequestedAmount(String requestedAmount)
Sets the requested amount.
|
void |
setTaxAmount(String taxAmount)
Sets the tax amount.
|
void |
setTipAmount(String tipAmount)
Sets the tip amount.
|
getAuthCode, getSigFile, isApproved, setApproved, setAuthCode, setSigFilegetBatchId, getResponseDescription, getSig, getTickBlock, getTimestamp, getTransactionId, getTransactionRef, getTransactionType, isTest, setBatchId, setResponseDescription, setSig, setTest, setTickBlock, setTimestamp, setTransactionId, setTransactionRef, setTransactionTypepublic boolean isPartialAuth()
public void setPartialAuth(boolean partialAuth)
partialAuth - if true, the authorized amount is less than the requested amount.public String getAltCurrency()
public void setAltCurrency(String altCurrency)
altCurrency - alt currency code.public String getCurrencyCode()
public void setCurrencyCode(String currencyCode)
currencyCode - three character ISO currency code (e.g. "USD")public String getRequestedAmount()
public void setRequestedAmount(String requestedAmount)
requestedAmount - requested amount.public String getAuthorizedAmount()
public void setAuthorizedAmount(String authorizedAmount)
authorizedAmount - authorized amount.public String getTipAmount()
public void setTipAmount(String tipAmount)
tipAmount - tip amount.public String getTaxAmount()
public void setTaxAmount(String taxAmount)
taxAmount - tax amount.Copyright © 2019 BlockChyp, Inc.. All rights reserved.