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...")
 
 
Line 1: Line 1:
{{CGscriptClass_Template |Name=ProductOrder |Description=Details about a line item |Methods= {{CGscriptMethods_Template|ReturnType=Empty|Name=Split|Parameters= {{CGscriptParameters_Template|Type=number|Name=amountProcessed|Description=The Amount number that the current object will retain.}} |Description=Split this line item into multiple line items, where each can be set as delivered on its own.}} {{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object.}} |Properties= {{CGscriptProperties_Template|ReturnType=number|Name=Amount|HasGetter=1|Description=How many items of this product option did the buyer purchase.}} {{CGscriptProperties_Template|ReturnType=bool|Name=Delivered|HasGetter=1|HasSetter=1|Description=Get/Set delivered already.}} {{CGscriptProperties_Template|ReturnType=DateTime|Name=DeliveryDate|HasGetter=1|Description=Get the date and time of delivering the product option.}} {{CGscriptProperties_Template|ReturnType=string|Name=Name|HasGetter=1|Description=Name of the product option.}} {{CGscriptProperties_Template|ReturnType=string|Name=ObjectTypeName|HasGetter=1|Description=The name of the type of object.}} {{CGscriptProperties_Template|ReturnType=number|Name=ProductGiftPoints|HasGetter=1|Description=How many gift points did buying this give.}} {{CGscriptProperties_Template|ReturnType=string|Name=ProductName|HasGetter=1|Description=Name of the product.}} {{CGscriptProperties_Template|ReturnType=string|Name=ProductNumber|HasGetter=1|Description=ProductNumber of the product option.}} {{CGscriptProperties_Template|ReturnType=TypeInformation|Name=TypeInformation|HasGetter=1|Description=Get information about this class.}} {{CGscriptProperties_Template|ReturnType=number|Name=UnitPoints|HasGetter=1|Description=What was the price of each item in points.}} }}
+
{{CGscriptClass_Template
 +
|Name=<nowiki>ProductOrder</nowiki>
 +
|Description=<nowiki>Details about a line item</nowiki>
 +
|InheritsFrom=object|Methods=
 +
{{CGscriptMethods_Template|ReturnType=Empty|Name=<nowiki>Split</nowiki>|Parameters=
 +
{{CGscriptParameters_Template|Type=int|Name=<nowiki>amountProcessed</nowiki>|Description=<nowiki>The Amount number that the current object will retain.</nowiki>}}
 +
|Description=<nowiki>Split this line item into multiple line items, where each can be set as delivered on its own.</nowiki>}}
 +
{{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Inherited=object|Description=<nowiki>The string representation of the object.</nowiki>}}
 +
|Properties=
 +
{{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>Amount</nowiki>|HasGetter=1|Description=<nowiki>How many items of this product option did the buyer purchase.</nowiki>}}
 +
{{CGscriptProperties_Template|ReturnType=bool|Name=<nowiki>Delivered</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Get/Set delivered already.</nowiki>}}
 +
{{CGscriptProperties_Template|ReturnType=DateTime|Name=<nowiki>DeliveryDate</nowiki>|HasGetter=1|Description=<nowiki>Get the date and time of delivering the product option.</nowiki>}}
 +
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>Name</nowiki>|HasGetter=1|Description=<nowiki>Name of the product option.</nowiki>}}
 +
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}}
 +
{{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>ProductGiftPoints</nowiki>|HasGetter=1|Description=<nowiki>How many gift points did buying this give.</nowiki>}}
 +
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ProductName</nowiki>|HasGetter=1|Description=<nowiki>Name of the product.</nowiki>}}
 +
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ProductNumber</nowiki>|HasGetter=1|Description=<nowiki>ProductNumber of the product option.</nowiki>}}
 +
{{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>ProductResourceId</nowiki>|HasGetter=1|Description=<nowiki>Resource id of the product.</nowiki>}}
 +
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Inherited=object|Description=<nowiki>Get information about this class.</nowiki>}}
 +
{{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>UnitPoints</nowiki>|HasGetter=1|Description=<nowiki>What was the price of each item in points.</nowiki>}}
 +
{{CGscriptProperties_Template|ReturnType=number|Name=<nowiki>UnitPrice</nowiki>|HasGetter=1|Description=<nowiki>What was the price of each item in currency.</nowiki>}}
 +
}}

Latest revision as of 09:49, 2 July 2020

ProductOrder



Details about a line item

Parent class

Inherits from object

Methods

  • Empty Split(int 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.
  • (From object) string ToString() - The string representation of the object.

Properties

  • int 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.
  • int 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.
  • int ProductResourceId { get; } - Resource id of the product.
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.
  • int UnitPoints { get; } - What was the price of each item in points.
  • number UnitPrice { get; } - What was the price of each item in currency.