Class PaymentMethodWithOptions

  • All Implemented Interfaces:
    Serializable

    public class PaymentMethodWithOptions
    extends Object
    implements Serializable
    This object contains information about a payment method that the gateway accepts and the payment options that are compatible with it..
    See Also:
    Serialized Form
    • Constructor Detail

      • PaymentMethodWithOptions

        public PaymentMethodWithOptions()
    • Method Detail

      • addSupportedCurrenciesItem

        public PaymentMethodWithOptions addSupportedCurrenciesItem​(String supportedCurrenciesItem)
        addSupportedCurrenciesItem.
        Returns:
        PaymentMethodWithOptions
      • getSupportedCurrencies

        public List<String> getSupportedCurrencies()
        .
        Returns:
        supportedCurrencies
      • setSupportedCurrencies

        public void setSupportedCurrencies​(List<String> supportedCurrencies)
        setSupportedCurrencies.
      • addSupportedOptionsItem

        public PaymentMethodWithOptions addSupportedOptionsItem​(String supportedOptionsItem)
        addSupportedOptionsItem.
        Returns:
        PaymentMethodWithOptions
      • getSupportedOptions

        public List<String> getSupportedOptions()
        .
        Returns:
        supportedOptions
      • setSupportedOptions

        public void setSupportedOptions​(List<String> supportedOptions)
        setSupportedOptions.
      • getType

        public String getType()
        .
        Returns:
        type
      • setType

        public void setType​(String type)
        setType.
      • equals

        public boolean equals​(Object o)
        Compares objects.
        Overrides:
        equals in class Object
        Returns:
        true or false depending on comparison result.
      • hashCode

        public int hashCode()
        Returns the HashCode.
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Converts the given object to string.
        Overrides:
        toString in class Object