Class PaymentResponse

java.lang.Object
com.onlinepayments.domain.PaymentResponse

public class PaymentResponse extends Object
  • Constructor Details

    • PaymentResponse

      public PaymentResponse()
  • Method Details

    • getHostedCheckoutSpecificOutput

      public HostedCheckoutSpecificOutput getHostedCheckoutSpecificOutput()
      Hosted Checkout specific information. Populated if the payment was created on the platform through a Hosted Checkout.
    • setHostedCheckoutSpecificOutput

      public void setHostedCheckoutSpecificOutput(HostedCheckoutSpecificOutput value)
      Hosted Checkout specific information. Populated if the payment was created on the platform through a Hosted Checkout.
    • withHostedCheckoutSpecificOutput

      public PaymentResponse withHostedCheckoutSpecificOutput(HostedCheckoutSpecificOutput value)
      Hosted Checkout specific information. Populated if the payment was created on the platform through a Hosted Checkout.
    • getId

      public String getId()
      Our unique payment transaction identifier
    • setId

      public void setId(String value)
      Our unique payment transaction identifier
    • withId

      public PaymentResponse withId(String value)
      Our unique payment transaction identifier
    • getPaymentOutput

      public PaymentOutput getPaymentOutput()
      Object containing payment details
    • setPaymentOutput

      public void setPaymentOutput(PaymentOutput value)
      Object containing payment details
    • withPaymentOutput

      public PaymentResponse withPaymentOutput(PaymentOutput value)
      Object containing payment details
    • getStatus

      public String getStatus()
      Current high-level status of the payment in a human-readable form.
    • setStatus

      public void setStatus(String value)
      Current high-level status of the payment in a human-readable form.
    • withStatus

      public PaymentResponse withStatus(String value)
      Current high-level status of the payment in a human-readable form.
    • getStatusOutput

      public PaymentStatusOutput getStatusOutput()
      This object has the numeric representation of the current payment status, timestamp of last status change and performable action on the current payment resource. In case of failed payments and negative scenarios, detailed error information is listed.
    • setStatusOutput

      public void setStatusOutput(PaymentStatusOutput value)
      This object has the numeric representation of the current payment status, timestamp of last status change and performable action on the current payment resource. In case of failed payments and negative scenarios, detailed error information is listed.
    • withStatusOutput

      public PaymentResponse withStatusOutput(PaymentStatusOutput value)
      This object has the numeric representation of the current payment status, timestamp of last status change and performable action on the current payment resource. In case of failed payments and negative scenarios, detailed error information is listed.