public class Refund extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Refund.Builder
Class to build instances of
Refund. |
| Constructor and Description |
|---|
Refund(String id,
String locationId,
String tenderId,
String reason,
Money amountMoney,
String status,
String transactionId,
String createdAt,
Money processingFeeMoney,
List<AdditionalRecipient> additionalRecipients)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<AdditionalRecipient> |
getAdditionalRecipients()
Getter for AdditionalRecipients.
|
Money |
getAmountMoney()
Getter for AmountMoney.
|
String |
getCreatedAt()
Getter for CreatedAt.
|
String |
getId()
Getter for Id.
|
String |
getLocationId()
Getter for LocationId.
|
Money |
getProcessingFeeMoney()
Getter for ProcessingFeeMoney.
|
String |
getReason()
Getter for Reason.
|
String |
getStatus()
Getter for Status.
|
String |
getTenderId()
Getter for TenderId.
|
String |
getTransactionId()
Getter for TransactionId.
|
int |
hashCode() |
Refund.Builder |
toBuilder()
Builds a new
Refund.Builder object. |
String |
toString()
Converts this Refund into string format.
|
public Refund(String id, String locationId, String tenderId, String reason, Money amountMoney, String status, String transactionId, String createdAt, Money processingFeeMoney, List<AdditionalRecipient> additionalRecipients)
id - String value for id.locationId - String value for locationId.tenderId - String value for tenderId.reason - String value for reason.amountMoney - Money value for amountMoney.status - String value for status.transactionId - String value for transactionId.createdAt - String value for createdAt.processingFeeMoney - Money value for processingFeeMoney.additionalRecipients - List of AdditionalRecipient value for additionalRecipients.public String getId()
public String getLocationId()
public String getTransactionId()
public String getTenderId()
public String getCreatedAt()
public String getReason()
public Money getAmountMoney()
public String getStatus()
public Money getProcessingFeeMoney()
public List<AdditionalRecipient> getAdditionalRecipients()
public String toString()
public Refund.Builder toBuilder()
Refund.Builder object.
Creates the instance with the state of the current model.Refund.Builder objectCopyright © 2022. All rights reserved.