Class Order

java.lang.Object
com.onlinepayments.domain.Order

public class Order extends Object
  • Constructor Details

    • Order

      public Order()
  • Method Details

    • getAdditionalInput

      public AdditionalOrderInput getAdditionalInput()
      Object containing additional input on the order
    • setAdditionalInput

      public void setAdditionalInput(AdditionalOrderInput value)
      Object containing additional input on the order
    • withAdditionalInput

      public Order withAdditionalInput(AdditionalOrderInput value)
      Object containing additional input on the order
    • getAmountOfMoney

      public AmountOfMoney getAmountOfMoney()
      Object containing amount and ISO currency code attributes
    • setAmountOfMoney

      public void setAmountOfMoney(AmountOfMoney value)
      Object containing amount and ISO currency code attributes
    • withAmountOfMoney

      public Order withAmountOfMoney(AmountOfMoney value)
      Object containing amount and ISO currency code attributes
    • getCustomer

      public Customer getCustomer()
      Object containing the details of the customer
    • setCustomer

      public void setCustomer(Customer value)
      Object containing the details of the customer
    • withCustomer

      public Order withCustomer(Customer value)
      Object containing the details of the customer
    • getDiscount

      public Discount getDiscount()
      Object to apply a discount to the total basket by adding a discount line.
    • setDiscount

      public void setDiscount(Discount value)
      Object to apply a discount to the total basket by adding a discount line.
    • withDiscount

      public Order withDiscount(Discount value)
      Object to apply a discount to the total basket by adding a discount line.
    • getReferences

      public OrderReferences getReferences()
      Object that holds all reference properties that are linked to this transaction
    • setReferences

      public void setReferences(OrderReferences value)
      Object that holds all reference properties that are linked to this transaction
    • withReferences

      public Order withReferences(OrderReferences value)
      Object that holds all reference properties that are linked to this transaction
    • getShipping

      public Shipping getShipping()
      Object containing information regarding shipping / delivery
    • setShipping

      public void setShipping(Shipping value)
      Object containing information regarding shipping / delivery
    • withShipping

      public Order withShipping(Shipping value)
      Object containing information regarding shipping / delivery
    • getShoppingCart

      public ShoppingCart getShoppingCart()
      Shopping cart data, including items and specific amounts.
    • setShoppingCart

      public void setShoppingCart(ShoppingCart value)
      Shopping cart data, including items and specific amounts.
    • withShoppingCart

      public Order withShoppingCart(ShoppingCart value)
      Shopping cart data, including items and specific amounts.
    • getSurchargeSpecificInput

      public SurchargeSpecificInput getSurchargeSpecificInput()
      Object containing specific input required to apply surcharging to an order.
    • setSurchargeSpecificInput

      public void setSurchargeSpecificInput(SurchargeSpecificInput value)
      Object containing specific input required to apply surcharging to an order.
    • withSurchargeSpecificInput

      public Order withSurchargeSpecificInput(SurchargeSpecificInput value)
      Object containing specific input required to apply surcharging to an order.