Package com.adyen.model.transferwebhooks
Class PlatformPayment
- java.lang.Object
-
- com.adyen.model.transferwebhooks.PlatformPayment
-
public class PlatformPayment extends Object
PlatformPayment
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPlatformPayment.PlatformPaymentTypeEnumThe type of the related split.static classPlatformPayment.TypeEnum**platformPayment**
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_MODIFICATION_MERCHANT_REFERENCEstatic StringJSON_PROPERTY_MODIFICATION_PSP_REFERENCEstatic StringJSON_PROPERTY_PAYMENT_MERCHANT_REFERENCEstatic StringJSON_PROPERTY_PLATFORM_PAYMENT_TYPEstatic StringJSON_PROPERTY_PSP_PAYMENT_REFERENCEstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description PlatformPayment()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this PlatformPayment object is equal to o.static PlatformPaymentfromJson(String jsonString)Create an instance of PlatformPayment given an JSON stringStringgetModificationMerchantReference()The capture's merchant reference included in the transfer.StringgetModificationPspReference()The capture reference included in the transfer.StringgetPaymentMerchantReference()The payment's merchant reference included in the transfer.PlatformPayment.PlatformPaymentTypeEnumgetPlatformPaymentType()The type of the related split.StringgetPspPaymentReference()The payment reference included in the transfer.PlatformPayment.TypeEnumgetType()**platformPayment**inthashCode()PlatformPaymentmodificationMerchantReference(String modificationMerchantReference)PlatformPaymentmodificationPspReference(String modificationPspReference)PlatformPaymentpaymentMerchantReference(String paymentMerchantReference)PlatformPaymentplatformPaymentType(PlatformPayment.PlatformPaymentTypeEnum platformPaymentType)PlatformPaymentpspPaymentReference(String pspPaymentReference)voidsetModificationMerchantReference(String modificationMerchantReference)The capture's merchant reference included in the transfer.voidsetModificationPspReference(String modificationPspReference)The capture reference included in the transfer.voidsetPaymentMerchantReference(String paymentMerchantReference)The payment's merchant reference included in the transfer.voidsetPlatformPaymentType(PlatformPayment.PlatformPaymentTypeEnum platformPaymentType)The type of the related split.voidsetPspPaymentReference(String pspPaymentReference)The payment reference included in the transfer.voidsetType(PlatformPayment.TypeEnum type)**platformPayment**StringtoJson()Convert an instance of PlatformPayment to an JSON stringStringtoString()PlatformPaymenttype(PlatformPayment.TypeEnum type)
-
-
-
Field Detail
-
JSON_PROPERTY_MODIFICATION_MERCHANT_REFERENCE
public static final String JSON_PROPERTY_MODIFICATION_MERCHANT_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MODIFICATION_PSP_REFERENCE
public static final String JSON_PROPERTY_MODIFICATION_PSP_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT_MERCHANT_REFERENCE
public static final String JSON_PROPERTY_PAYMENT_MERCHANT_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PLATFORM_PAYMENT_TYPE
public static final String JSON_PROPERTY_PLATFORM_PAYMENT_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PSP_PAYMENT_REFERENCE
public static final String JSON_PROPERTY_PSP_PAYMENT_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
modificationMerchantReference
public PlatformPayment modificationMerchantReference(String modificationMerchantReference)
-
getModificationMerchantReference
public String getModificationMerchantReference()
The capture's merchant reference included in the transfer.- Returns:
- modificationMerchantReference
-
setModificationMerchantReference
public void setModificationMerchantReference(String modificationMerchantReference)
The capture's merchant reference included in the transfer.- Parameters:
modificationMerchantReference-
-
modificationPspReference
public PlatformPayment modificationPspReference(String modificationPspReference)
-
getModificationPspReference
public String getModificationPspReference()
The capture reference included in the transfer.- Returns:
- modificationPspReference
-
setModificationPspReference
public void setModificationPspReference(String modificationPspReference)
The capture reference included in the transfer.- Parameters:
modificationPspReference-
-
paymentMerchantReference
public PlatformPayment paymentMerchantReference(String paymentMerchantReference)
-
getPaymentMerchantReference
public String getPaymentMerchantReference()
The payment's merchant reference included in the transfer.- Returns:
- paymentMerchantReference
-
setPaymentMerchantReference
public void setPaymentMerchantReference(String paymentMerchantReference)
The payment's merchant reference included in the transfer.- Parameters:
paymentMerchantReference-
-
platformPaymentType
public PlatformPayment platformPaymentType(PlatformPayment.PlatformPaymentTypeEnum platformPaymentType)
-
getPlatformPaymentType
public PlatformPayment.PlatformPaymentTypeEnum getPlatformPaymentType()
The type of the related split.- Returns:
- platformPaymentType
-
setPlatformPaymentType
public void setPlatformPaymentType(PlatformPayment.PlatformPaymentTypeEnum platformPaymentType)
The type of the related split.- Parameters:
platformPaymentType-
-
pspPaymentReference
public PlatformPayment pspPaymentReference(String pspPaymentReference)
-
getPspPaymentReference
public String getPspPaymentReference()
The payment reference included in the transfer.- Returns:
- pspPaymentReference
-
setPspPaymentReference
public void setPspPaymentReference(String pspPaymentReference)
The payment reference included in the transfer.- Parameters:
pspPaymentReference-
-
type
public PlatformPayment type(PlatformPayment.TypeEnum type)
-
getType
public PlatformPayment.TypeEnum getType()
**platformPayment**- Returns:
- type
-
setType
public void setType(PlatformPayment.TypeEnum type)
**platformPayment**- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this PlatformPayment object is equal to o.
-
fromJson
public static PlatformPayment fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PlatformPayment given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PlatformPayment
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PlatformPayment
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PlatformPayment to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-