Class PlatformChargebackLogic


  • public class PlatformChargebackLogic
    extends Object
    PlatformChargebackLogic
    • Constructor Detail

      • PlatformChargebackLogic

        public PlatformChargebackLogic()
    • Method Detail

      • getCostAllocationAccount

        public String getCostAllocationAccount()
        Get costAllocationAccount
        Returns:
        costAllocationAccount
      • setCostAllocationAccount

        public void setCostAllocationAccount​(String costAllocationAccount)
      • getTargetAccount

        public String getTargetAccount()
        Get targetAccount
        Returns:
        targetAccount
      • setTargetAccount

        public void setTargetAccount​(String targetAccount)
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to PlatformChargebackLogic
      • fromJson

        public static PlatformChargebackLogic fromJson​(String jsonString)
                                                throws IOException
        Create an instance of PlatformChargebackLogic given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of PlatformChargebackLogic
        Throws:
        IOException - if the JSON string is invalid with respect to PlatformChargebackLogic
      • toJson

        public String toJson()
        Convert an instance of PlatformChargebackLogic to an JSON string
        Returns:
        JSON string