Class Order

java.lang.Object
com.inttegro.orders.Order

public class Order extends Object
Complete public order projection returned by the API.
  • Field Details

  • Constructor Details

    • Order

      public Order()
  • Method Details

    • isPaid

      public boolean isPaid()
      Whether the order has recorded payment, including after completion.
    • requiresPayment

      public boolean requiresPayment()
      Whether the order is waiting for payment.
    • isTerminal

      public boolean isTerminal()
      Whether the order has reached a final state.
    • requiredPaymentAction

      public PaymentNextAction requiredPaymentAction()
      Nested payment action details, when the order's payment requires action.