Class Order


public class Order
extends ResourceBaseWithLinks<StandardResourceLinks>
Order represents collection of information needed to purchase offers represented by each order line items.
  • Constructor Details

  • Method Details

    • getBillingCycle

      public BillingCycleType getBillingCycle()
      Gets the type of billing cycle for the selected offers.
      Returns:
      The type of billing cycle for the selected offers.
    • setBillingCycle

      public void setBillingCycle​(BillingCycleType value)
      Sets the type of billing cycle for the selected offers.
      Parameters:
      value - The type of billing cycle for the selected offers.
    • getCreationDate

      public org.joda.time.DateTime getCreationDate()
      Gets the creation date of the order.
      Returns:
      The creation date of the order.
    • setCreationDate

      public void setCreationDate​(org.joda.time.DateTime value)
      Sets the creation date of the order.
      Parameters:
      value - The creation date of the order.
    • getCurrencyCode

      public String getCurrencyCode()
      Gets the currency code.
      Returns:
      The currency code for the order.
    • setCurrencyCode

      public void setCurrencyCode​(String value)
      Sets the currency code.
      Parameters:
      value - The currency code for the order.
    • getCurrencySymbol

      public String getCurrencySymbol()
      Gets the currency symbol.
      Returns:
      The currency symbol.
    • setCurrencySymbol

      public void setCurrencySymbol​(String value)
      Sets the currency symbol.
      Parameters:
      value - The currency symbol.
    • getId

      public String getId()
      Gets the order identifier.
      Returns:
      The order identifier.
    • setId

      public void setId​(String value)
      Sets the order identifier.
      Parameters:
      value - The order identifier.
    • getLineItems

      public Iterable<OrderLineItem> getLineItems()
      Gets the order line items. Each order line item refers to one offer purchase data.
      Returns:
      The order line items. Each order line item refers to one offer purchase data.
    • setLineItems

      public void setLineItems​(Iterable<OrderLineItem> value)
      Sets the order line items. Each order line item refers to one offer purchase data.
      Parameters:
      value - The order line items. Each order line item refers to one offer purchase data.
    • getLinks

      public OrderLinks getLinks()
      Gets the links corresponding to the order.
      Overrides:
      getLinks in class ResourceBaseWithLinks<StandardResourceLinks>
      Returns:
      The links corresponding to the order.
    • setLinks

      public void setLinks​(OrderLinks value)
      Sets the links corresponding to the order.
      Parameters:
      value - The links corresponding to the order.
    • getReferenceCustomerId

      public String getReferenceCustomerId()
      Gets the reference customer identifier.
      Returns:
      The reference customer identifier.
    • setReferenceCustomerId

      public void setReferenceCustomerId​(String value)
      Sets the reference customer identifier.
      Parameters:
      value - The reference customer identifier.
    • getStatus

      public String getStatus()
      Gets the status of the order.
      Returns:
      The status of the order.
    • setStatus

      public void setStatus​(String value)
      Sets the status of the order.
      Parameters:
      value - The status of the order.
    • getTotalPrice

      public double getTotalPrice()
      Gets the total price for the order. Order price (will not be returned unless explicitly asked for) Note: this information is PRE-TAX.
      Returns:
      The total price for the order.
    • setsTotalPrice

      public void setsTotalPrice​(double value)
      Sets the total price for the order.
      Parameters:
      value - The total price for the order.
    • getTransactionType

      public String getTransactionType()
      Gets the transaction type for the order.
      Returns:
      The transaction type for the order.
    • setsTransactionType

      public void setsTransactionType​(String value)
      Sets the transaction type for the order.
      Parameters:
      value - The transaction type for the order.