Class CheckoutOrderResponse


  • public class CheckoutOrderResponse
    extends Object
    CheckoutOrderResponse
    • Constructor Detail

      • CheckoutOrderResponse

        public CheckoutOrderResponse()
    • Method Detail

      • getAmount

        public Amount getAmount()
        Get amount
        Returns:
        amount
      • setAmount

        public void setAmount​(Amount amount)
        amount
        Parameters:
        amount -
      • getExpiresAt

        public String getExpiresAt()
        The expiry date for the order.
        Returns:
        expiresAt
      • setExpiresAt

        public void setExpiresAt​(String expiresAt)
        The expiry date for the order.
        Parameters:
        expiresAt -
      • getOrderData

        public String getOrderData()
        The encrypted order data.
        Returns:
        orderData
      • setOrderData

        public void setOrderData​(String orderData)
        The encrypted order data.
        Parameters:
        orderData -
      • getPspReference

        public String getPspReference()
        The `pspReference` that belongs to the order.
        Returns:
        pspReference
      • setPspReference

        public void setPspReference​(String pspReference)
        The `pspReference` that belongs to the order.
        Parameters:
        pspReference -
      • getReference

        public String getReference()
        The merchant reference for the order.
        Returns:
        reference
      • setReference

        public void setReference​(String reference)
        The merchant reference for the order.
        Parameters:
        reference -
      • getRemainingAmount

        public Amount getRemainingAmount()
        Get remainingAmount
        Returns:
        remainingAmount
      • setRemainingAmount

        public void setRemainingAmount​(Amount remainingAmount)
        remainingAmount
        Parameters:
        remainingAmount -
      • equals

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

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

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

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