C# Class Klarna.Checkout.Order

The order resource.
Inheritance: IResource
Datei anzeigen Open project: klarna/kco_dotnet Class Usage Examples

Public Methods

Method Description
Create ( object>.Dictionary data ) : void

Creates a new order, using the uri in BaseUri.

Fetch ( ) : void

Fetches order data.

GetValue ( string key ) : object

Gets the value of a key.

Marshal ( ) : object>.Dictionary

Basic representation of the resource.

Order ( IConnector connector ) : System

Initializes a new instance of the Order class.

Order ( IConnector connector, Uri uri ) : System

Initializes a new instance of the Order class.

Parse ( object>.Dictionary data ) : void

Replace resource with the new data.

Update ( object>.Dictionary data ) : void

Updates order data.

Method Details

Create() public method

Creates a new order, using the uri in BaseUri.
public Create ( object>.Dictionary data ) : void
data object>.Dictionary
return void

Fetch() public method

Fetches order data.
public Fetch ( ) : void
return void

GetValue() public method

Gets the value of a key.
/// key is null. /// /// key does not exist. ///
public GetValue ( string key ) : object
key string /// The key. ///
return object

Marshal() public method

Basic representation of the resource.
public Marshal ( ) : object>.Dictionary
return object>.Dictionary

Order() public method

Initializes a new instance of the Order class.
public Order ( IConnector connector ) : System
connector IConnector /// The connector to use. ///
return System

Order() public method

Initializes a new instance of the Order class.
public Order ( IConnector connector, Uri uri ) : System
connector IConnector /// The connector to use. ///
uri System.Uri /// The uri of the resource. ///
return System

Parse() public method

Replace resource with the new data.
public Parse ( object>.Dictionary data ) : void
data object>.Dictionary /// The data. ///
return void

Update() public method

Updates order data.
public Update ( object>.Dictionary data ) : void
data object>.Dictionary
return void