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_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)Return true if this FundOrigin object is equal to 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()
-
-
-
Field Detail
-
JSON_PROPERTY_BILLING_ADDRESS
public static final String JSON_PROPERTY_BILLING_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_NAME
public static final String JSON_PROPERTY_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)
-
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
-
-