• Home
  • My Account
  • Docs
  • Catalog Browser
  • API Status
Show / Hide Table of Contents

Class PurchaseVariablesRequest

A class representing a request containing a reference to a ResourceCatalog resource, and an enumerable of the VariableIds to be purchased.

Inheritance
object
Request
PurchaseVariablesRequest
Inherited Members
Request.Http
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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>