Class PaymentRequest<T extends PaymentRequest<T>>

java.lang.Object
com.pensio.api.request.PaymentRequest<T>
Direct Known Subclasses:
CardWalletAuthorizeRequest, CardWalletSessionRequest, CreateCheckoutSessionRequest, CreateInvoiceReservationRequest, PaymentReservationRequest

public class PaymentRequest<T extends PaymentRequest<T>> extends Object
  • Field Details

    • shopOrderId

      protected String shopOrderId
    • terminal

      protected String terminal
    • authType

      protected AuthType authType
    • language

      protected String language
    • creditCardToken

      protected String creditCardToken
    • amount

      protected Amount amount
    • shippingMethod

      protected String shippingMethod
    • customerCreateAt

      protected Date customerCreateAt
    • config

      protected PaymentRequestConfig config
    • customerInfo

      protected CustomerInfo customerInfo
    • recipientInfo

      protected CustomerInfo recipientInfo
    • agreementType

      @Deprecated protected AgreementType agreementType
      Deprecated.
      agreementType is deprecated, please use AgreementConfig instead.
    • agreementConfig

      protected AgreementConfig agreementConfig
  • Constructor Details

    • PaymentRequest

      public PaymentRequest()
    • PaymentRequest

      public PaymentRequest(String shopOrderId, String terminal, Amount amount)
  • Method Details

    • getShopOrderId

      public String getShopOrderId()
    • setShopOrderId

      public T setShopOrderId(String shopOrderId)
    • getTerminal

      public String getTerminal()
    • setTerminal

      public T setTerminal(String terminal)
    • getAuthType

      public AuthType getAuthType()
    • setAuthType

      public T setAuthType(AuthType authType)
    • getLanguage

      public String getLanguage()
    • setLanguage

      public T setLanguage(String language)
    • getCreditCardToken

      public String getCreditCardToken()
    • setCreditCardToken

      public T setCreditCardToken(String creditCardToken)
    • getAmount

      public Amount getAmount()
    • setAmount

      public T setAmount(Amount amount)
    • getCookie

      public String getCookie()
    • setCookie

      public T setCookie(String cookie)
    • getShippingMethod

      public String getShippingMethod()
    • setShippingMethod

      public T setShippingMethod(String shippingMethod)
    • getCustomerCreateAt

      public Date getCustomerCreateAt()
    • setCustomerCreateAt

      public T setCustomerCreateAt(Date customerCreateAt)
    • getConfig

      public PaymentRequestConfig getConfig()
    • setConfig

      public T setConfig(PaymentRequestConfig config)
    • getCustomerInfo

      public CustomerInfo getCustomerInfo()
    • setCustomerInfo

      public T setCustomerInfo(CustomerInfo customerInfo)
    • getRecipientInfo

      public CustomerInfo getRecipientInfo()
    • setRecipientInfo

      public T setRecipientInfo(CustomerInfo recipientInfo)
    • getPaymentInfos

      public PaymentInfos getPaymentInfos()
    • getAcquirerTransactionData

      public AcquirerTransactionData getAcquirerTransactionData()
    • addPaymentInfo

      public T addPaymentInfo(String key, String value)
    • getUsePayPass

      public boolean getUsePayPass()
    • setUsePayPass

      public T setUsePayPass(boolean usePayPass)
    • getGiftCardToken

      public String getGiftCardToken()
    • setGiftCardToken

      public T setGiftCardToken(String giftCardToken)
    • getDynamicDescriptor

      public String getDynamicDescriptor()
    • setDynamicDescriptor

      public T setDynamicDescriptor(String dynamicDescriptor)
    • getSessionId

      public String getSessionId()
    • setSessionId

      public T setSessionId(String sessionId)
    • getOrderLines

      public List<OrderLine> getOrderLines()
    • setOrderLines

      public T setOrderLines(List<OrderLine> orderLines)
    • getAgreementType

      @Deprecated public AgreementType getAgreementType()
      Deprecated.
      getAgreementType() is deprecated, please use getAgreementConfig() instead
    • setAgreementType

      @Deprecated public T setAgreementType(AgreementType agreementType)
      Deprecated.
      setAgreementType() is deprecated, please use setAgreementConfig(AgreementConfig) instead
    • getAgreementConfig

      public AgreementConfig getAgreementConfig()
    • setAgreementConfig

      public T setAgreementConfig(AgreementConfig agreementConfig)