public class V1CreateRefundRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
V1CreateRefundRequest.Builder
Class to build instances of
V1CreateRefundRequest. |
| Modifier | Constructor and Description |
|---|---|
protected |
V1CreateRefundRequest(String paymentId,
String type,
String reason,
V1Money refundedMoney,
io.apimatic.core.types.OptionalNullable<String> requestIdempotenceKey)
Internal initialization constructor.
|
|
V1CreateRefundRequest(String paymentId,
String type,
String reason,
V1Money refundedMoney,
String requestIdempotenceKey)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getPaymentId()
Getter for PaymentId.
|
String |
getReason()
Getter for Reason.
|
V1Money |
getRefundedMoney()
Getter for RefundedMoney.
|
String |
getRequestIdempotenceKey()
Getter for RequestIdempotenceKey.
|
String |
getType()
Getter for Type.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetRequestIdempotenceKey()
Internal Getter for RequestIdempotenceKey.
|
V1CreateRefundRequest.Builder |
toBuilder()
Builds a new
V1CreateRefundRequest.Builder object. |
String |
toString()
Converts this V1CreateRefundRequest into string format.
|
public V1CreateRefundRequest(String paymentId, String type, String reason, V1Money refundedMoney, String requestIdempotenceKey)
paymentId - String value for paymentId.type - String value for type.reason - String value for reason.refundedMoney - V1Money value for refundedMoney.requestIdempotenceKey - String value for requestIdempotenceKey.public String getPaymentId()
public String getType()
public String getReason()
public V1Money getRefundedMoney()
protected io.apimatic.core.types.OptionalNullable<String> internalGetRequestIdempotenceKey()
public String getRequestIdempotenceKey()
public String toString()
public V1CreateRefundRequest.Builder toBuilder()
V1CreateRefundRequest.Builder object.
Creates the instance with the state of the current model.V1CreateRefundRequest.Builder objectCopyright © 2023. All rights reserved.