Exploring DeleteAccountJson
Overview
The DeleteAccountJsondelaccCommareaDelaccJsondelaccCommarea
Methods
The DeleteAccountJson
getDelaccCommarea
getDelaccCommareaThe getDelaccCommarea
public DelaccJson getDelaccCommarea()
{
return delaccCommarea;
}
setDelaccCommarea
setDelaccCommareaThe setDelaccCommarea
public void setDelaccCommarea(DelaccJson delaccCommareaIn)
{
delaccCommarea = delaccCommareaIn;
}
toPrettyString
toPrettyStringThe toPrettyString
public String toPrettyString()
{
DelaccJson accInfo = delaccCommarea;
String output = "";
output += "Account Number: "
+ OutputFormatUtils.leadingZeroes(8, accInfo.getDelaccAccno())
+ "\n" + "Sort Code: " + accInfo.getDelaccSortcode() + "\n"
+ "Account Type: " + accInfo.getDelaccAccType() + "\n"
+ "Customer Number: "
+ OutputFormatUtils.leadingZeroes(10, accInfo.getDelaccCustno())
+ "\n" + "Interest Rate: "
+ String.format(FLOAT_FORMAT, accInfo.getDelaccInterestRate())
+ "\n" + "Overdraft Limit: " + accInfo.getDelaccOverdraft()
+ "\n" + "Available Balance: "
+ String.format(FLOAT_FORMAT,
accInfo.getDelaccAvailableBalance())
+ "\n" + "Actual Balance: "
+ String.format(FLOAT_FORMAT, accInfo.getDelaccActualBalance())
+ "\n" + "Account Opened: "
+ OutputFormatUtils.date(accInfo.getDelaccOpened()) + "\n"
+ "Last Statement Date: "
Usage
To remove an account, click on 'Delete account' from the landing page.
Example
In this example, the response from the delete account operation is parsed into a DeleteAccountJson
The response from the delete account operation is logged and then parsed into a DeleteAccountJsonObjectMapper
log.info(responseBody);
DeleteAccountJson responseObj = new ObjectMapper()
.readValue(responseBody, DeleteAccountJson.class);
Additional Methods in DelaccJson
DelaccJsonThe DelaccJsonDeleteAccountJson
setDelaccSuccess
setDelaccSuccessThe setDelaccSuccess
public void setDelaccSuccess(String delaccSuccessIn)
{
delaccSuccess = delaccSuccessIn;
}
setDelaccInterestRate
setDelaccInterestRateThe setDelaccInterestRate
public void setDelaccInterestRate(float delaccInterestRateIn)
{
delaccInterestRate = delaccInterestRateIn;
}
getDelaccActualBalance
getDelaccActualBalanceThe getDelaccActualBalance
public float getDelaccActualBalance()
{
return delaccActualBalance;
}
setDelaccActualBalance
setDelaccActualBalanceThe setDelaccActualBalance
public void setDelaccActualBalance(float delaccActualBalanceIn)
{
delaccActualBalance = delaccActualBalanceIn;
}
getDelaccAvailableBalance
getDelaccAvailableBalanceThe getDelaccAvailableBalance
public float getDelaccAvailableBalance()
{
return delaccAvailableBalance;
}
setDelaccAvailableBalance
setDelaccAvailableBalanceThe setDelaccAvailableBalance
public void setDelaccAvailableBalance(float delaccAvailableBalanceIn)
{
delaccAvailableBalance = delaccAvailableBalanceIn;
}
getDelaccOverdraft
getDelaccOverdraftThe getDelaccOverdraft
public int getDelaccOverdraft()
{
return delaccOverdraft;
}
setDelaccOverdraft
setDelaccOverdraftThe setDelaccOverdraft
public void setDelaccOverdraft(int delaccOverdraftIn)
{
delaccOverdraft = delaccOverdraftIn;
}
This is an auto-generated document by Swimm 🌊 and has not yet been verified by a human