public class CreateRefundRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateRefundRequest.Builder
Class to build instances of
CreateRefundRequest. |
| Constructor and Description |
|---|
CreateRefundRequest(String idempotencyKey,
String tenderId,
Money amountMoney,
String reason)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Money |
getAmountMoney()
Getter for AmountMoney.
|
String |
getIdempotencyKey()
Getter for IdempotencyKey.
|
String |
getReason()
Getter for Reason.
|
String |
getTenderId()
Getter for TenderId.
|
int |
hashCode() |
CreateRefundRequest.Builder |
toBuilder()
Builds a new
CreateRefundRequest.Builder object. |
String |
toString()
Converts this CreateRefundRequest into string format.
|
public CreateRefundRequest(String idempotencyKey, String tenderId, Money amountMoney, String reason)
idempotencyKey - String value for idempotencyKey.tenderId - String value for tenderId.amountMoney - Money value for amountMoney.reason - String value for reason.public String getIdempotencyKey()
public String getTenderId()
public String getReason()
public Money getAmountMoney()
public String toString()
public CreateRefundRequest.Builder toBuilder()
CreateRefundRequest.Builder object.
Creates the instance with the state of the current model.CreateRefundRequest.Builder objectCopyright © 2022. All rights reserved.