Class CheckoutQrCodeAction


  • public class CheckoutQrCodeAction
    extends Object
    CheckoutQrCodeAction
    • Constructor Detail

      • CheckoutQrCodeAction

        public CheckoutQrCodeAction()
    • Method Detail

      • expiresAt

        public CheckoutQrCodeAction expiresAt​(String expiresAt)
        Expiry time of the QR code.
        Parameters:
        expiresAt -
        Returns:
        the current CheckoutQrCodeAction instance, allowing for method chaining
      • getExpiresAt

        public String getExpiresAt()
        Expiry time of the QR code.
        Returns:
        expiresAt
      • setExpiresAt

        public void setExpiresAt​(String expiresAt)
        Expiry time of the QR code.
        Parameters:
        expiresAt -
      • paymentData

        public CheckoutQrCodeAction paymentData​(String paymentData)
        Encoded payment data.
        Parameters:
        paymentData -
        Returns:
        the current CheckoutQrCodeAction instance, allowing for method chaining
      • getPaymentData

        public String getPaymentData()
        Encoded payment data.
        Returns:
        paymentData
      • setPaymentData

        public void setPaymentData​(String paymentData)
        Encoded payment data.
        Parameters:
        paymentData -
      • paymentMethodType

        public CheckoutQrCodeAction paymentMethodType​(String paymentMethodType)
        Specifies the payment method.
        Parameters:
        paymentMethodType -
        Returns:
        the current CheckoutQrCodeAction instance, allowing for method chaining
      • getPaymentMethodType

        public String getPaymentMethodType()
        Specifies the payment method.
        Returns:
        paymentMethodType
      • setPaymentMethodType

        public void setPaymentMethodType​(String paymentMethodType)
        Specifies the payment method.
        Parameters:
        paymentMethodType -
      • qrCodeData

        public CheckoutQrCodeAction qrCodeData​(String qrCodeData)
        The contents of the QR code as a UTF8 string.
        Parameters:
        qrCodeData -
        Returns:
        the current CheckoutQrCodeAction instance, allowing for method chaining
      • getQrCodeData

        public String getQrCodeData()
        The contents of the QR code as a UTF8 string.
        Returns:
        qrCodeData
      • setQrCodeData

        public void setQrCodeData​(String qrCodeData)
        The contents of the QR code as a UTF8 string.
        Parameters:
        qrCodeData -
      • url

        public CheckoutQrCodeAction url​(String url)
        Specifies the URL to redirect to.
        Parameters:
        url -
        Returns:
        the current CheckoutQrCodeAction instance, allowing for method chaining
      • getUrl

        public String getUrl()
        Specifies the URL to redirect to.
        Returns:
        url
      • setUrl

        public void setUrl​(String url)
        Specifies the URL to redirect to.
        Parameters:
        url -
      • equals

        public boolean equals​(Object o)
        Return true if this CheckoutQrCodeAction object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static CheckoutQrCodeAction fromJson​(String jsonString)
                                             throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of CheckoutQrCodeAction given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of CheckoutQrCodeAction
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to CheckoutQrCodeAction
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of CheckoutQrCodeAction to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException