public class LastPaymentDetails extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LastPaymentDetails.Builder
Class to build instances of
LastPaymentDetails. |
| Constructor and Description |
|---|
LastPaymentDetails()
Default constructor.
|
LastPaymentDetails(Money amount,
String time)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Money |
getAmount()
Getter for Amount.
|
String |
getTime()
Getter for Time.
|
void |
setAmount(Money amount)
Setter for Amount.
|
void |
setTime(String time)
Setter for Time.
|
LastPaymentDetails.Builder |
toBuilder()
Builds a new
LastPaymentDetails.Builder object. |
String |
toString()
Converts this LastPaymentDetails into string format.
|
public Money getAmount()
public void setAmount(Money amount)
amount - Value for Moneypublic String getTime()
public void setTime(String time)
time - Value for Stringpublic String toString()
public LastPaymentDetails.Builder toBuilder()
LastPaymentDetails.Builder object.
Creates the instance with the state of the current model.LastPaymentDetails.Builder objectCopyright © 2026. All rights reserved.