Class GooglePayInfo


  • public class GooglePayInfo
    extends Object
    GooglePayInfo
    • Constructor Detail

      • GooglePayInfo

        public GooglePayInfo()
    • Method Detail

      • getMerchantId

        public String getMerchantId()
        Google Pay [Merchant ID](https://support.google.com/paymentscenter/answer/7163092?hl=en). Character length and limitations: 16 alphanumeric characters or 20 numeric characters.
        Returns:
        merchantId
      • setMerchantId

        public void setMerchantId​(String merchantId)
        Google Pay [Merchant ID](https://support.google.com/paymentscenter/answer/7163092?hl=en). Character length and limitations: 16 alphanumeric characters or 20 numeric characters.
        Parameters:
        merchantId -
      • getReuseMerchantId

        public Boolean getReuseMerchantId()
        Indicates whether the Google Pay Merchant ID is used for several merchant accounts. Default value: **false**.
        Returns:
        reuseMerchantId
      • setReuseMerchantId

        public void setReuseMerchantId​(Boolean reuseMerchantId)
        Indicates whether the Google Pay Merchant ID is used for several merchant accounts. Default value: **false**.
        Parameters:
        reuseMerchantId -
      • equals

        public boolean equals​(Object o)
        Return true if this GooglePayInfo object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static GooglePayInfo fromJson​(String jsonString)
                                      throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of GooglePayInfo given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of GooglePayInfo
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to GooglePayInfo
      • toJson

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