Class LatitudePayProduct
Represents details of an item purchased via a LatitudePayCreatePosPurchaseRequest.
Inherited Members
Namespace: Yort.LatitudePay.InStore
Assembly: Yort.LatitudePay.InStore.dll
Syntax
public class LatitudePayProduct
Properties
| Improve this Doc View SourceName
Gets or sets the name/description of the product. Required.
Declaration
[JsonProperty("name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String | The name. |
Price
Gets or sets the unit price of the product. Cannot be a negative value.
Declaration
[JsonProperty("price")]
public LatitudePayMoney Price { get; set; }
Property Value
Type | Description |
---|---|
LatitudePayMoney | The price. |
Quantity
Gets or sets the quantity of this item purchased. Must be a positive value greater than zero.
Declaration
[JsonProperty("quantity")]
public int Quantity { get; set; }
Property Value
Type | Description |
---|---|
Int32 | The quantity. |
Sku
Gets or sets the SKU of the item. Optional.
Declaration
[JsonProperty("sku")]
public string Sku { get; set; }
Property Value
Type | Description |
---|---|
String | The sku. |
TaxIncluded
Gets or sets a value indicating whether Price is inclusive of tax.
Declaration
[JsonProperty("taxIncluded")]
public bool TaxIncluded { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|