Class PaymentInstrumentRequirement


  • public class PaymentInstrumentRequirement
    extends Object
    PaymentInstrumentRequirement
    • Constructor Detail

      • PaymentInstrumentRequirement

        public PaymentInstrumentRequirement()
    • Method Detail

      • description

        public PaymentInstrumentRequirement description​(String description)
        Specifies the requirements for the payment instrument that need to be included in the request for a particular route.
        Parameters:
        description -
        Returns:
        the current PaymentInstrumentRequirement instance, allowing for method chaining
      • 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)
        Specifies the requirements for the payment instrument that need to be included in the request for a particular route.
        Parameters:
        description -
      • issuingCountryCode

        public PaymentInstrumentRequirement issuingCountryCode​(String issuingCountryCode)
        The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the payment instrument is issued. For example, **NL** or **US**.
        Parameters:
        issuingCountryCode -
        Returns:
        the current PaymentInstrumentRequirement instance, allowing for method chaining
      • getIssuingCountryCode

        public String getIssuingCountryCode()
        The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the payment instrument is issued. For example, **NL** or **US**.
        Returns:
        issuingCountryCode
      • setIssuingCountryCode

        public void setIssuingCountryCode​(String issuingCountryCode)
        The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the payment instrument is issued. For example, **NL** or **US**.
        Parameters:
        issuingCountryCode -
      • issuingCountryCodes

        public PaymentInstrumentRequirement issuingCountryCodes​(List<String> issuingCountryCodes)
        The two-character ISO-3166-1 alpha-2 country code list for payment instruments.
        Parameters:
        issuingCountryCodes -
        Returns:
        the current PaymentInstrumentRequirement instance, allowing for method chaining
      • getIssuingCountryCodes

        public List<String> getIssuingCountryCodes()
        The two-character ISO-3166-1 alpha-2 country code list for payment instruments.
        Returns:
        issuingCountryCodes
      • setIssuingCountryCodes

        public void setIssuingCountryCodes​(List<String> issuingCountryCodes)
        The two-character ISO-3166-1 alpha-2 country code list for payment instruments.
        Parameters:
        issuingCountryCodes -
      • onlyForCrossBalancePlatform

        public PaymentInstrumentRequirement onlyForCrossBalancePlatform​(Boolean onlyForCrossBalancePlatform)
        Specifies if the requirement only applies to transfers to another balance platform.
        Parameters:
        onlyForCrossBalancePlatform -
        Returns:
        the current PaymentInstrumentRequirement instance, allowing for method chaining
      • getOnlyForCrossBalancePlatform

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

        public void setOnlyForCrossBalancePlatform​(Boolean onlyForCrossBalancePlatform)
        Specifies if the requirement only applies to transfers to another balance platform.
        Parameters:
        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