Package com.adyen.model.checkout
Class FundOrigin
- java.lang.Object
-
- com.adyen.model.checkout.FundOrigin
-
public class FundOrigin extends Object
FundOrigin
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFundOrigin.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_BILLING_ADDRESSstatic StringSERIALIZED_NAME_SHOPPER_NAME
-
Constructor Summary
Constructors Constructor Description FundOrigin()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FundOriginbillingAddress(Address billingAddress)booleanequals(Object o)static FundOriginfromJson(String jsonString)Create an instance of FundOrigin given an JSON stringAddressgetBillingAddress()Get billingAddressNamegetShopperName()Get shopperNameinthashCode()voidsetBillingAddress(Address billingAddress)voidsetShopperName(Name shopperName)FundOriginshopperName(Name shopperName)StringtoJson()Convert an instance of FundOrigin to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_BILLING_ADDRESS
public static final String SERIALIZED_NAME_BILLING_ADDRESS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SHOPPER_NAME
public static final String SERIALIZED_NAME_SHOPPER_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
billingAddress
public FundOrigin billingAddress(Address billingAddress)
-
getBillingAddress
public Address getBillingAddress()
Get billingAddress- Returns:
- billingAddress
-
setBillingAddress
public void setBillingAddress(Address billingAddress)
-
shopperName
public FundOrigin shopperName(Name shopperName)
-
getShopperName
public Name getShopperName()
Get shopperName- Returns:
- shopperName
-
setShopperName
public void setShopperName(Name shopperName)
-
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 FundOrigin
-
fromJson
public static FundOrigin fromJson(String jsonString) throws IOException
Create an instance of FundOrigin given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FundOrigin
- Throws:
IOException- if the JSON string is invalid with respect to FundOrigin
-
toJson
public String toJson()
Convert an instance of FundOrigin to an JSON string- Returns:
- JSON string
-
-