Class TransferNotificationMerchantData


  • public class TransferNotificationMerchantData
    extends Object
    TransferNotificationMerchantData
    • Constructor Detail

      • TransferNotificationMerchantData

        public TransferNotificationMerchantData()
    • Method Detail

      • acquirerId

        public TransferNotificationMerchantData acquirerId​(String acquirerId)
        The unique identifier of the merchant's acquirer.
        Parameters:
        acquirerId - The unique identifier of the merchant's acquirer.
        Returns:
        the current TransferNotificationMerchantData instance, allowing for method chaining
      • getAcquirerId

        public String getAcquirerId()
        The unique identifier of the merchant's acquirer.
        Returns:
        acquirerId The unique identifier of the merchant's acquirer.
      • setAcquirerId

        public void setAcquirerId​(String acquirerId)
        The unique identifier of the merchant's acquirer.
        Parameters:
        acquirerId - The unique identifier of the merchant's acquirer.
      • city

        public TransferNotificationMerchantData city​(String city)
        The city where the merchant is located.
        Parameters:
        city - The city where the merchant is located.
        Returns:
        the current TransferNotificationMerchantData instance, allowing for method chaining
      • getCity

        public String getCity()
        The city where the merchant is located.
        Returns:
        city The city where the merchant is located.
      • setCity

        public void setCity​(String city)
        The city where the merchant is located.
        Parameters:
        city - The city where the merchant is located.
      • country

        public TransferNotificationMerchantData country​(String country)
        The country where the merchant is located.
        Parameters:
        country - The country where the merchant is located.
        Returns:
        the current TransferNotificationMerchantData instance, allowing for method chaining
      • getCountry

        public String getCountry()
        The country where the merchant is located.
        Returns:
        country The country where the merchant is located.
      • setCountry

        public void setCountry​(String country)
        The country where the merchant is located.
        Parameters:
        country - The country where the merchant is located.
      • countryCode

        public TransferNotificationMerchantData countryCode​(String countryCode)
        The two-character country code of the merchant's location, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
        Parameters:
        countryCode - The two-character country code of the merchant's location, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
        Returns:
        the current TransferNotificationMerchantData instance, allowing for method chaining
      • getCountryCode

        public String getCountryCode()
        The two-character country code of the merchant's location, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
        Returns:
        countryCode The two-character country code of the merchant's location, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
      • setCountryCode

        public void setCountryCode​(String countryCode)
        The two-character country code of the merchant's location, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
        Parameters:
        countryCode - The two-character country code of the merchant's location, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
      • mcc

        public TransferNotificationMerchantData mcc​(String mcc)
        The merchant category code.
        Parameters:
        mcc - The merchant category code.
        Returns:
        the current TransferNotificationMerchantData instance, allowing for method chaining
      • getMcc

        public String getMcc()
        The merchant category code.
        Returns:
        mcc The merchant category code.
      • setMcc

        public void setMcc​(String mcc)
        The merchant category code.
        Parameters:
        mcc - The merchant category code.
      • merchantId

        public TransferNotificationMerchantData merchantId​(String merchantId)
        The unique identifier of the merchant.
        Parameters:
        merchantId - The unique identifier of the merchant.
        Returns:
        the current TransferNotificationMerchantData instance, allowing for method chaining
      • getMerchantId

        public String getMerchantId()
        The unique identifier of the merchant.
        Returns:
        merchantId The unique identifier of the merchant.
      • setMerchantId

        public void setMerchantId​(String merchantId)
        The unique identifier of the merchant.
        Parameters:
        merchantId - The unique identifier of the merchant.
      • name

        public TransferNotificationMerchantData name​(String name)
        The name of the merchant's shop or service.
        Parameters:
        name - The name of the merchant's shop or service.
        Returns:
        the current TransferNotificationMerchantData instance, allowing for method chaining
      • getName

        public String getName()
        The name of the merchant's shop or service.
        Returns:
        name The name of the merchant's shop or service.
      • setName

        public void setName​(String name)
        The name of the merchant's shop or service.
        Parameters:
        name - The name of the merchant's shop or service.
      • postalCode

        public TransferNotificationMerchantData postalCode​(String postalCode)
        The postal code of the merchant.
        Parameters:
        postalCode - The postal code of the merchant.
        Returns:
        the current TransferNotificationMerchantData instance, allowing for method chaining
      • getPostalCode

        public String getPostalCode()
        The postal code of the merchant.
        Returns:
        postalCode The postal code of the merchant.
      • setPostalCode

        public void setPostalCode​(String postalCode)
        The postal code of the merchant.
        Parameters:
        postalCode - The postal code of the merchant.
      • includeNullValues

        public TransferNotificationMerchantData 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 TransferNotificationMerchantData object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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 TransferNotificationMerchantData fromJson​(String jsonString)
                                                         throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of TransferNotificationMerchantData given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of TransferNotificationMerchantData
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to TransferNotificationMerchantData
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of TransferNotificationMerchantData to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException