Package com.adyen.model.checkout
Class FundOrigin
- java.lang.Object
-
- com.adyen.model.checkout.FundOrigin
-
public class FundOrigin extends Object
FundOrigin
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BILLING_ADDRESSstatic StringJSON_PROPERTY_SHOPPER_EMAILstatic StringJSON_PROPERTY_SHOPPER_NAMEstatic StringJSON_PROPERTY_TELEPHONE_NUMBERstatic StringJSON_PROPERTY_WALLET_IDENTIFIER
-
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)Return true if this FundOrigin object is equal to o.static FundOriginfromJson(String jsonString)Create an instance of FundOrigin given an JSON stringAddressgetBillingAddress()Get billingAddressStringgetShopperEmail()Email address of the person.NamegetShopperName()Get shopperNameStringgetTelephoneNumber()Phone number of the personStringgetWalletIdentifier()Get walletIdentifierinthashCode()voidsetBillingAddress(Address billingAddress)billingAddressvoidsetShopperEmail(String shopperEmail)Email address of the person.voidsetShopperName(Name shopperName)shopperNamevoidsetTelephoneNumber(String telephoneNumber)Phone number of the personvoidsetWalletIdentifier(String walletIdentifier)walletIdentifierFundOriginshopperEmail(String shopperEmail)FundOriginshopperName(Name shopperName)FundOrigintelephoneNumber(String telephoneNumber)StringtoJson()Convert an instance of FundOrigin to an JSON stringStringtoString()FundOriginwalletIdentifier(String walletIdentifier)
-
-
-
Field Detail
-
JSON_PROPERTY_BILLING_ADDRESS
public static final String JSON_PROPERTY_BILLING_ADDRESS
- 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_NAME
public static final String JSON_PROPERTY_SHOPPER_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TELEPHONE_NUMBER
public static final String JSON_PROPERTY_TELEPHONE_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WALLET_IDENTIFIER
public static final String JSON_PROPERTY_WALLET_IDENTIFIER
- 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)
billingAddress- Parameters:
billingAddress-
-
shopperEmail
public FundOrigin shopperEmail(String shopperEmail)
-
getShopperEmail
public String getShopperEmail()
Email address of the person.- Returns:
- shopperEmail
-
setShopperEmail
public void setShopperEmail(String shopperEmail)
Email address of the person.- Parameters:
shopperEmail-
-
shopperName
public FundOrigin shopperName(Name shopperName)
-
getShopperName
public Name getShopperName()
Get shopperName- Returns:
- shopperName
-
setShopperName
public void setShopperName(Name shopperName)
shopperName- Parameters:
shopperName-
-
telephoneNumber
public FundOrigin telephoneNumber(String telephoneNumber)
-
getTelephoneNumber
public String getTelephoneNumber()
Phone number of the person- Returns:
- telephoneNumber
-
setTelephoneNumber
public void setTelephoneNumber(String telephoneNumber)
Phone number of the person- Parameters:
telephoneNumber-
-
walletIdentifier
public FundOrigin walletIdentifier(String walletIdentifier)
-
getWalletIdentifier
public String getWalletIdentifier()
Get walletIdentifier- Returns:
- walletIdentifier
-
setWalletIdentifier
public void setWalletIdentifier(String walletIdentifier)
walletIdentifier- Parameters:
walletIdentifier-
-
equals
public boolean equals(Object o)
Return true if this FundOrigin object is equal to o.
-
fromJson
public static FundOrigin fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of FundOrigin given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FundOrigin
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to FundOrigin
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of FundOrigin to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-