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.CustomTypeAdapterFactorystatic classUpdatePaymentLinkRequest.StatusEnumStatus of the payment link.
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_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)static UpdatePaymentLinkRequestfromJson(String jsonString)Create an instance of UpdatePaymentLinkRequest given an JSON stringUpdatePaymentLinkRequest.StatusEnumgetStatus()Status of the payment link.inthashCode()voidsetStatus(UpdatePaymentLinkRequest.StatusEnum status)UpdatePaymentLinkRequeststatus(UpdatePaymentLinkRequest.StatusEnum status)StringtoJson()Convert an instance of UpdatePaymentLinkRequest to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
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)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to UpdatePaymentLinkRequest
-
fromJson
public static UpdatePaymentLinkRequest fromJson(String jsonString) throws IOException
Create an instance of UpdatePaymentLinkRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdatePaymentLinkRequest
- Throws:
IOException- if the JSON string is invalid with respect to UpdatePaymentLinkRequest
-
toJson
public String toJson()
Convert an instance of UpdatePaymentLinkRequest to an JSON string- Returns:
- JSON string
-
-