Class PaymentGatewayAccount


  • public class PaymentGatewayAccount
    extends Object
    This object contains details about a payment gateway account..
    • Constructor Detail

      • PaymentGatewayAccount

        public PaymentGatewayAccount()
    • Method Detail

      • allowCustomMetadata

        public PaymentGatewayAccount allowCustomMetadata​(Boolean allowCustomMetadata)
        allowCustomMetadata.
        Returns:
        PaymentGatewayAccount
      • isAllowCustomMetadata

        public Boolean isAllowCustomMetadata()
        .
        Returns:
        allowCustomMetadata
      • setAllowCustomMetadata

        public void setAllowCustomMetadata​(Boolean allowCustomMetadata)
        setAllowCustomMetadata.
      • getConfig

        public PaymentGatewayAccountSetting getConfig()
        This property contains metadata about the payment gateway account's configuration such as the API key, `userId`, and `merchantId` details..
        Returns:
        config
      • getDisplayName

        public String getDisplayName()
        .
        Returns:
        displayName
      • setDisplayName

        public void setDisplayName​(String displayName)
        setDisplayName.
      • getIsEnabled

        public String getIsEnabled()
        .
        Returns:
        isEnabled
      • setIsEnabled

        public void setIsEnabled​(String isEnabled)
        setIsEnabled.
      • getIsLegacy

        public String getIsLegacy()
        .
        Returns:
        isLegacy
      • setIsLegacy

        public void setIsLegacy​(String isLegacy)
        setIsLegacy.
      • getLastModified

        public String getLastModified()
        .
        Returns:
        lastModified
      • setLastModified

        public void setLastModified​(String lastModified)
        setLastModified.
      • paymentGateway

        public PaymentGatewayAccount paymentGateway​(String paymentGateway)
        paymentGateway.
        Returns:
        PaymentGatewayAccount
      • getPaymentGateway

        public String getPaymentGateway()
        .
        Returns:
        paymentGateway
      • setPaymentGateway

        public void setPaymentGateway​(String paymentGateway)
        setPaymentGateway.
      • paymentGatewayAccountId

        public PaymentGatewayAccount paymentGatewayAccountId​(String paymentGatewayAccountId)
        paymentGatewayAccountId.
        Returns:
        PaymentGatewayAccount
      • getPaymentGatewayAccountId

        public String getPaymentGatewayAccountId()
        .
        Returns:
        paymentGatewayAccountId
      • setPaymentGatewayAccountId

        public void setPaymentGatewayAccountId​(String paymentGatewayAccountId)
        setPaymentGatewayAccountId.
      • paymentGatewayDisplayName

        public PaymentGatewayAccount paymentGatewayDisplayName​(String paymentGatewayDisplayName)
        paymentGatewayDisplayName.
        Returns:
        PaymentGatewayAccount
      • getPaymentGatewayDisplayName

        public String getPaymentGatewayDisplayName()
        .
        Returns:
        paymentGatewayDisplayName
      • setPaymentGatewayDisplayName

        public void setPaymentGatewayDisplayName​(String paymentGatewayDisplayName)
        setPaymentGatewayDisplayName.
      • getPayPalLegacySettings

        public PayPalLegacySettings getPayPalLegacySettings()
        Reserved for DocuSign..
        Returns:
        payPalLegacySettings
      • setPayPalLegacySettings

        public void setPayPalLegacySettings​(PayPalLegacySettings payPalLegacySettings)
        setPayPalLegacySettings.
      • supportedCurrencies

        public PaymentGatewayAccount supportedCurrencies​(List<String> supportedCurrencies)
        supportedCurrencies.
        Returns:
        PaymentGatewayAccount
      • addSupportedCurrenciesItem

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

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

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

        public PaymentGatewayAccount supportedPaymentMethods​(List<String> supportedPaymentMethods)
        supportedPaymentMethods.
        Returns:
        PaymentGatewayAccount
      • addSupportedPaymentMethodsItem

        public PaymentGatewayAccount addSupportedPaymentMethodsItem​(String supportedPaymentMethodsItem)
        addSupportedPaymentMethodsItem.
        Returns:
        PaymentGatewayAccount
      • getSupportedPaymentMethods

        public List<String> getSupportedPaymentMethods()
        .
        Returns:
        supportedPaymentMethods
      • setSupportedPaymentMethods

        public void setSupportedPaymentMethods​(List<String> supportedPaymentMethods)
        setSupportedPaymentMethods.
      • addSupportedPaymentMethodsWithOptionsItem

        public PaymentGatewayAccount addSupportedPaymentMethodsWithOptionsItem​(PaymentMethodWithOptions supportedPaymentMethodsWithOptionsItem)
        addSupportedPaymentMethodsWithOptionsItem.
        Returns:
        PaymentGatewayAccount
      • getSupportedPaymentMethodsWithOptions

        public List<PaymentMethodWithOptions> getSupportedPaymentMethodsWithOptions()
        .
        Returns:
        supportedPaymentMethodsWithOptions
      • setSupportedPaymentMethodsWithOptions

        public void setSupportedPaymentMethodsWithOptions​(List<PaymentMethodWithOptions> supportedPaymentMethodsWithOptions)
        setSupportedPaymentMethodsWithOptions.
      • zeroDecimalCurrencies

        public PaymentGatewayAccount zeroDecimalCurrencies​(List<String> zeroDecimalCurrencies)
        zeroDecimalCurrencies.
        Returns:
        PaymentGatewayAccount
      • addZeroDecimalCurrenciesItem

        public PaymentGatewayAccount addZeroDecimalCurrenciesItem​(String zeroDecimalCurrenciesItem)
        addZeroDecimalCurrenciesItem.
        Returns:
        PaymentGatewayAccount
      • getZeroDecimalCurrencies

        public List<String> getZeroDecimalCurrencies()
        .
        Returns:
        zeroDecimalCurrencies
      • setZeroDecimalCurrencies

        public void setZeroDecimalCurrencies​(List<String> zeroDecimalCurrencies)
        setZeroDecimalCurrencies.
      • 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