public class Refund extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Refund.Builder
Class to build instances of
Refund. |
| Modifier | Constructor and Description |
|---|---|
protected |
Refund(String id,
String locationId,
String tenderId,
String reason,
Money amountMoney,
String status,
io.apimatic.core.types.OptionalNullable<String> transactionId,
String createdAt,
Money processingFeeMoney,
io.apimatic.core.types.OptionalNullable<List<AdditionalRecipient>> additionalRecipients)
Internal initialization constructor.
|
|
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() |
protected io.apimatic.core.types.OptionalNullable<List<AdditionalRecipient>> |
internalGetAdditionalRecipients()
Internal Getter for AdditionalRecipients.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetTransactionId()
Internal Getter for TransactionId.
|
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.protected Refund(String id, String locationId, String tenderId, String reason, Money amountMoney, String status, io.apimatic.core.types.OptionalNullable<String> transactionId, String createdAt, Money processingFeeMoney, io.apimatic.core.types.OptionalNullable<List<AdditionalRecipient>> additionalRecipients)
public String getId()
public String getLocationId()
protected io.apimatic.core.types.OptionalNullable<String> internalGetTransactionId()
public String getTransactionId()
public String getTenderId()
public String getCreatedAt()
public String getReason()
public Money getAmountMoney()
public String getStatus()
public Money getProcessingFeeMoney()
protected io.apimatic.core.types.OptionalNullable<List<AdditionalRecipient>> internalGetAdditionalRecipients()
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 © 2023. All rights reserved.