Show / Hide Table of Contents

Class VirtualCardServiceStore

Merchant Card Service API The Merchant Card Service (MCS) API is used to settle orders with virtual credit cards.

Inheritance
System.Object
BaseRestClient
BaseStore
VirtualCardServiceStore
Inherited Members
BaseStore.ApiControllerUri
BaseRestClient.ApiSession
BaseRestClient.Post(String, Object, IDictionary<String, String>, Ref<HttpResponseMessage>)
BaseRestClient.Post<T>(String, Object, IDictionary<String, String>, Ref<HttpResponseMessage>)
BaseRestClient.Patch(String, Object, IDictionary<String, String>, Ref<HttpResponseMessage>)
BaseRestClient.Delete(String, Object, IDictionary<String, String>, Ref<HttpResponseMessage>)
BaseRestClient.Delete<T>(String, Object, IDictionary<String, String>, Ref<HttpResponseMessage>)
BaseRestClient.Put<T>(String, Object, IDictionary<String, String>, Ref<HttpResponseMessage>)
BaseRestClient.Put(String, Object, IDictionary<String, String>, Ref<HttpResponseMessage>)
BaseRestClient.Get<T>(String, IDictionary<String, String>, Ref<HttpResponseMessage>)
BaseRestClient.Get(String, IDictionary<String, String>, Ref<HttpResponseMessage>)
BaseRestClient.GetStream(String)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Klarna.Rest.Core.Store
Assembly: Klarna.Rest.Core.dll
Syntax
public class VirtualCardServiceStore : BaseStore

Methods

| Improve this Doc View Source

CreateSettlement(VirtualCardCreateSettlementRequest)

Creates a new settlement To create a settlement resource provide a completed order identifier and (optionally) a promise identifier.

Declaration
public Task<VirtualCardSettlement> CreateSettlement(VirtualCardCreateSettlementRequest request)
Parameters
Type Name Description
VirtualCardCreateSettlementRequest request

The VirtualCardCreateSettlementRequest object

Returns
Type Description
System.Threading.Tasks.Task<VirtualCardSettlement>

A single VirtualCardSettlement object

| Improve this Doc View Source

GetSettlement(String, String)

Retrieves an existing settlement To read the settlement resource provide the settlement identifier.

Declaration
public Task<VirtualCardSettlement> GetSettlement(string settlementId, string keyId)
Parameters
Type Name Description
System.String settlementId

Unique settlement identifier.

System.String keyId

Unique identifier for the public key used for encryption of the card data

Returns
Type Description
System.Threading.Tasks.Task<VirtualCardSettlement>

A single VirtualCardSettlement object

| Improve this Doc View Source

GetSettlementForOrder(String, String)

Retrieves a settled order's settlement To read the order's settlement resource provide the order identifier.

Declaration
public Task<VirtualCardSettlement> GetSettlementForOrder(string orderId, string keyId)
Parameters
Type Name Description
System.String orderId

Unique identifier for the order associated to the settlement.

System.String keyId

Unique identifier for the public key used for encryption of the card data.

Returns
Type Description
System.Threading.Tasks.Task<VirtualCardSettlement>

A single VirtualCardSettlement object

  • Improve this Doc
  • View Source
Back to top Copyright (c) 2005-2019 Klarna Bank AB (publ). All rights reserved.