public class ExternalPaymentDetails extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ExternalPaymentDetails.Builder
Class to build instances of
ExternalPaymentDetails. |
| Constructor and Description |
|---|
ExternalPaymentDetails(String type,
String source,
String sourceId,
Money sourceFeeMoney)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getSource()
Getter for Source.
|
Money |
getSourceFeeMoney()
Getter for SourceFeeMoney.
|
String |
getSourceId()
Getter for SourceId.
|
String |
getType()
Getter for Type.
|
int |
hashCode() |
ExternalPaymentDetails.Builder |
toBuilder()
Builds a new
ExternalPaymentDetails.Builder object. |
String |
toString()
Converts this ExternalPaymentDetails into string format.
|
public ExternalPaymentDetails(String type, String source, String sourceId, Money sourceFeeMoney)
type - String value for type.source - String value for source.sourceId - String value for sourceId.sourceFeeMoney - Money value for sourceFeeMoney.public String getType()
public String getSource()
public String getSourceId()
public Money getSourceFeeMoney()
public String toString()
public ExternalPaymentDetails.Builder toBuilder()
ExternalPaymentDetails.Builder object.
Creates the instance with the state of the current model.ExternalPaymentDetails.Builder objectCopyright © 2022. All rights reserved.