Class TransactionRequest

    • Constructor Detail

      • TransactionRequest

        public TransactionRequest()
        Create transaction request.
      • TransactionRequest

        public TransactionRequest​(TransactionRequest request)
        Create copy of transaction request.
    • Method Detail

      • getUserId

        public Long getUserId()
        ECR user identifier.
      • setUserId

        public void setUserId​(Long userId)
        Set ECR user identifier.
      • getAmount

        public Amount getAmount()
        Transaction amount and currency.
      • setAmount

        public void setAmount​(Amount amount)
        Set transaction amount and currency.
      • getTransactionData

        public TransactionData getTransactionData()
        Transaction information.
      • setTransactionData

        public void setTransactionData​(TransactionData transactionData)
        Set transaction information.
      • getMerchantOptions

        public List<MerchantOption> getMerchantOptions()
        Additional merchant options.
      • setMerchantOptions

        public void setMerchantOptions​(List<MerchantOption> merchantOptions)
        Set additional merchant options.
      • getAdditionalInfo

        public Map<Long,​String> getAdditionalInfo()
        Additional information list.
      • setAdditionalInfo

        public void setAdditionalInfo​(Map<Long,​String> additionalInfo)
        Set additional information list.
      • getBasket

        public Basket getBasket()
        Petrol: Basket.
      • setBasket

        public void setBasket​(Basket basket)
        Petrol: Set basket.
      • getAmountTip

        public Amount getAmountTip()
        Proposed tip amount. This parameter is only used if Guides.GASTRO is enabled.
      • setAmountTip

        public void setAmountTip​(Amount amountTip)
        Set proposed tip amount. This parameter is only used if Guides.GASTRO is enabled.
      • setAmountOther

        public void setAmountOther​(Amount amountOther)
        Set cashback amount. This parameter is only used if Guides.ADVANCED_RETAIL is enabled.
      • getRetainCard

        public Boolean getRetainCard()
        Retain card.
      • setRetainCard

        public void setRetainCard​(Boolean retainCard)
        Set retain card.
      • getLoyaltyCouponList

        public List<LoyaltyCoupon> getLoyaltyCouponList()
        Loyalty coupon list.
      • setLoyaltyCouponList

        public void setLoyaltyCouponList​(List<LoyaltyCoupon> loyaltyCouponList)
        Set loyalty coupon list.
      • toString

        public String toString()
        String representation for debugging purpose.
        Overrides:
        toString in class Object