Package com.adyen.model.checkout
Class SubMerchantInfo
- java.lang.Object
-
- com.adyen.model.checkout.SubMerchantInfo
-
public class SubMerchantInfo extends Object
SubMerchantInfo
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ADDRESSstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_MCCstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_REGISTERED_SINCEstatic StringJSON_PROPERTY_TAX_ID
-
Constructor Summary
Constructors Constructor Description SubMerchantInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SubMerchantInfoaddress(BillingAddress address)booleanequals(Object o)Return true if this SubMerchantInfo object is equal to o.static SubMerchantInfofromJson(String jsonString)Create an instance of SubMerchantInfo given an JSON stringBillingAddressgetAddress()Get addressStringgetId()Get idStringgetMcc()Get mccStringgetName()Get nameStringgetRegisteredSince()Get registeredSinceStringgetTaxId()Get taxIdinthashCode()SubMerchantInfoid(String id)SubMerchantInfomcc(String mcc)SubMerchantInfoname(String name)SubMerchantInforegisteredSince(String registeredSince)voidsetAddress(BillingAddress address)addressvoidsetId(String id)idvoidsetMcc(String mcc)mccvoidsetName(String name)namevoidsetRegisteredSince(String registeredSince)registeredSincevoidsetTaxId(String taxId)taxIdSubMerchantInfotaxId(String taxId)StringtoJson()Convert an instance of SubMerchantInfo to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ADDRESS
public static final String JSON_PROPERTY_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MCC
public static final String JSON_PROPERTY_MCC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REGISTERED_SINCE
public static final String JSON_PROPERTY_REGISTERED_SINCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TAX_ID
public static final String JSON_PROPERTY_TAX_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
address
public SubMerchantInfo address(BillingAddress address)
-
getAddress
public BillingAddress getAddress()
Get address- Returns:
- address
-
setAddress
public void setAddress(BillingAddress address)
address- Parameters:
address-
-
id
public SubMerchantInfo id(String id)
-
getId
public String getId()
Get id- Returns:
- id
-
setId
public void setId(String id)
id- Parameters:
id-
-
mcc
public SubMerchantInfo mcc(String mcc)
-
getMcc
public String getMcc()
Get mcc- Returns:
- mcc
-
setMcc
public void setMcc(String mcc)
mcc- Parameters:
mcc-
-
name
public SubMerchantInfo name(String name)
-
getName
public String getName()
Get name- Returns:
- name
-
setName
public void setName(String name)
name- Parameters:
name-
-
registeredSince
public SubMerchantInfo registeredSince(String registeredSince)
-
getRegisteredSince
public String getRegisteredSince()
Get registeredSince- Returns:
- registeredSince
-
setRegisteredSince
public void setRegisteredSince(String registeredSince)
registeredSince- Parameters:
registeredSince-
-
taxId
public SubMerchantInfo taxId(String taxId)
-
getTaxId
public String getTaxId()
Get taxId- Returns:
- taxId
-
setTaxId
public void setTaxId(String taxId)
taxId- Parameters:
taxId-
-
equals
public boolean equals(Object o)
Return true if this SubMerchantInfo object is equal to o.
-
fromJson
public static SubMerchantInfo fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of SubMerchantInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SubMerchantInfo
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to SubMerchantInfo
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of SubMerchantInfo to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-