LicenseSpring Management .Net SDK 1.9.0
Easily add Software Licensing to your application
LicenseSpring.Order Class Reference

Class that holds information about custom data field. More...

Inheritance diagram for LicenseSpring.Order:
LicenseSpring.IOrder

Public Member Functions

 Order ()
 Order default constructor
 
 Order (Customer customer)
 Order constructor where you can provide customer More...
 
 Order (string storeID, Customer customer=null)
 Order constructor where you can provide your custom order ID More...
 

Properties

string CampaignParams [get, set]
 e.g.Google campaign params for the order. More...
 
uint Company [get]
 Id of the company that issued the license More...
 
DateTime CreatedAt [get]
 The time when the order was created. More...
 
Customer Customer [get, set]
 Order customer More...
 
string DownloadID [get, set]
 Used for FastSpring integration.Ignore for other use cases. More...
 
ulong Id [get]
 Id of the order More...
 
bool IsTest [get, set]
 Indicate whether order is test or not. More...
 
bool IsTrial [get, set]
 Indicates if items in this order will have licenses that allow trial period. Can be overridden in each individual license. More...
 
string Language [get, set]
 Language used in the order. More...
 
bool PreventVM [get, set]
 Prevent using virtual machine More...
 
bool ShouldAppend [get, set]
 Append order items to existing order More...
 
string StoreId [get, set]
 A client order id that can be manually set in platform or through the SDK. Not to be confused with order id that the server generates. More...
 
string Type [get, set]
 Order type. Only valid Order type is NORMAL. More...
 
DateTime UpdatedAt [get]
 Date of the last order updation More...
 
- Properties inherited from LicenseSpring.IOrder
string CampaignParams [get, set]
 e.g.Google campaign params for the order. More...
 
uint Company [get]
 Id of the company that issued the license More...
 
System.DateTime CreatedAt [get]
 The time when the order was created. More...
 
Customer Customer [get, set]
 Order customer More...
 
string DownloadID [get, set]
 Used for FastSpring integration.Ignore for other use cases. More...
 
ulong Id [get]
 Id of the order More...
 
bool IsTest [get, set]
 Indicate whether order is test or not. More...
 
bool IsTrial [get, set]
 Indicates if items in this order will have licenses that allow trial period. Can be overridden in each individual license. More...
 
string Language [get, set]
 Language used in the order. More...
 
bool PreventVM [get, set]
 Prevent using virtual machine More...
 
bool ShouldAppend [get, set]
 Append order items to existing order More...
 
string StoreId [get, set]
 A client order id that can be manually set in platform or through the SDK. Not to be confused with order id that the server generates. More...
 
string Type [get, set]
 Order type. Only valid Order type is NORMAL. More...
 
System.DateTime UpdatedAt [get]
 Date of the last order updation More...
 

Detailed Description

Class that holds information about custom data field.

See ILicense.CustomFields

Constructor & Destructor Documentation

◆ Order() [1/2]

LicenseSpring.Order.Order ( string  storeID,
Customer  customer = null 
)

Order constructor where you can provide your custom order ID

ShouldAppend property will be set to true

Parameters
storeIDOrder identifier
customerOrder customer

◆ Order() [2/2]

LicenseSpring.Order.Order ( Customer  customer)

Order constructor where you can provide customer

Parameters
customerOrder customer

Property Documentation

◆ CampaignParams

string LicenseSpring.Order.CampaignParams
getset

e.g.Google campaign params for the order.

Implements LicenseSpring.IOrder.

◆ Company

uint LicenseSpring.Order.Company
get

Id of the company that issued the license

Implements LicenseSpring.IOrder.

◆ CreatedAt

DateTime LicenseSpring.Order.CreatedAt
get

The time when the order was created.

Implements LicenseSpring.IOrder.

◆ Customer

Customer LicenseSpring.Order.Customer
getset

Order customer

Implements LicenseSpring.IOrder.

◆ DownloadID

string LicenseSpring.Order.DownloadID
getset

Used for FastSpring integration.Ignore for other use cases.

Implements LicenseSpring.IOrder.

◆ Id

ulong LicenseSpring.Order.Id
get

Id of the order

Implements LicenseSpring.IOrder.

◆ IsTest

bool LicenseSpring.Order.IsTest
getset

Indicate whether order is test or not.

Implements LicenseSpring.IOrder.

◆ IsTrial

bool LicenseSpring.Order.IsTrial
getset

Indicates if items in this order will have licenses that allow trial period. Can be overridden in each individual license.

Implements LicenseSpring.IOrder.

◆ Language

string LicenseSpring.Order.Language
getset

Language used in the order.

Implements LicenseSpring.IOrder.

◆ PreventVM

bool LicenseSpring.Order.PreventVM
getset

Prevent using virtual machine

Implements LicenseSpring.IOrder.

◆ ShouldAppend

bool LicenseSpring.Order.ShouldAppend
getset

Append order items to existing order

Implements LicenseSpring.IOrder.

◆ StoreId

string LicenseSpring.Order.StoreId
getset

A client order id that can be manually set in platform or through the SDK. Not to be confused with order id that the server generates.

Implements LicenseSpring.IOrder.

◆ Type

string LicenseSpring.Order.Type
getset

Order type. Only valid Order type is NORMAL.

Implements LicenseSpring.IOrder.

◆ UpdatedAt

DateTime LicenseSpring.Order.UpdatedAt
get

Date of the last order updation

Implements LicenseSpring.IOrder.


The documentation for this class was generated from the following file: