Package com.adyen.model.checkout
Class UpdatePaymentLinkRequest
- java.lang.Object
-
- com.adyen.model.checkout.UpdatePaymentLinkRequest
-
public class UpdatePaymentLinkRequest extends Object
UpdatePaymentLinkRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdatePaymentLinkRequest.StatusEnumStatus of the payment link.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_STATUS
-
Constructor Summary
Constructors Constructor Description UpdatePaymentLinkRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this UpdatePaymentLinkRequest object is equal to o.static UpdatePaymentLinkRequestfromJson(String jsonString)Create an instance of UpdatePaymentLinkRequest given an JSON stringUpdatePaymentLinkRequest.StatusEnumgetStatus()Status of the payment link.inthashCode()voidsetStatus(UpdatePaymentLinkRequest.StatusEnum status)Status of the payment link.UpdatePaymentLinkRequeststatus(UpdatePaymentLinkRequest.StatusEnum status)StringtoJson()Convert an instance of UpdatePaymentLinkRequest to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
status
public UpdatePaymentLinkRequest status(UpdatePaymentLinkRequest.StatusEnum status)
-
getStatus
public UpdatePaymentLinkRequest.StatusEnum getStatus()
Status of the payment link. Possible values: * **expired**- Returns:
- status
-
setStatus
public void setStatus(UpdatePaymentLinkRequest.StatusEnum status)
Status of the payment link. Possible values: * **expired**- Parameters:
status-
-
equals
public boolean equals(Object o)
Return true if this UpdatePaymentLinkRequest object is equal to o.
-
fromJson
public static UpdatePaymentLinkRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of UpdatePaymentLinkRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdatePaymentLinkRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to UpdatePaymentLinkRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of UpdatePaymentLinkRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-