Package com.adyen.model.payment
Class AdditionalDataSubMerchant
- java.lang.Object
-
- com.adyen.model.payment.AdditionalDataSubMerchant
-
public class AdditionalDataSubMerchant extends Object
AdditionalDataSubMerchant
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AdditionalDataSubMerchant()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this AdditionalDataSubMerchant object is equal to o.static AdditionalDataSubMerchantfromJson(String jsonString)Create an instance of AdditionalDataSubMerchant given an JSON stringMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetSubMerchantNumberOfSubSellers()Required for transactions performed by registered payment facilitators.StringgetSubMerchantSubSellerSubSellerNrCity()Required for transactions performed by registered payment facilitators.StringgetSubMerchantSubSellerSubSellerNrCountry()Required for transactions performed by registered payment facilitators.StringgetSubMerchantSubSellerSubSellerNrEmail()Required for transactions performed by registered payment facilitators.StringgetSubMerchantSubSellerSubSellerNrId()Required for transactions performed by registered payment facilitators.StringgetSubMerchantSubSellerSubSellerNrMcc()Required for transactions performed by registered payment facilitators.StringgetSubMerchantSubSellerSubSellerNrName()Required for transactions performed by registered payment facilitators.StringgetSubMerchantSubSellerSubSellerNrPhoneNumber()Required for transactions performed by registered payment facilitators.StringgetSubMerchantSubSellerSubSellerNrPostalCode()Required for transactions performed by registered payment facilitators.StringgetSubMerchantSubSellerSubSellerNrState()Required for transactions performed by registered payment facilitators.StringgetSubMerchantSubSellerSubSellerNrStreet()Required for transactions performed by registered payment facilitators.StringgetSubMerchantSubSellerSubSellerNrTaxId()Required for transactions performed by registered payment facilitators.inthashCode()AdditionalDataSubMerchantincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetSubMerchantNumberOfSubSellers(String subMerchantNumberOfSubSellers)Required for transactions performed by registered payment facilitators.voidsetSubMerchantSubSellerSubSellerNrCity(String subMerchantSubSellerSubSellerNrCity)Required for transactions performed by registered payment facilitators.voidsetSubMerchantSubSellerSubSellerNrCountry(String subMerchantSubSellerSubSellerNrCountry)Required for transactions performed by registered payment facilitators.voidsetSubMerchantSubSellerSubSellerNrEmail(String subMerchantSubSellerSubSellerNrEmail)Required for transactions performed by registered payment facilitators.voidsetSubMerchantSubSellerSubSellerNrId(String subMerchantSubSellerSubSellerNrId)Required for transactions performed by registered payment facilitators.voidsetSubMerchantSubSellerSubSellerNrMcc(String subMerchantSubSellerSubSellerNrMcc)Required for transactions performed by registered payment facilitators.voidsetSubMerchantSubSellerSubSellerNrName(String subMerchantSubSellerSubSellerNrName)Required for transactions performed by registered payment facilitators.voidsetSubMerchantSubSellerSubSellerNrPhoneNumber(String subMerchantSubSellerSubSellerNrPhoneNumber)Required for transactions performed by registered payment facilitators.voidsetSubMerchantSubSellerSubSellerNrPostalCode(String subMerchantSubSellerSubSellerNrPostalCode)Required for transactions performed by registered payment facilitators.voidsetSubMerchantSubSellerSubSellerNrState(String subMerchantSubSellerSubSellerNrState)Required for transactions performed by registered payment facilitators.voidsetSubMerchantSubSellerSubSellerNrStreet(String subMerchantSubSellerSubSellerNrStreet)Required for transactions performed by registered payment facilitators.voidsetSubMerchantSubSellerSubSellerNrTaxId(String subMerchantSubSellerSubSellerNrTaxId)Required for transactions performed by registered payment facilitators.AdditionalDataSubMerchantsubMerchantNumberOfSubSellers(String subMerchantNumberOfSubSellers)Required for transactions performed by registered payment facilitators.AdditionalDataSubMerchantsubMerchantSubSellerSubSellerNrCity(String subMerchantSubSellerSubSellerNrCity)Required for transactions performed by registered payment facilitators.AdditionalDataSubMerchantsubMerchantSubSellerSubSellerNrCountry(String subMerchantSubSellerSubSellerNrCountry)Required for transactions performed by registered payment facilitators.AdditionalDataSubMerchantsubMerchantSubSellerSubSellerNrEmail(String subMerchantSubSellerSubSellerNrEmail)Required for transactions performed by registered payment facilitators.AdditionalDataSubMerchantsubMerchantSubSellerSubSellerNrId(String subMerchantSubSellerSubSellerNrId)Required for transactions performed by registered payment facilitators.AdditionalDataSubMerchantsubMerchantSubSellerSubSellerNrMcc(String subMerchantSubSellerSubSellerNrMcc)Required for transactions performed by registered payment facilitators.AdditionalDataSubMerchantsubMerchantSubSellerSubSellerNrName(String subMerchantSubSellerSubSellerNrName)Required for transactions performed by registered payment facilitators.AdditionalDataSubMerchantsubMerchantSubSellerSubSellerNrPhoneNumber(String subMerchantSubSellerSubSellerNrPhoneNumber)Required for transactions performed by registered payment facilitators.AdditionalDataSubMerchantsubMerchantSubSellerSubSellerNrPostalCode(String subMerchantSubSellerSubSellerNrPostalCode)Required for transactions performed by registered payment facilitators.AdditionalDataSubMerchantsubMerchantSubSellerSubSellerNrState(String subMerchantSubSellerSubSellerNrState)Required for transactions performed by registered payment facilitators.AdditionalDataSubMerchantsubMerchantSubSellerSubSellerNrStreet(String subMerchantSubSellerSubSellerNrStreet)Required for transactions performed by registered payment facilitators.AdditionalDataSubMerchantsubMerchantSubSellerSubSellerNrTaxId(String subMerchantSubSellerSubSellerNrTaxId)Required for transactions performed by registered payment facilitators.StringtoJson()Convert an instance of AdditionalDataSubMerchant to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_SUB_MERCHANT_NUMBER_OF_SUB_SELLERS
public static final String JSON_PROPERTY_SUB_MERCHANT_NUMBER_OF_SUB_SELLERS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_CITY
public static final String JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_CITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_COUNTRY
public static final String JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_COUNTRY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_EMAIL
public static final String JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_EMAIL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_ID
public static final String JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_MCC
public static final String JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_MCC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_NAME
public static final String JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_PHONE_NUMBER
public static final String JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_PHONE_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_POSTAL_CODE
public static final String JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_POSTAL_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_STATE
public static final String JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_STATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_STREET
public static final String JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_STREET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_TAX_ID
public static final String JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_TAX_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
subMerchantNumberOfSubSellers
public AdditionalDataSubMerchant subMerchantNumberOfSubSellers(String subMerchantNumberOfSubSellers)
Required for transactions performed by registered payment facilitators. Indicates the number of sub-merchants contained in the request. For example, **3**.- Parameters:
subMerchantNumberOfSubSellers- Required for transactions performed by registered payment facilitators. Indicates the number of sub-merchants contained in the request. For example, **3**.- Returns:
- the current
AdditionalDataSubMerchantinstance, allowing for method chaining
-
getSubMerchantNumberOfSubSellers
public String getSubMerchantNumberOfSubSellers()
Required for transactions performed by registered payment facilitators. Indicates the number of sub-merchants contained in the request. For example, **3**.- Returns:
- subMerchantNumberOfSubSellers Required for transactions performed by registered payment facilitators. Indicates the number of sub-merchants contained in the request. For example, **3**.
-
setSubMerchantNumberOfSubSellers
public void setSubMerchantNumberOfSubSellers(String subMerchantNumberOfSubSellers)
Required for transactions performed by registered payment facilitators. Indicates the number of sub-merchants contained in the request. For example, **3**.- Parameters:
subMerchantNumberOfSubSellers- Required for transactions performed by registered payment facilitators. Indicates the number of sub-merchants contained in the request. For example, **3**.
-
subMerchantSubSellerSubSellerNrCity
public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrCity(String subMerchantSubSellerSubSellerNrCity)
Required for transactions performed by registered payment facilitators. The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters- Parameters:
subMerchantSubSellerSubSellerNrCity- Required for transactions performed by registered payment facilitators. The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters- Returns:
- the current
AdditionalDataSubMerchantinstance, allowing for method chaining
-
getSubMerchantSubSellerSubSellerNrCity
public String getSubMerchantSubSellerSubSellerNrCity()
Required for transactions performed by registered payment facilitators. The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters- Returns:
- subMerchantSubSellerSubSellerNrCity Required for transactions performed by registered payment facilitators. The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters
-
setSubMerchantSubSellerSubSellerNrCity
public void setSubMerchantSubSellerSubSellerNrCity(String subMerchantSubSellerSubSellerNrCity)
Required for transactions performed by registered payment facilitators. The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters- Parameters:
subMerchantSubSellerSubSellerNrCity- Required for transactions performed by registered payment facilitators. The city of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 13 characters
-
subMerchantSubSellerSubSellerNrCountry
public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrCountry(String subMerchantSubSellerSubSellerNrCountry)
Required for transactions performed by registered payment facilitators. The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters- Parameters:
subMerchantSubSellerSubSellerNrCountry- Required for transactions performed by registered payment facilitators. The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters- Returns:
- the current
AdditionalDataSubMerchantinstance, allowing for method chaining
-
getSubMerchantSubSellerSubSellerNrCountry
public String getSubMerchantSubSellerSubSellerNrCountry()
Required for transactions performed by registered payment facilitators. The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters- Returns:
- subMerchantSubSellerSubSellerNrCountry Required for transactions performed by registered payment facilitators. The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters
-
setSubMerchantSubSellerSubSellerNrCountry
public void setSubMerchantSubSellerSubSellerNrCountry(String subMerchantSubSellerSubSellerNrCountry)
Required for transactions performed by registered payment facilitators. The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters- Parameters:
subMerchantSubSellerSubSellerNrCountry- Required for transactions performed by registered payment facilitators. The three-letter country code of the sub-merchant's address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters
-
subMerchantSubSellerSubSellerNrEmail
public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrEmail(String subMerchantSubSellerSubSellerNrEmail)
Required for transactions performed by registered payment facilitators. The email address of the sub-merchant. * Format: Alphanumeric * Maximum length: 40 characters- Parameters:
subMerchantSubSellerSubSellerNrEmail- Required for transactions performed by registered payment facilitators. The email address of the sub-merchant. * Format: Alphanumeric * Maximum length: 40 characters- Returns:
- the current
AdditionalDataSubMerchantinstance, allowing for method chaining
-
getSubMerchantSubSellerSubSellerNrEmail
public String getSubMerchantSubSellerSubSellerNrEmail()
Required for transactions performed by registered payment facilitators. The email address of the sub-merchant. * Format: Alphanumeric * Maximum length: 40 characters- Returns:
- subMerchantSubSellerSubSellerNrEmail Required for transactions performed by registered payment facilitators. The email address of the sub-merchant. * Format: Alphanumeric * Maximum length: 40 characters
-
setSubMerchantSubSellerSubSellerNrEmail
public void setSubMerchantSubSellerSubSellerNrEmail(String subMerchantSubSellerSubSellerNrEmail)
Required for transactions performed by registered payment facilitators. The email address of the sub-merchant. * Format: Alphanumeric * Maximum length: 40 characters- Parameters:
subMerchantSubSellerSubSellerNrEmail- Required for transactions performed by registered payment facilitators. The email address of the sub-merchant. * Format: Alphanumeric * Maximum length: 40 characters
-
subMerchantSubSellerSubSellerNrId
public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrId(String subMerchantSubSellerSubSellerNrId)
Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters- Parameters:
subMerchantSubSellerSubSellerNrId- Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters- Returns:
- the current
AdditionalDataSubMerchantinstance, allowing for method chaining
-
getSubMerchantSubSellerSubSellerNrId
public String getSubMerchantSubSellerSubSellerNrId()
Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters- Returns:
- subMerchantSubSellerSubSellerNrId Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters
-
setSubMerchantSubSellerSubSellerNrId
public void setSubMerchantSubSellerSubSellerNrId(String subMerchantSubSellerSubSellerNrId)
Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters- Parameters:
subMerchantSubSellerSubSellerNrId- Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters
-
subMerchantSubSellerSubSellerNrMcc
public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrMcc(String subMerchantSubSellerSubSellerNrMcc)
Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits- Parameters:
subMerchantSubSellerSubSellerNrMcc- Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits- Returns:
- the current
AdditionalDataSubMerchantinstance, allowing for method chaining
-
getSubMerchantSubSellerSubSellerNrMcc
public String getSubMerchantSubSellerSubSellerNrMcc()
Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits- Returns:
- subMerchantSubSellerSubSellerNrMcc Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits
-
setSubMerchantSubSellerSubSellerNrMcc
public void setSubMerchantSubSellerSubSellerNrMcc(String subMerchantSubSellerSubSellerNrMcc)
Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits- Parameters:
subMerchantSubSellerSubSellerNrMcc- Required for transactions performed by registered payment facilitators. The sub-merchant's 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits
-
subMerchantSubSellerSubSellerNrName
public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrName(String subMerchantSubSellerSubSellerNrName)
Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. Exception: for acquirers in Brazil, this value does not overwrite the shopper statement. * Format: Alphanumeric * Maximum length: 22 characters- Parameters:
subMerchantSubSellerSubSellerNrName- Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. Exception: for acquirers in Brazil, this value does not overwrite the shopper statement. * Format: Alphanumeric * Maximum length: 22 characters- Returns:
- the current
AdditionalDataSubMerchantinstance, allowing for method chaining
-
getSubMerchantSubSellerSubSellerNrName
public String getSubMerchantSubSellerSubSellerNrName()
Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. Exception: for acquirers in Brazil, this value does not overwrite the shopper statement. * Format: Alphanumeric * Maximum length: 22 characters- Returns:
- subMerchantSubSellerSubSellerNrName Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. Exception: for acquirers in Brazil, this value does not overwrite the shopper statement. * Format: Alphanumeric * Maximum length: 22 characters
-
setSubMerchantSubSellerSubSellerNrName
public void setSubMerchantSubSellerSubSellerNrName(String subMerchantSubSellerSubSellerNrName)
Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. Exception: for acquirers in Brazil, this value does not overwrite the shopper statement. * Format: Alphanumeric * Maximum length: 22 characters- Parameters:
subMerchantSubSellerSubSellerNrName- Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. Exception: for acquirers in Brazil, this value does not overwrite the shopper statement. * Format: Alphanumeric * Maximum length: 22 characters
-
subMerchantSubSellerSubSellerNrPhoneNumber
public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrPhoneNumber(String subMerchantSubSellerSubSellerNrPhoneNumber)
Required for transactions performed by registered payment facilitators. The phone number of the sub-merchant. * Format: Alphanumeric and special characters * Maximum length: 20 characters- Parameters:
subMerchantSubSellerSubSellerNrPhoneNumber- Required for transactions performed by registered payment facilitators. The phone number of the sub-merchant. * Format: Alphanumeric and special characters * Maximum length: 20 characters- Returns:
- the current
AdditionalDataSubMerchantinstance, allowing for method chaining
-
getSubMerchantSubSellerSubSellerNrPhoneNumber
public String getSubMerchantSubSellerSubSellerNrPhoneNumber()
Required for transactions performed by registered payment facilitators. The phone number of the sub-merchant. * Format: Alphanumeric and special characters * Maximum length: 20 characters- Returns:
- subMerchantSubSellerSubSellerNrPhoneNumber Required for transactions performed by registered payment facilitators. The phone number of the sub-merchant. * Format: Alphanumeric and special characters * Maximum length: 20 characters
-
setSubMerchantSubSellerSubSellerNrPhoneNumber
public void setSubMerchantSubSellerSubSellerNrPhoneNumber(String subMerchantSubSellerSubSellerNrPhoneNumber)
Required for transactions performed by registered payment facilitators. The phone number of the sub-merchant. * Format: Alphanumeric and special characters * Maximum length: 20 characters- Parameters:
subMerchantSubSellerSubSellerNrPhoneNumber- Required for transactions performed by registered payment facilitators. The phone number of the sub-merchant. * Format: Alphanumeric and special characters * Maximum length: 20 characters
-
subMerchantSubSellerSubSellerNrPostalCode
public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrPostalCode(String subMerchantSubSellerSubSellerNrPostalCode)
Required for transactions performed by registered payment facilitators. The postal code of the sub-merchant's address, without dashes. * Format: Numeric * Fixed length: 8 digits- Parameters:
subMerchantSubSellerSubSellerNrPostalCode- Required for transactions performed by registered payment facilitators. The postal code of the sub-merchant's address, without dashes. * Format: Numeric * Fixed length: 8 digits- Returns:
- the current
AdditionalDataSubMerchantinstance, allowing for method chaining
-
getSubMerchantSubSellerSubSellerNrPostalCode
public String getSubMerchantSubSellerSubSellerNrPostalCode()
Required for transactions performed by registered payment facilitators. The postal code of the sub-merchant's address, without dashes. * Format: Numeric * Fixed length: 8 digits- Returns:
- subMerchantSubSellerSubSellerNrPostalCode Required for transactions performed by registered payment facilitators. The postal code of the sub-merchant's address, without dashes. * Format: Numeric * Fixed length: 8 digits
-
setSubMerchantSubSellerSubSellerNrPostalCode
public void setSubMerchantSubSellerSubSellerNrPostalCode(String subMerchantSubSellerSubSellerNrPostalCode)
Required for transactions performed by registered payment facilitators. The postal code of the sub-merchant's address, without dashes. * Format: Numeric * Fixed length: 8 digits- Parameters:
subMerchantSubSellerSubSellerNrPostalCode- Required for transactions performed by registered payment facilitators. The postal code of the sub-merchant's address, without dashes. * Format: Numeric * Fixed length: 8 digits
-
subMerchantSubSellerSubSellerNrState
public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrState(String subMerchantSubSellerSubSellerNrState)
Required for transactions performed by registered payment facilitators. The state code of the sub-merchant's address, if applicable to the country. * Format: Alphanumeric * Maximum length: 2 characters- Parameters:
subMerchantSubSellerSubSellerNrState- Required for transactions performed by registered payment facilitators. The state code of the sub-merchant's address, if applicable to the country. * Format: Alphanumeric * Maximum length: 2 characters- Returns:
- the current
AdditionalDataSubMerchantinstance, allowing for method chaining
-
getSubMerchantSubSellerSubSellerNrState
public String getSubMerchantSubSellerSubSellerNrState()
Required for transactions performed by registered payment facilitators. The state code of the sub-merchant's address, if applicable to the country. * Format: Alphanumeric * Maximum length: 2 characters- Returns:
- subMerchantSubSellerSubSellerNrState Required for transactions performed by registered payment facilitators. The state code of the sub-merchant's address, if applicable to the country. * Format: Alphanumeric * Maximum length: 2 characters
-
setSubMerchantSubSellerSubSellerNrState
public void setSubMerchantSubSellerSubSellerNrState(String subMerchantSubSellerSubSellerNrState)
Required for transactions performed by registered payment facilitators. The state code of the sub-merchant's address, if applicable to the country. * Format: Alphanumeric * Maximum length: 2 characters- Parameters:
subMerchantSubSellerSubSellerNrState- Required for transactions performed by registered payment facilitators. The state code of the sub-merchant's address, if applicable to the country. * Format: Alphanumeric * Maximum length: 2 characters
-
subMerchantSubSellerSubSellerNrStreet
public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrStreet(String subMerchantSubSellerSubSellerNrStreet)
Required for transactions performed by registered payment facilitators. The street name and house number of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 60 characters- Parameters:
subMerchantSubSellerSubSellerNrStreet- Required for transactions performed by registered payment facilitators. The street name and house number of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 60 characters- Returns:
- the current
AdditionalDataSubMerchantinstance, allowing for method chaining
-
getSubMerchantSubSellerSubSellerNrStreet
public String getSubMerchantSubSellerSubSellerNrStreet()
Required for transactions performed by registered payment facilitators. The street name and house number of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 60 characters- Returns:
- subMerchantSubSellerSubSellerNrStreet Required for transactions performed by registered payment facilitators. The street name and house number of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 60 characters
-
setSubMerchantSubSellerSubSellerNrStreet
public void setSubMerchantSubSellerSubSellerNrStreet(String subMerchantSubSellerSubSellerNrStreet)
Required for transactions performed by registered payment facilitators. The street name and house number of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 60 characters- Parameters:
subMerchantSubSellerSubSellerNrStreet- Required for transactions performed by registered payment facilitators. The street name and house number of the sub-merchant's address. * Format: Alphanumeric * Maximum length: 60 characters
-
subMerchantSubSellerSubSellerNrTaxId
public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrTaxId(String subMerchantSubSellerSubSellerNrTaxId)
Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ- Parameters:
subMerchantSubSellerSubSellerNrTaxId- Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ- Returns:
- the current
AdditionalDataSubMerchantinstance, allowing for method chaining
-
getSubMerchantSubSellerSubSellerNrTaxId
public String getSubMerchantSubSellerSubSellerNrTaxId()
Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ- Returns:
- subMerchantSubSellerSubSellerNrTaxId Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ
-
setSubMerchantSubSellerSubSellerNrTaxId
public void setSubMerchantSubSellerSubSellerNrTaxId(String subMerchantSubSellerSubSellerNrTaxId)
Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ- Parameters:
subMerchantSubSellerSubSellerNrTaxId- Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ
-
includeNullValues
public AdditionalDataSubMerchant includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this AdditionalDataSubMerchant object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
fromJson
public static AdditionalDataSubMerchant fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AdditionalDataSubMerchant given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AdditionalDataSubMerchant
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AdditionalDataSubMerchant
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AdditionalDataSubMerchant to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-