C# Class Klarna.Checkout.Order

The order resource.
Inheritance: IResource
Afficher le fichier Open project: klarna/kco_dotnet Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

Fetch() public méthode

Fetches order data.
public Fetch ( ) : void
Résultat void

GetValue() public méthode

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

Marshal() public méthode

Basic representation of the resource.
public Marshal ( ) : object>.Dictionary
Résultat object>.Dictionary

Order() public méthode

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

Order() public méthode

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. ///
Résultat System

Parse() public méthode

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

Update() public méthode

Updates order data.
public Update ( object>.Dictionary data ) : void
data object>.Dictionary
Résultat void