Class Pay.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • bankAccountType

        public Pay.Builder bankAccountType​(Pay.BankAccountType bankAccountType)
        Bank account type for ach transactions. If set, payment method attribute must be provided and value should be set to ach-debit. defaults to consumer-checking
      • statusCallback

        public Pay.Builder statusCallback​(URI statusCallback)
        Status callback URL
      • statusCallback

        public Pay.Builder statusCallback​(String statusCallback)
        Status callback URL
      • maxAttempts

        public Pay.Builder maxAttempts​(Integer maxAttempts)
        Maximum number of allowed retries when gathering input
      • securityCode

        public Pay.Builder securityCode​(Boolean securityCode)
        Prompt for security code
      • postalCode

        public Pay.Builder postalCode​(String postalCode)
        Prompt for postal code and it should be true/false or default postal code
      • minPostalCodeLength

        public Pay.Builder minPostalCodeLength​(Integer minPostalCodeLength)
        Prompt for minimum postal code length
      • paymentConnector

        public Pay.Builder paymentConnector​(String paymentConnector)
        Unique name for payment connector
      • chargeAmount

        public Pay.Builder chargeAmount​(String chargeAmount)
        Amount to process. If value is greater than 0 then make the payment else create a payment token
      • currency

        public Pay.Builder currency​(String currency)
        Currency of the amount attribute
      • description

        public Pay.Builder description​(String description)
        Details regarding the payment
      • build

        public Pay build()
        Create and return resulting <Pay> element