Package com.adyen.model.checkout
Class ValidateShopperIdRequest
- java.lang.Object
-
- com.adyen.model.checkout.ValidateShopperIdRequest
-
public class ValidateShopperIdRequest extends Object
ValidateShopperIdRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_MERCHANT_ACCOUNTstatic StringJSON_PROPERTY_PAYMENT_METHODstatic StringJSON_PROPERTY_SHOPPER_EMAILstatic StringJSON_PROPERTY_SHOPPER_I_Pstatic StringJSON_PROPERTY_SHOPPER_REFERENCE
-
Constructor Summary
Constructors Constructor Description ValidateShopperIdRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this ValidateShopperIdRequest object is equal to o.static ValidateShopperIdRequestfromJson(String jsonString)Create an instance of ValidateShopperIdRequest given an JSON stringStringgetMerchantAccount()The merchant account identifier, with which you want to process the transaction.ShopperIdPaymentMethodgetPaymentMethod()Get paymentMethodStringgetShopperEmail()Get shopperEmailStringgetShopperIP()Get shopperIPStringgetShopperReference()Get shopperReferenceinthashCode()ValidateShopperIdRequestmerchantAccount(String merchantAccount)The merchant account identifier, with which you want to process the transaction.ValidateShopperIdRequestpaymentMethod(ShopperIdPaymentMethod paymentMethod)paymentMethodvoidsetMerchantAccount(String merchantAccount)The merchant account identifier, with which you want to process the transaction.voidsetPaymentMethod(ShopperIdPaymentMethod paymentMethod)paymentMethodvoidsetShopperEmail(String shopperEmail)shopperEmailvoidsetShopperIP(String shopperIP)shopperIPvoidsetShopperReference(String shopperReference)shopperReferenceValidateShopperIdRequestshopperEmail(String shopperEmail)shopperEmailValidateShopperIdRequestshopperIP(String shopperIP)shopperIPValidateShopperIdRequestshopperReference(String shopperReference)shopperReferenceStringtoJson()Convert an instance of ValidateShopperIdRequest to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_MERCHANT_ACCOUNT
public static final String JSON_PROPERTY_MERCHANT_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT_METHOD
public static final String JSON_PROPERTY_PAYMENT_METHOD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_EMAIL
public static final String JSON_PROPERTY_SHOPPER_EMAIL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_I_P
public static final String JSON_PROPERTY_SHOPPER_I_P
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_REFERENCE
public static final String JSON_PROPERTY_SHOPPER_REFERENCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
merchantAccount
public ValidateShopperIdRequest merchantAccount(String merchantAccount)
The merchant account identifier, with which you want to process the transaction.- Parameters:
merchantAccount- The merchant account identifier, with which you want to process the transaction.- Returns:
- the current
ValidateShopperIdRequestinstance, allowing for method chaining
-
getMerchantAccount
public String getMerchantAccount()
The merchant account identifier, with which you want to process the transaction.- Returns:
- merchantAccount The merchant account identifier, with which you want to process the transaction.
-
setMerchantAccount
public void setMerchantAccount(String merchantAccount)
The merchant account identifier, with which you want to process the transaction.- Parameters:
merchantAccount- The merchant account identifier, with which you want to process the transaction.
-
paymentMethod
public ValidateShopperIdRequest paymentMethod(ShopperIdPaymentMethod paymentMethod)
paymentMethod- Parameters:
paymentMethod-- Returns:
- the current
ValidateShopperIdRequestinstance, allowing for method chaining
-
getPaymentMethod
public ShopperIdPaymentMethod getPaymentMethod()
Get paymentMethod- Returns:
- paymentMethod
-
setPaymentMethod
public void setPaymentMethod(ShopperIdPaymentMethod paymentMethod)
paymentMethod- Parameters:
paymentMethod-
-
shopperEmail
public ValidateShopperIdRequest shopperEmail(String shopperEmail)
shopperEmail- Parameters:
shopperEmail-- Returns:
- the current
ValidateShopperIdRequestinstance, allowing for method chaining
-
getShopperEmail
public String getShopperEmail()
Get shopperEmail- Returns:
- shopperEmail
-
setShopperEmail
public void setShopperEmail(String shopperEmail)
shopperEmail- Parameters:
shopperEmail-
-
shopperIP
public ValidateShopperIdRequest shopperIP(String shopperIP)
shopperIP- Parameters:
shopperIP-- Returns:
- the current
ValidateShopperIdRequestinstance, allowing for method chaining
-
getShopperIP
public String getShopperIP()
Get shopperIP- Returns:
- shopperIP
-
setShopperIP
public void setShopperIP(String shopperIP)
shopperIP- Parameters:
shopperIP-
-
shopperReference
public ValidateShopperIdRequest shopperReference(String shopperReference)
shopperReference- Parameters:
shopperReference-- Returns:
- the current
ValidateShopperIdRequestinstance, allowing for method chaining
-
getShopperReference
public String getShopperReference()
Get shopperReference- Returns:
- shopperReference
-
setShopperReference
public void setShopperReference(String shopperReference)
shopperReference- Parameters:
shopperReference-
-
equals
public boolean equals(Object o)
Return true if this ValidateShopperIdRequest object is equal to o.
-
fromJson
public static ValidateShopperIdRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ValidateShopperIdRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ValidateShopperIdRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ValidateShopperIdRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ValidateShopperIdRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-