Package com.adyen.model.checkout
Class ApplicationInfo
- java.lang.Object
-
- com.adyen.model.checkout.ApplicationInfo
-
public class ApplicationInfo extends Object
ApplicationInfo
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ADYEN_LIBRARYstatic StringJSON_PROPERTY_ADYEN_PAYMENT_SOURCEstatic StringJSON_PROPERTY_EXTERNAL_PLATFORMstatic StringJSON_PROPERTY_MERCHANT_APPLICATIONstatic StringJSON_PROPERTY_MERCHANT_DEVICEstatic StringJSON_PROPERTY_SHOPPER_INTERACTION_DEVICE
-
Constructor Summary
Constructors Constructor Description ApplicationInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationInfoadyenLibrary(CommonField adyenLibrary)adyenLibraryApplicationInfoadyenPaymentSource(CommonField adyenPaymentSource)adyenPaymentSourcebooleanequals(Object o)Return true if this ApplicationInfo object is equal to o.ApplicationInfoexternalPlatform(ExternalPlatform externalPlatform)externalPlatformstatic ApplicationInfofromJson(String jsonString)Create an instance of ApplicationInfo given an JSON stringCommonFieldgetAdyenLibrary()adyenLibraryCommonFieldgetAdyenPaymentSource()adyenPaymentSourceExternalPlatformgetExternalPlatform()externalPlatformCommonFieldgetMerchantApplication()merchantApplicationMerchantDevicegetMerchantDevice()merchantDeviceShopperInteractionDevicegetShopperInteractionDevice()shopperInteractionDeviceinthashCode()ApplicationInfomerchantApplication(CommonField merchantApplication)merchantApplicationApplicationInfomerchantDevice(MerchantDevice merchantDevice)merchantDevicevoidsetAdyenLibrary(CommonField adyenLibrary)adyenLibraryvoidsetAdyenPaymentSource(CommonField adyenPaymentSource)adyenPaymentSourcevoidsetExternalPlatform(ExternalPlatform externalPlatform)externalPlatformvoidsetMerchantApplication(CommonField merchantApplication)merchantApplicationvoidsetMerchantDevice(MerchantDevice merchantDevice)merchantDevicevoidsetShopperInteractionDevice(ShopperInteractionDevice shopperInteractionDevice)shopperInteractionDeviceApplicationInfoshopperInteractionDevice(ShopperInteractionDevice shopperInteractionDevice)shopperInteractionDeviceStringtoJson()Convert an instance of ApplicationInfo to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ADYEN_LIBRARY
public static final String JSON_PROPERTY_ADYEN_LIBRARY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ADYEN_PAYMENT_SOURCE
public static final String JSON_PROPERTY_ADYEN_PAYMENT_SOURCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXTERNAL_PLATFORM
public static final String JSON_PROPERTY_EXTERNAL_PLATFORM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_APPLICATION
public static final String JSON_PROPERTY_MERCHANT_APPLICATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_DEVICE
public static final String JSON_PROPERTY_MERCHANT_DEVICE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_INTERACTION_DEVICE
public static final String JSON_PROPERTY_SHOPPER_INTERACTION_DEVICE
- See Also:
- Constant Field Values
-
-
Method Detail
-
adyenLibrary
public ApplicationInfo adyenLibrary(CommonField adyenLibrary)
adyenLibrary- Parameters:
adyenLibrary-- Returns:
- the current
ApplicationInfoinstance, allowing for method chaining
-
getAdyenLibrary
public CommonField getAdyenLibrary()
adyenLibrary- Returns:
- adyenLibrary
-
setAdyenLibrary
public void setAdyenLibrary(CommonField adyenLibrary)
adyenLibrary- Parameters:
adyenLibrary-
-
adyenPaymentSource
public ApplicationInfo adyenPaymentSource(CommonField adyenPaymentSource)
adyenPaymentSource- Parameters:
adyenPaymentSource-- Returns:
- the current
ApplicationInfoinstance, allowing for method chaining
-
getAdyenPaymentSource
public CommonField getAdyenPaymentSource()
adyenPaymentSource- Returns:
- adyenPaymentSource
-
setAdyenPaymentSource
public void setAdyenPaymentSource(CommonField adyenPaymentSource)
adyenPaymentSource- Parameters:
adyenPaymentSource-
-
externalPlatform
public ApplicationInfo externalPlatform(ExternalPlatform externalPlatform)
externalPlatform- Parameters:
externalPlatform-- Returns:
- the current
ApplicationInfoinstance, allowing for method chaining
-
getExternalPlatform
public ExternalPlatform getExternalPlatform()
externalPlatform- Returns:
- externalPlatform
-
setExternalPlatform
public void setExternalPlatform(ExternalPlatform externalPlatform)
externalPlatform- Parameters:
externalPlatform-
-
merchantApplication
public ApplicationInfo merchantApplication(CommonField merchantApplication)
merchantApplication- Parameters:
merchantApplication-- Returns:
- the current
ApplicationInfoinstance, allowing for method chaining
-
getMerchantApplication
public CommonField getMerchantApplication()
merchantApplication- Returns:
- merchantApplication
-
setMerchantApplication
public void setMerchantApplication(CommonField merchantApplication)
merchantApplication- Parameters:
merchantApplication-
-
merchantDevice
public ApplicationInfo merchantDevice(MerchantDevice merchantDevice)
merchantDevice- Parameters:
merchantDevice-- Returns:
- the current
ApplicationInfoinstance, allowing for method chaining
-
getMerchantDevice
public MerchantDevice getMerchantDevice()
merchantDevice- Returns:
- merchantDevice
-
setMerchantDevice
public void setMerchantDevice(MerchantDevice merchantDevice)
merchantDevice- Parameters:
merchantDevice-
-
shopperInteractionDevice
public ApplicationInfo shopperInteractionDevice(ShopperInteractionDevice shopperInteractionDevice)
shopperInteractionDevice- Parameters:
shopperInteractionDevice-- Returns:
- the current
ApplicationInfoinstance, allowing for method chaining
-
getShopperInteractionDevice
public ShopperInteractionDevice getShopperInteractionDevice()
shopperInteractionDevice- Returns:
- shopperInteractionDevice
-
setShopperInteractionDevice
public void setShopperInteractionDevice(ShopperInteractionDevice shopperInteractionDevice)
shopperInteractionDevice- Parameters:
shopperInteractionDevice-
-
equals
public boolean equals(Object o)
Return true if this ApplicationInfo object is equal to o.
-
fromJson
public static ApplicationInfo fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ApplicationInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ApplicationInfo
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ApplicationInfo
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ApplicationInfo to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-