Class PaymentInstrumentGroupInfo


  • public class PaymentInstrumentGroupInfo
    extends Object
    PaymentInstrumentGroupInfo
    • Constructor Detail

      • PaymentInstrumentGroupInfo

        public PaymentInstrumentGroupInfo()
    • Method Detail

      • getBalancePlatform

        public String getBalancePlatform()
        The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the payment instrument group belongs.
        Returns:
        balancePlatform
      • setBalancePlatform

        public void setBalancePlatform​(String balancePlatform)
      • getDescription

        public String getDescription()
        Your description for the payment instrument group, maximum 300 characters.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
      • getProperties

        public Map<String,​String> getProperties()
        Properties of the payment instrument group.
        Returns:
        properties
      • setProperties

        public void setProperties​(Map<String,​String> properties)
      • getReference

        public String getReference()
        Your reference for the payment instrument group, maximum 150 characters.
        Returns:
        reference
      • setReference

        public void setReference​(String reference)
      • getTxVariant

        public String getTxVariant()
        The tx variant of the payment instrument group.
        Returns:
        txVariant
      • setTxVariant

        public void setTxVariant​(String txVariant)
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Throws:
        IOException
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj,
                                              boolean strictValidation)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        strictValidation - reject (new) fields missing from the specifications
        Throws:
        IOException - if the JSON Object is invalid with respect to PaymentInstrumentGroupInfo
      • fromJson

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

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