public class CashPaymentDetails extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CashPaymentDetails.Builder
Class to build instances of
CashPaymentDetails. |
| Constructor and Description |
|---|
CashPaymentDetails(Money buyerSuppliedMoney,
Money changeBackMoney)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Money |
getBuyerSuppliedMoney()
Getter for BuyerSuppliedMoney.
|
Money |
getChangeBackMoney()
Getter for ChangeBackMoney.
|
int |
hashCode() |
CashPaymentDetails.Builder |
toBuilder()
Builds a new
CashPaymentDetails.Builder object. |
String |
toString()
Converts this CashPaymentDetails into string format.
|
public Money getBuyerSuppliedMoney()
public Money getChangeBackMoney()
public String toString()
public CashPaymentDetails.Builder toBuilder()
CashPaymentDetails.Builder object.
Creates the instance with the state of the current model.CashPaymentDetails.Builder objectCopyright © 2022. All rights reserved.