Class LaybuyCredentials
Provides the credentials required to authentication to the Laybuy API.
Inherited Members
Namespace: Yort.Laybuy.InStore
Assembly: Yort.Laybuy.InStore.dll
Syntax
public class LaybuyCredentials
Constructors
| Improve this Doc View SourceLaybuyCredentials(String, String)
Initializes a new instance of the LaybuyCredentials class.
Declaration
public LaybuyCredentials(string merchantId, string apiKey)
Parameters
Type | Name | Description |
---|---|---|
String | merchantId | The merchant identifier. |
String | apiKey | The API key. |
Properties
| Improve this Doc View SourceApiKey
Gets or sets the API key.
Declaration
public string ApiKey { get; }
Property Value
Type | Description |
---|---|
String | The API key. |
Remarks
This is a "secret" value and should be stored securely, and protected from unauthorised access.
MerchantId
Gets or sets the merchant identifier.
Declaration
public string MerchantId { get; }
Property Value
Type | Description |
---|---|
String | The merchant identifier. |