Class PaypalUpdateOrderResponse


  • public class PaypalUpdateOrderResponse
    extends Object
    PaypalUpdateOrderResponse
    • Constructor Detail

      • PaypalUpdateOrderResponse

        public PaypalUpdateOrderResponse()
    • Method Detail

      • getPaymentData

        public String getPaymentData()
        The updated paymentData.
        Returns:
        paymentData
      • setPaymentData

        public void setPaymentData​(String paymentData)
        The updated paymentData.
        Parameters:
        paymentData -
      • getStatus

        public PaypalUpdateOrderResponse.StatusEnum getStatus()
        The status of the request. This indicates whether the order was successfully updated with PayPal.
        Returns:
        status
      • setStatus

        public void setStatus​(PaypalUpdateOrderResponse.StatusEnum status)
        The status of the request. This indicates whether the order was successfully updated with PayPal.
        Parameters:
        status -
      • equals

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

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

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

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