Class PaymentInstrumentRequirement


  • public class PaymentInstrumentRequirement
    extends Object
    PaymentInstrumentRequirement
    • Constructor Detail

      • PaymentInstrumentRequirement

        public PaymentInstrumentRequirement()
    • Method Detail

      • getDescription

        public String getDescription()
        Specifies the requirements for the payment instrument that need to be included in the request for a particular route.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
      • getIssuingCountryCode

        public String getIssuingCountryCode()
        The two-character ISO-3166-1 alpha-2 country code of the counterparty. For example, **US** or **NL**.
        Returns:
        issuingCountryCode
      • setIssuingCountryCode

        public void setIssuingCountryCode​(String issuingCountryCode)
      • getOnlyForCrossBalancePlatform

        public Boolean getOnlyForCrossBalancePlatform()
        Specifies if the requirement only applies to transfers to another balance platform.
        Returns:
        onlyForCrossBalancePlatform
      • setOnlyForCrossBalancePlatform

        public void setOnlyForCrossBalancePlatform​(Boolean onlyForCrossBalancePlatform)
      • equals

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

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

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

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