public class FailedPaymentDetails extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FailedPaymentDetails.Builder
Class to build instances of
FailedPaymentDetails. |
| Constructor and Description |
|---|
FailedPaymentDetails()
Default constructor.
|
FailedPaymentDetails(Money amount,
String time,
ReasonCode reasonCode,
String nextPaymentRetryTime)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Money |
getAmount()
Getter for Amount.
|
String |
getNextPaymentRetryTime()
Getter for NextPaymentRetryTime.
|
ReasonCode |
getReasonCode()
Getter for ReasonCode.
|
String |
getTime()
Getter for Time.
|
void |
setAmount(Money amount)
Setter for Amount.
|
void |
setNextPaymentRetryTime(String nextPaymentRetryTime)
Setter for NextPaymentRetryTime.
|
void |
setReasonCode(ReasonCode reasonCode)
Setter for ReasonCode.
|
void |
setTime(String time)
Setter for Time.
|
FailedPaymentDetails.Builder |
toBuilder()
Builds a new
FailedPaymentDetails.Builder object. |
String |
toString()
Converts this FailedPaymentDetails into string format.
|
public FailedPaymentDetails()
public FailedPaymentDetails(Money amount, String time, ReasonCode reasonCode, String nextPaymentRetryTime)
amount - Money value for amount.time - String value for time.reasonCode - ReasonCode value for reasonCode.nextPaymentRetryTime - String value for nextPaymentRetryTime.public Money getAmount()
public void setAmount(Money amount)
amount - Value for Moneypublic String getTime()
public void setTime(String time)
time - Value for Stringpublic ReasonCode getReasonCode()
public void setReasonCode(ReasonCode reasonCode)
reasonCode - Value for ReasonCodepublic String getNextPaymentRetryTime()
public void setNextPaymentRetryTime(String nextPaymentRetryTime)
nextPaymentRetryTime - Value for Stringpublic String toString()
public FailedPaymentDetails.Builder toBuilder()
FailedPaymentDetails.Builder object.
Creates the instance with the state of the current model.FailedPaymentDetails.Builder objectCopyright © 2026. All rights reserved.