Class AuthorizationRequest

java.lang.Object
com.blockchyp.client.dto.AuthorizationRequest
All Implemented Interfaces:
ICoreRequest, IPaymentMethod, IPreviousTransaction, IRequestAmount, ISignatureRequest, ISubtotals, ITerminalReference, ITimeoutRequest

An authorization request for a charge, preauth, or reverse transaction.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the cardholder address for use with address verification.
    Gets a map of alternate currencies and the price in each currency.
    Gets the requested amount.
    Gets the cardholder name.
    Gets designates categories of cards: credit, debit, EBT.
    Gets that the transaction should be a cryptocurrency transaction.
    Gets an optional parameter that can be used to force a crypto transaction onto a level one or level two network.
    Gets can be used to specify a specific receive address for a crypto transaction.
    Gets the transaction currency code.
    Gets customer information.
    Gets the card CVV for use with PAN based transactions.
    Gets a narrative description of the transaction.
    Gets the settlement account for merchants with split settlements.
    Gets the card expiration month for use with PAN based transactions.
    Gets the card expiration year for use with PAN based transactions.
    Gets details for HSA/FSA transactions.
    Gets the key serial number used for DUKPT encryption.
    Gets used to validate online gift card authorizations.
    Gets an identifier from an external point of sale system.
    Gets the primary account number.
    Gets can optionally add a label to the payment request if the target cryptocurrency supports labels.
    Gets can optionally add a message to the payment request if the target cryptocurrency supports labels.
    Gets designates brands of payment methods: Visa, Discover, etc.
    Gets the encrypted pin block.
    Gets the cardholder postal code for use with address verification.
    Gets how partial pennies should be rounded for calculated values like surcharges.
    Gets the ACH routing number for ACH transactions.
    Gets a location on the filesystem which a customer signature should be written to.
    Gets the image format to be used for returning signatures.
    int
    Gets the width that the signature image should be scaled to, preserving the aspect ratio.
    Gets the tax amount.
    Gets the name of the target payment terminal.
    int
    Gets the request timeout in seconds.
    Gets the tip amount.
    Gets the payment token to be used for this transaction.
    Gets track 1 magnetic stripe data.
    Gets track 2 magnetic stripe data.
    Gets the ID of the previous transaction being referenced.
    Gets a user-assigned reference that can be used to recall or reverse transactions.
    boolean
    Gets defers the response to the transaction and returns immediately.
    boolean
    Gets that the transaction reference was autogenerated and should be ignored for the purposes of duplicate detection.
    boolean
    Gets that cash back should be enabled for supported cards.
    boolean
    Gets a flag that applies a discount to negate the surcharge for debit transactions or other surcharge ineligible payment methods.
    boolean
    Gets whether or not signature prompt should be skipped on the terminal.
    boolean
    Gets that the payment method should be added to the token vault alongside the authorization.
    boolean
    Gets override any in-progress transactions.
    boolean
    Gets that the payment entry method is a manual keyed transaction.
    boolean
    Gets that the terminal should request a tip from the user before starting the transaction.
    boolean
    Gets adds the transaction to the queue and returns immediately.
    boolean
    Gets forces the terminal cloud connection to be reset while a transactions is in flight.
    boolean
    Gets a flag to add a surcharge to the transaction to cover credit card fees, if permitted.
    boolean
    Gets that the request is tax exempt.
    boolean
    Gets whether or not to route transaction to the test gateway.
    boolean
    Gets whether or not the request should block until all cards have been removed from the card reader.
    void
    Sets the cardholder address for use with address verification.
    void
    Sets a map of alternate currencies and the price in each currency.
    void
    Sets the requested amount.
    void
    setAsync(boolean value)
    Sets defers the response to the transaction and returns immediately.
    void
    setAutogeneratedRef(boolean value)
    Sets that the transaction reference was autogenerated and should be ignored for the purposes of duplicate detection.
    void
    Sets the cardholder name.
    void
    Sets designates categories of cards: credit, debit, EBT.
    void
    setCashBackEnabled(boolean value)
    Sets that cash back should be enabled for supported cards.
    void
    setCashDiscount(boolean value)
    Sets a flag that applies a discount to negate the surcharge for debit transactions or other surcharge ineligible payment methods.
    void
    Sets that the transaction should be a cryptocurrency transaction.
    void
    Sets an optional parameter that can be used to force a crypto transaction onto a level one or level two network.
    void
    Sets can be used to specify a specific receive address for a crypto transaction.
    void
    Sets the transaction currency code.
    void
    Sets customer information.
    void
    setCvv(String value)
    Sets the card CVV for use with PAN based transactions.
    void
    Sets a narrative description of the transaction.
    void
    Sets the settlement account for merchants with split settlements.
    void
    setDisableSignature(boolean value)
    Sets whether or not signature prompt should be skipped on the terminal.
    void
    setEnroll(boolean value)
    Sets that the payment method should be added to the token vault alongside the authorization.
    void
    Sets the card expiration month for use with PAN based transactions.
    void
    Sets the card expiration year for use with PAN based transactions.
    void
    setForce(boolean value)
    Sets override any in-progress transactions.
    void
    Sets details for HSA/FSA transactions.
    void
    setKsn(String value)
    Sets the key serial number used for DUKPT encryption.
    void
    setManualEntry(boolean value)
    Sets that the payment entry method is a manual keyed transaction.
    void
    Sets used to validate online gift card authorizations.
    void
    Sets an identifier from an external point of sale system.
    void
    setPan(String value)
    Sets the primary account number.
    void
    Sets can optionally add a label to the payment request if the target cryptocurrency supports labels.
    void
    Sets can optionally add a message to the payment request if the target cryptocurrency supports labels.
    void
    Sets designates brands of payment methods: Visa, Discover, etc.
    void
    Sets the encrypted pin block.
    void
    Sets the cardholder postal code for use with address verification.
    void
    setPromptForTip(boolean value)
    Sets that the terminal should request a tip from the user before starting the transaction.
    void
    setQueue(boolean value)
    Sets adds the transaction to the queue and returns immediately.
    void
    setResetConnection(boolean value)
    Sets forces the terminal cloud connection to be reset while a transactions is in flight.
    void
    Sets how partial pennies should be rounded for calculated values like surcharges.
    void
    Sets the ACH routing number for ACH transactions.
    void
    Sets a location on the filesystem which a customer signature should be written to.
    void
    Sets the image format to be used for returning signatures.
    void
    setSigWidth(int value)
    Sets the width that the signature image should be scaled to, preserving the aspect ratio.
    void
    setSurcharge(boolean value)
    Sets a flag to add a surcharge to the transaction to cover credit card fees, if permitted.
    void
    Sets the tax amount.
    void
    setTaxExempt(boolean value)
    Sets that the request is tax exempt.
    void
    Sets the name of the target payment terminal.
    void
    setTest(boolean value)
    Sets whether or not to route transaction to the test gateway.
    void
    setTimeout(int value)
    Sets the request timeout in seconds.
    void
    Sets the tip amount.
    void
    Sets the payment token to be used for this transaction.
    void
    Sets track 1 magnetic stripe data.
    void
    Sets track 2 magnetic stripe data.
    void
    Sets the ID of the previous transaction being referenced.
    void
    Sets a user-assigned reference that can be used to recall or reverse transactions.
    void
    setWaitForRemovedCard(boolean value)
    Sets whether or not the request should block until all cards have been removed from the card reader.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AuthorizationRequest

      public AuthorizationRequest()
  • Method Details

    • setTimeout

      public void setTimeout(int value)
      Sets the request timeout in seconds.
      Parameters:
      value - the request timeout in seconds.
    • getTimeout

      public int getTimeout()
      Gets the request timeout in seconds.
      Specified by:
      getTimeout in interface ITimeoutRequest
      Returns:
      the request timeout in seconds.
    • setTest

      public void setTest(boolean value)
      Sets whether or not to route transaction to the test gateway.
      Parameters:
      value - whether or not to route transaction to the test gateway.
    • isTest

      public boolean isTest()
      Gets whether or not to route transaction to the test gateway.
      Specified by:
      isTest in interface ITimeoutRequest
      Returns:
      whether or not to route transaction to the test gateway.
    • setTransactionRef

      public void setTransactionRef(String value)
      Sets a user-assigned reference that can be used to recall or reverse transactions.
      Parameters:
      value - a user-assigned reference that can be used to recall or reverse transactions.
    • getTransactionRef

      public String getTransactionRef()
      Gets a user-assigned reference that can be used to recall or reverse transactions.
      Specified by:
      getTransactionRef in interface ICoreRequest
      Returns:
      a user-assigned reference that can be used to recall or reverse transactions.
    • setAutogeneratedRef

      public void setAutogeneratedRef(boolean value)
      Sets that the transaction reference was autogenerated and should be ignored for the purposes of duplicate detection.
      Parameters:
      value - that the transaction reference was autogenerated and should be ignored for the purposes of duplicate detection.
    • isAutogeneratedRef

      public boolean isAutogeneratedRef()
      Gets that the transaction reference was autogenerated and should be ignored for the purposes of duplicate detection.
      Specified by:
      isAutogeneratedRef in interface ICoreRequest
      Returns:
      that the transaction reference was autogenerated and should be ignored for the purposes of duplicate detection.
    • setAsync

      public void setAsync(boolean value)
      Sets defers the response to the transaction and returns immediately.
      Parameters:
      value - defers the response to the transaction and returns immediately. Callers should retrive the transaction result using the Transaction Status API.
    • isAsync

      public boolean isAsync()
      Gets defers the response to the transaction and returns immediately.
      Specified by:
      isAsync in interface ICoreRequest
      Returns:
      defers the response to the transaction and returns immediately. Callers should retrive the transaction result using the Transaction Status API.
    • setQueue

      public void setQueue(boolean value)
      Sets adds the transaction to the queue and returns immediately.
      Parameters:
      value - adds the transaction to the queue and returns immediately. Callers should retrive the transaction result using the Transaction Status API.
    • isQueue

      public boolean isQueue()
      Gets adds the transaction to the queue and returns immediately.
      Specified by:
      isQueue in interface ICoreRequest
      Returns:
      adds the transaction to the queue and returns immediately. Callers should retrive the transaction result using the Transaction Status API.
    • setWaitForRemovedCard

      public void setWaitForRemovedCard(boolean value)
      Sets whether or not the request should block until all cards have been removed from the card reader.
      Parameters:
      value - whether or not the request should block until all cards have been removed from the card reader.
    • isWaitForRemovedCard

      public boolean isWaitForRemovedCard()
      Gets whether or not the request should block until all cards have been removed from the card reader.
      Specified by:
      isWaitForRemovedCard in interface ICoreRequest
      Returns:
      whether or not the request should block until all cards have been removed from the card reader.
    • setForce

      public void setForce(boolean value)
      Sets override any in-progress transactions.
      Parameters:
      value - override any in-progress transactions.
    • isForce

      public boolean isForce()
      Gets override any in-progress transactions.
      Specified by:
      isForce in interface ICoreRequest
      Returns:
      override any in-progress transactions.
    • setOrderRef

      public void setOrderRef(String value)
      Sets an identifier from an external point of sale system.
      Parameters:
      value - an identifier from an external point of sale system.
    • getOrderRef

      public String getOrderRef()
      Gets an identifier from an external point of sale system.
      Specified by:
      getOrderRef in interface ICoreRequest
      Returns:
      an identifier from an external point of sale system.
    • setDestinationAccount

      public void setDestinationAccount(String value)
      Sets the settlement account for merchants with split settlements.
      Parameters:
      value - the settlement account for merchants with split settlements.
    • getDestinationAccount

      public String getDestinationAccount()
      Gets the settlement account for merchants with split settlements.
      Specified by:
      getDestinationAccount in interface ICoreRequest
      Returns:
      the settlement account for merchants with split settlements.
    • setToken

      public void setToken(String value)
      Sets the payment token to be used for this transaction.
      Parameters:
      value - the payment token to be used for this transaction. This should be used for recurring transactions.
    • getToken

      public String getToken()
      Gets the payment token to be used for this transaction.
      Specified by:
      getToken in interface IPaymentMethod
      Returns:
      the payment token to be used for this transaction. This should be used for recurring transactions.
    • setTrack1

      public void setTrack1(String value)
      Sets track 1 magnetic stripe data.
      Parameters:
      value - track 1 magnetic stripe data.
    • getTrack1

      public String getTrack1()
      Gets track 1 magnetic stripe data.
      Specified by:
      getTrack1 in interface IPaymentMethod
      Returns:
      track 1 magnetic stripe data.
    • setTrack2

      public void setTrack2(String value)
      Sets track 2 magnetic stripe data.
      Parameters:
      value - track 2 magnetic stripe data.
    • getTrack2

      public String getTrack2()
      Gets track 2 magnetic stripe data.
      Specified by:
      getTrack2 in interface IPaymentMethod
      Returns:
      track 2 magnetic stripe data.
    • setPan

      public void setPan(String value)
      Sets the primary account number.
      Parameters:
      value - the primary account number. We recommend using the terminal or e-commerce tokenization libraries instead of passing account numbers in directly, as this would put your application in PCI scope.
    • getPan

      public String getPan()
      Gets the primary account number.
      Specified by:
      getPan in interface IPaymentMethod
      Returns:
      the primary account number. We recommend using the terminal or e-commerce tokenization libraries instead of passing account numbers in directly, as this would put your application in PCI scope.
    • setRoutingNumber

      public void setRoutingNumber(String value)
      Sets the ACH routing number for ACH transactions.
      Parameters:
      value - the ACH routing number for ACH transactions.
    • getRoutingNumber

      public String getRoutingNumber()
      Gets the ACH routing number for ACH transactions.
      Specified by:
      getRoutingNumber in interface IPaymentMethod
      Returns:
      the ACH routing number for ACH transactions.
    • setCardholderName

      public void setCardholderName(String value)
      Sets the cardholder name.
      Parameters:
      value - the cardholder name. Only required if the request includes a primary account number or track data.
    • getCardholderName

      public String getCardholderName()
      Gets the cardholder name.
      Specified by:
      getCardholderName in interface IPaymentMethod
      Returns:
      the cardholder name. Only required if the request includes a primary account number or track data.
    • setExpMonth

      public void setExpMonth(String value)
      Sets the card expiration month for use with PAN based transactions.
      Parameters:
      value - the card expiration month for use with PAN based transactions.
    • getExpMonth

      public String getExpMonth()
      Gets the card expiration month for use with PAN based transactions.
      Specified by:
      getExpMonth in interface IPaymentMethod
      Returns:
      the card expiration month for use with PAN based transactions.
    • setExpYear

      public void setExpYear(String value)
      Sets the card expiration year for use with PAN based transactions.
      Parameters:
      value - the card expiration year for use with PAN based transactions.
    • getExpYear

      public String getExpYear()
      Gets the card expiration year for use with PAN based transactions.
      Specified by:
      getExpYear in interface IPaymentMethod
      Returns:
      the card expiration year for use with PAN based transactions.
    • setCvv

      public void setCvv(String value)
      Sets the card CVV for use with PAN based transactions.
      Parameters:
      value - the card CVV for use with PAN based transactions.
    • getCvv

      public String getCvv()
      Gets the card CVV for use with PAN based transactions.
      Specified by:
      getCvv in interface IPaymentMethod
      Returns:
      the card CVV for use with PAN based transactions.
    • setAddress

      public void setAddress(String value)
      Sets the cardholder address for use with address verification.
      Parameters:
      value - the cardholder address for use with address verification.
    • getAddress

      public String getAddress()
      Gets the cardholder address for use with address verification.
      Specified by:
      getAddress in interface IPaymentMethod
      Returns:
      the cardholder address for use with address verification.
    • setPostalCode

      public void setPostalCode(String value)
      Sets the cardholder postal code for use with address verification.
      Parameters:
      value - the cardholder postal code for use with address verification.
    • getPostalCode

      public String getPostalCode()
      Gets the cardholder postal code for use with address verification.
      Specified by:
      getPostalCode in interface IPaymentMethod
      Returns:
      the cardholder postal code for use with address verification.
    • setManualEntry

      public void setManualEntry(boolean value)
      Sets that the payment entry method is a manual keyed transaction.
      Parameters:
      value - that the payment entry method is a manual keyed transaction. If this is true, no other payment method will be accepted.
    • isManualEntry

      public boolean isManualEntry()
      Gets that the payment entry method is a manual keyed transaction.
      Specified by:
      isManualEntry in interface IPaymentMethod
      Returns:
      that the payment entry method is a manual keyed transaction. If this is true, no other payment method will be accepted.
    • setKsn

      public void setKsn(String value)
      Sets the key serial number used for DUKPT encryption.
      Parameters:
      value - the key serial number used for DUKPT encryption.
    • getKsn

      public String getKsn()
      Gets the key serial number used for DUKPT encryption.
      Specified by:
      getKsn in interface IPaymentMethod
      Returns:
      the key serial number used for DUKPT encryption.
    • setPinBlock

      public void setPinBlock(String value)
      Sets the encrypted pin block.
      Parameters:
      value - the encrypted pin block.
    • getPinBlock

      public String getPinBlock()
      Gets the encrypted pin block.
      Specified by:
      getPinBlock in interface IPaymentMethod
      Returns:
      the encrypted pin block.
    • setCardType

      public void setCardType(CardType value)
      Sets designates categories of cards: credit, debit, EBT.
      Parameters:
      value - designates categories of cards: credit, debit, EBT.
    • getCardType

      public CardType getCardType()
      Gets designates categories of cards: credit, debit, EBT.
      Specified by:
      getCardType in interface IPaymentMethod
      Returns:
      designates categories of cards: credit, debit, EBT.
    • setPaymentType

      public void setPaymentType(String value)
      Sets designates brands of payment methods: Visa, Discover, etc.
      Parameters:
      value - designates brands of payment methods: Visa, Discover, etc.
    • getPaymentType

      public String getPaymentType()
      Gets designates brands of payment methods: Visa, Discover, etc.
      Specified by:
      getPaymentType in interface IPaymentMethod
      Returns:
      designates brands of payment methods: Visa, Discover, etc.
    • setTransactionId

      public void setTransactionId(String value)
      Sets the ID of the previous transaction being referenced.
      Parameters:
      value - the ID of the previous transaction being referenced.
    • getTransactionId

      public String getTransactionId()
      Gets the ID of the previous transaction being referenced.
      Specified by:
      getTransactionId in interface IPreviousTransaction
      Returns:
      the ID of the previous transaction being referenced.
    • setCurrencyCode

      public void setCurrencyCode(String value)
      Sets the transaction currency code.
      Parameters:
      value - the transaction currency code.
    • getCurrencyCode

      public String getCurrencyCode()
      Gets the transaction currency code.
      Specified by:
      getCurrencyCode in interface IRequestAmount
      Returns:
      the transaction currency code.
    • setAmount

      public void setAmount(String value)
      Sets the requested amount.
      Parameters:
      value - the requested amount.
    • getAmount

      public String getAmount()
      Gets the requested amount.
      Specified by:
      getAmount in interface IRequestAmount
      Returns:
      the requested amount.
    • setTaxExempt

      public void setTaxExempt(boolean value)
      Sets that the request is tax exempt.
      Parameters:
      value - that the request is tax exempt. Only required for tax exempt level 2 processing.
    • isTaxExempt

      public boolean isTaxExempt()
      Gets that the request is tax exempt.
      Specified by:
      isTaxExempt in interface IRequestAmount
      Returns:
      that the request is tax exempt. Only required for tax exempt level 2 processing.
    • setSurcharge

      public void setSurcharge(boolean value)
      Sets a flag to add a surcharge to the transaction to cover credit card fees, if permitted.
      Parameters:
      value - a flag to add a surcharge to the transaction to cover credit card fees, if permitted.
    • isSurcharge

      public boolean isSurcharge()
      Gets a flag to add a surcharge to the transaction to cover credit card fees, if permitted.
      Specified by:
      isSurcharge in interface IRequestAmount
      Returns:
      a flag to add a surcharge to the transaction to cover credit card fees, if permitted.
    • setCashDiscount

      public void setCashDiscount(boolean value)
      Sets a flag that applies a discount to negate the surcharge for debit transactions or other surcharge ineligible payment methods.
      Parameters:
      value - a flag that applies a discount to negate the surcharge for debit transactions or other surcharge ineligible payment methods.
    • isCashDiscount

      public boolean isCashDiscount()
      Gets a flag that applies a discount to negate the surcharge for debit transactions or other surcharge ineligible payment methods.
      Specified by:
      isCashDiscount in interface IRequestAmount
      Returns:
      a flag that applies a discount to negate the surcharge for debit transactions or other surcharge ineligible payment methods.
    • setSigFile

      public void setSigFile(String value)
      Sets a location on the filesystem which a customer signature should be written to.
      Parameters:
      value - a location on the filesystem which a customer signature should be written to.
    • getSigFile

      public String getSigFile()
      Gets a location on the filesystem which a customer signature should be written to.
      Specified by:
      getSigFile in interface ISignatureRequest
      Returns:
      a location on the filesystem which a customer signature should be written to.
    • setSigFormat

      public void setSigFormat(SignatureFormat value)
      Sets the image format to be used for returning signatures.
      Parameters:
      value - the image format to be used for returning signatures.
    • getSigFormat

      public SignatureFormat getSigFormat()
      Gets the image format to be used for returning signatures.
      Specified by:
      getSigFormat in interface ISignatureRequest
      Returns:
      the image format to be used for returning signatures.
    • setSigWidth

      public void setSigWidth(int value)
      Sets the width that the signature image should be scaled to, preserving the aspect ratio.
      Parameters:
      value - the width that the signature image should be scaled to, preserving the aspect ratio. If not provided, the signature is returned in the terminal's max resolution.
    • getSigWidth

      public int getSigWidth()
      Gets the width that the signature image should be scaled to, preserving the aspect ratio.
      Specified by:
      getSigWidth in interface ISignatureRequest
      Returns:
      the width that the signature image should be scaled to, preserving the aspect ratio. If not provided, the signature is returned in the terminal's max resolution.
    • setDisableSignature

      public void setDisableSignature(boolean value)
      Sets whether or not signature prompt should be skipped on the terminal.
      Parameters:
      value - whether or not signature prompt should be skipped on the terminal. The terminal will indicate whether or not a signature is required by the card in the receipt suggestions response.
    • isDisableSignature

      public boolean isDisableSignature()
      Gets whether or not signature prompt should be skipped on the terminal.
      Specified by:
      isDisableSignature in interface ISignatureRequest
      Returns:
      whether or not signature prompt should be skipped on the terminal. The terminal will indicate whether or not a signature is required by the card in the receipt suggestions response.
    • setTipAmount

      public void setTipAmount(String value)
      Sets the tip amount.
      Parameters:
      value - the tip amount.
    • getTipAmount

      public String getTipAmount()
      Gets the tip amount.
      Specified by:
      getTipAmount in interface ISubtotals
      Returns:
      the tip amount.
    • setTaxAmount

      public void setTaxAmount(String value)
      Sets the tax amount.
      Parameters:
      value - the tax amount.
    • getTaxAmount

      public String getTaxAmount()
      Gets the tax amount.
      Specified by:
      getTaxAmount in interface ISubtotals
      Returns:
      the tax amount.
    • setTerminalName

      public void setTerminalName(String value)
      Sets the name of the target payment terminal.
      Parameters:
      value - the name of the target payment terminal.
    • getTerminalName

      public String getTerminalName()
      Gets the name of the target payment terminal.
      Specified by:
      getTerminalName in interface ITerminalReference
      Returns:
      the name of the target payment terminal.
    • setResetConnection

      public void setResetConnection(boolean value)
      Sets forces the terminal cloud connection to be reset while a transactions is in flight.
      Parameters:
      value - forces the terminal cloud connection to be reset while a transactions is in flight. This is a diagnostic settings that can be used only for test transactions.
    • isResetConnection

      public boolean isResetConnection()
      Gets forces the terminal cloud connection to be reset while a transactions is in flight.
      Specified by:
      isResetConnection in interface ITerminalReference
      Returns:
      forces the terminal cloud connection to be reset while a transactions is in flight. This is a diagnostic settings that can be used only for test transactions.
    • setOnlineAuthCode

      public void setOnlineAuthCode(String value)
      Sets used to validate online gift card authorizations.
      Parameters:
      value - used to validate online gift card authorizations.
    • getOnlineAuthCode

      public String getOnlineAuthCode()
      Gets used to validate online gift card authorizations.
      Returns:
      used to validate online gift card authorizations.
    • setEnroll

      public void setEnroll(boolean value)
      Sets that the payment method should be added to the token vault alongside the authorization.
      Parameters:
      value - that the payment method should be added to the token vault alongside the authorization.
    • isEnroll

      public boolean isEnroll()
      Gets that the payment method should be added to the token vault alongside the authorization.
      Returns:
      that the payment method should be added to the token vault alongside the authorization.
    • setDescription

      public void setDescription(String value)
      Sets a narrative description of the transaction.
      Parameters:
      value - a narrative description of the transaction.
    • getDescription

      public String getDescription()
      Gets a narrative description of the transaction.
      Returns:
      a narrative description of the transaction.
    • setPromptForTip

      public void setPromptForTip(boolean value)
      Sets that the terminal should request a tip from the user before starting the transaction.
      Parameters:
      value - that the terminal should request a tip from the user before starting the transaction.
    • isPromptForTip

      public boolean isPromptForTip()
      Gets that the terminal should request a tip from the user before starting the transaction.
      Returns:
      that the terminal should request a tip from the user before starting the transaction.
    • setCashBackEnabled

      public void setCashBackEnabled(boolean value)
      Sets that cash back should be enabled for supported cards.
      Parameters:
      value - that cash back should be enabled for supported cards.
    • isCashBackEnabled

      public boolean isCashBackEnabled()
      Gets that cash back should be enabled for supported cards.
      Returns:
      that cash back should be enabled for supported cards.
    • setAltPrices

      public void setAltPrices(Map value)
      Sets a map of alternate currencies and the price in each currency.
      Parameters:
      value - a map of alternate currencies and the price in each currency. Use only if you want to set your own exchange rate for a crypto transaction.
    • getAltPrices

      public Map getAltPrices()
      Gets a map of alternate currencies and the price in each currency.
      Returns:
      a map of alternate currencies and the price in each currency. Use only if you want to set your own exchange rate for a crypto transaction.
    • setCustomer

      public void setCustomer(Customer value)
      Sets customer information.
      Parameters:
      value - customer information.
    • getCustomer

      public Customer getCustomer()
      Gets customer information.
      Returns:
      customer information.
    • setRoundingMode

      public void setRoundingMode(RoundingMode value)
      Sets how partial pennies should be rounded for calculated values like surcharges.
      Parameters:
      value - how partial pennies should be rounded for calculated values like surcharges. Rounding up is the default behavior.
    • getRoundingMode

      public RoundingMode getRoundingMode()
      Gets how partial pennies should be rounded for calculated values like surcharges.
      Returns:
      how partial pennies should be rounded for calculated values like surcharges. Rounding up is the default behavior.
    • setHealthcare

      public void setHealthcare(Healthcare value)
      Sets details for HSA/FSA transactions.
      Parameters:
      value - details for HSA/FSA transactions.
    • getHealthcare

      public Healthcare getHealthcare()
      Gets details for HSA/FSA transactions.
      Returns:
      details for HSA/FSA transactions.
    • setCryptocurrency

      public void setCryptocurrency(String value)
      Sets that the transaction should be a cryptocurrency transaction.
      Parameters:
      value - that the transaction should be a cryptocurrency transaction. Value should be a crypto currency code (ETH, BTC) or ANY to prompt the user to choose from supported cryptocurrencies.
    • getCryptocurrency

      public String getCryptocurrency()
      Gets that the transaction should be a cryptocurrency transaction.
      Returns:
      that the transaction should be a cryptocurrency transaction. Value should be a crypto currency code (ETH, BTC) or ANY to prompt the user to choose from supported cryptocurrencies.
    • setCryptoNetwork

      public void setCryptoNetwork(String value)
      Sets an optional parameter that can be used to force a crypto transaction onto a level one or level two network.
      Parameters:
      value - an optional parameter that can be used to force a crypto transaction onto a level one or level two network. Valid values are L1 and L2. Defaults to L1.
    • getCryptoNetwork

      public String getCryptoNetwork()
      Gets an optional parameter that can be used to force a crypto transaction onto a level one or level two network.
      Returns:
      an optional parameter that can be used to force a crypto transaction onto a level one or level two network. Valid values are L1 and L2. Defaults to L1.
    • setCryptoReceiveAddress

      public void setCryptoReceiveAddress(String value)
      Sets can be used to specify a specific receive address for a crypto transaction.
      Parameters:
      value - can be used to specify a specific receive address for a crypto transaction. Disabled by default. This should only be used by sophisticated users with access to properly configured hot wallets.
    • getCryptoReceiveAddress

      public String getCryptoReceiveAddress()
      Gets can be used to specify a specific receive address for a crypto transaction.
      Returns:
      can be used to specify a specific receive address for a crypto transaction. Disabled by default. This should only be used by sophisticated users with access to properly configured hot wallets.
    • setPaymentRequestLabel

      public void setPaymentRequestLabel(String value)
      Sets can optionally add a label to the payment request if the target cryptocurrency supports labels.
      Parameters:
      value - can optionally add a label to the payment request if the target cryptocurrency supports labels. Defaults to the merchant's DBA Name.
    • getPaymentRequestLabel

      public String getPaymentRequestLabel()
      Gets can optionally add a label to the payment request if the target cryptocurrency supports labels.
      Returns:
      can optionally add a label to the payment request if the target cryptocurrency supports labels. Defaults to the merchant's DBA Name.
    • setPaymentRequestMessage

      public void setPaymentRequestMessage(String value)
      Sets can optionally add a message to the payment request if the target cryptocurrency supports labels.
      Parameters:
      value - can optionally add a message to the payment request if the target cryptocurrency supports labels. Defaults to empty.
    • getPaymentRequestMessage

      public String getPaymentRequestMessage()
      Gets can optionally add a message to the payment request if the target cryptocurrency supports labels.
      Returns:
      can optionally add a message to the payment request if the target cryptocurrency supports labels. Defaults to empty.