Class PurchaseVariablesRequest
A class representing a request containing a reference to a ResourceCatalog resource, and an enumerable of the VariableIds to be purchased.
Inherited Members
Namespace: WhenFresh.Api.Client.Http
Assembly: WhenFresh.Api.Client.dll
Syntax
public class PurchaseVariablesRequest : Request
Constructors
PurchaseVariablesRequest(PostalAddressFileKey)
Initializes a new instance of the PurchaseVariablesRequest class.
Declaration
public PurchaseVariablesRequest(PostalAddressFileKey postalAddressFileKey)
Parameters
Type | Name | Description |
---|---|---|
PostalAddressFileKey | postalAddressFileKey | The PostalAddressFileKey for the PostalAddress Resource whose ResourceCatalog Resource variables are to be purchased |
PurchaseVariablesRequest(ResourceCatalogId)
Initializes a new instance of the PurchaseVariablesRequest class.
Declaration
public PurchaseVariablesRequest(ResourceCatalogId resourceCatalogId)
Parameters
Type | Name | Description |
---|---|---|
ResourceCatalogId | resourceCatalogId | The ResourceCatalogId for the ResourceCatalog Resource from which variables are to be purchased |
Properties
Variables
Enumerable of VariableIds that are to be purchased.
Declaration
public IEnumerable<VariableId> Variables { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<VariableId> |