Package com.adyen.model.payments
Class ApplicationInfo
- java.lang.Object
-
- com.adyen.model.payments.ApplicationInfo
-
public class ApplicationInfo extends Object
ApplicationInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApplicationInfo.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ADYEN_LIBRARYstatic StringSERIALIZED_NAME_ADYEN_PAYMENT_SOURCEstatic StringSERIALIZED_NAME_EXTERNAL_PLATFORMstatic StringSERIALIZED_NAME_MERCHANT_APPLICATIONstatic StringSERIALIZED_NAME_MERCHANT_DEVICEstatic StringSERIALIZED_NAME_SHOPPER_INTERACTION_DEVICE
-
Constructor Summary
Constructors Constructor Description ApplicationInfo()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_ADYEN_LIBRARY
public static final String SERIALIZED_NAME_ADYEN_LIBRARY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ADYEN_PAYMENT_SOURCE
public static final String SERIALIZED_NAME_ADYEN_PAYMENT_SOURCE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXTERNAL_PLATFORM
public static final String SERIALIZED_NAME_EXTERNAL_PLATFORM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MERCHANT_APPLICATION
public static final String SERIALIZED_NAME_MERCHANT_APPLICATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MERCHANT_DEVICE
public static final String SERIALIZED_NAME_MERCHANT_DEVICE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SHOPPER_INTERACTION_DEVICE
public static final String SERIALIZED_NAME_SHOPPER_INTERACTION_DEVICE
- See Also:
- Constant Field Values
-
-
Method Detail
-
adyenLibrary
public ApplicationInfo adyenLibrary(CommonField adyenLibrary)
-
getAdyenLibrary
public CommonField getAdyenLibrary()
Get adyenLibrary- Returns:
- adyenLibrary
-
setAdyenLibrary
public void setAdyenLibrary(CommonField adyenLibrary)
-
adyenPaymentSource
public ApplicationInfo adyenPaymentSource(CommonField adyenPaymentSource)
-
getAdyenPaymentSource
public CommonField getAdyenPaymentSource()
Get adyenPaymentSource- Returns:
- adyenPaymentSource
-
setAdyenPaymentSource
public void setAdyenPaymentSource(CommonField adyenPaymentSource)
-
externalPlatform
public ApplicationInfo externalPlatform(ExternalPlatform externalPlatform)
-
getExternalPlatform
public ExternalPlatform getExternalPlatform()
Get externalPlatform- Returns:
- externalPlatform
-
setExternalPlatform
public void setExternalPlatform(ExternalPlatform externalPlatform)
-
merchantApplication
public ApplicationInfo merchantApplication(CommonField merchantApplication)
-
getMerchantApplication
public CommonField getMerchantApplication()
Get merchantApplication- Returns:
- merchantApplication
-
setMerchantApplication
public void setMerchantApplication(CommonField merchantApplication)
-
merchantDevice
public ApplicationInfo merchantDevice(MerchantDevice merchantDevice)
-
getMerchantDevice
public MerchantDevice getMerchantDevice()
Get merchantDevice- Returns:
- merchantDevice
-
setMerchantDevice
public void setMerchantDevice(MerchantDevice merchantDevice)
-
shopperInteractionDevice
public ApplicationInfo shopperInteractionDevice(ShopperInteractionDevice shopperInteractionDevice)
-
getShopperInteractionDevice
public ShopperInteractionDevice getShopperInteractionDevice()
Get shopperInteractionDevice- Returns:
- shopperInteractionDevice
-
setShopperInteractionDevice
public void setShopperInteractionDevice(ShopperInteractionDevice shopperInteractionDevice)
-
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 ApplicationInfo
-
fromJson
public static ApplicationInfo fromJson(String jsonString) throws IOException
Create an instance of ApplicationInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ApplicationInfo
- Throws:
IOException- if the JSON string is invalid with respect to ApplicationInfo
-
toJson
public String toJson()
Convert an instance of ApplicationInfo to an JSON string- Returns:
- JSON string
-
-