Class MerchantAccountResource


  • public class MerchantAccountResource
    extends Resource
    MerchantAccountResource
    • Field Detail

    • Constructor Detail

      • MerchantAccountResource

        public MerchantAccountResource()
    • Method Detail

      • merchantAccountCode

        public MerchantAccountResource merchantAccountCode​(String merchantAccountCode)
        merchantAccountCode
        Parameters:
        merchantAccountCode -
        Returns:
        the current MerchantAccountResource instance, allowing for method chaining
      • getMerchantAccountCode

        public String getMerchantAccountCode()
        Get merchantAccountCode
        Returns:
        merchantAccountCode
      • setMerchantAccountCode

        public void setMerchantAccountCode​(String merchantAccountCode)
        merchantAccountCode
        Parameters:
        merchantAccountCode -
      • includeNullValues

        public MerchantAccountResource includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
        Overrides:
        includeNullValues in class Resource
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
        Overrides:
        isIncludeNullValues in class Resource
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
        Overrides:
        setIncludeNullValues in class Resource
      • equals

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

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
        Overrides:
        getExplicitNulls in class Resource
      • fromJson

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

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of MerchantAccountResource to an JSON string
        Overrides:
        toJson in class Resource
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException