Class GetHostedCheckoutResponse

java.lang.Object
com.onlinepayments.domain.GetHostedCheckoutResponse

public class GetHostedCheckoutResponse extends Object
  • Constructor Details

    • GetHostedCheckoutResponse

      public GetHostedCheckoutResponse()
  • Method Details

    • getCreatedPaymentOutput

      public CreatedPaymentOutput getCreatedPaymentOutput()
      This object will return the details of the payment after the payment is cancelled by the customer, rejected or authorized
    • setCreatedPaymentOutput

      public void setCreatedPaymentOutput(CreatedPaymentOutput value)
      This object will return the details of the payment after the payment is cancelled by the customer, rejected or authorized
    • withCreatedPaymentOutput

      public GetHostedCheckoutResponse withCreatedPaymentOutput(CreatedPaymentOutput value)
      This object will return the details of the payment after the payment is cancelled by the customer, rejected or authorized
    • getStatus

      public String getStatus()
      This is the status of the hosted checkout. Possible values are:
      • IN_PROGRESS - The checkout is still in progress and has not finished yet
      • PAYMENT_CREATED - A payment has been created
      • CANCELLED_BY_CONSUMER - The HostedCheckout session have been cancelled by the customer
    • setStatus

      public void setStatus(String value)
      This is the status of the hosted checkout. Possible values are:
      • IN_PROGRESS - The checkout is still in progress and has not finished yet
      • PAYMENT_CREATED - A payment has been created
      • CANCELLED_BY_CONSUMER - The HostedCheckout session have been cancelled by the customer
    • withStatus

      public GetHostedCheckoutResponse withStatus(String value)
      This is the status of the hosted checkout. Possible values are:
      • IN_PROGRESS - The checkout is still in progress and has not finished yet
      • PAYMENT_CREATED - A payment has been created
      • CANCELLED_BY_CONSUMER - The HostedCheckout session have been cancelled by the customer