Difference between revisions of "ProductOrder class"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "{{CGscriptClass_Template |Name=ProductOrder |Description=Details about a line item |Methods= {{CGscriptMethods_Template|ReturnType=Empty|Name=Split|Parameters= {{CGscriptParam...")
(No difference)

Revision as of 11:37, 5 October 2015

ProductOrder



Details about a line item


Methods

  • Empty Split(number amountProcessed "The Amount number that the current object will retain.") - Split this line item into multiple line items, where each can be set as delivered on its own.
  • string ToString() - The string representation of the object.

Properties

  • number Amount { get; } - How many items of this product option did the buyer purchase.
  • bool Delivered { get; set; } - Get/Set delivered already.
  • DateTime DeliveryDate { get; } - Get the date and time of delivering the product option.
  • string Name { get; } - Name of the product option.
  • string ObjectTypeName { get; } - The name of the type of object.
  • number ProductGiftPoints { get; } - How many gift points did buying this give.
  • string ProductName { get; } - Name of the product.
  • string ProductNumber { get; } - ProductNumber of the product option.
  • TypeInformation TypeInformation { get; } - Get information about this class.
  • number UnitPoints { get; } - What was the price of each item in points.