Shopping_VariationType Class Reference
Inherits from | NSObject |
Conforms to | PicoBindable |
Declared in | Shopping_VariationType.h Shopping_VariationType.m |
Overview
This element hold the values that define the SKU, StartPrice, Quantity, VariationDetails, and VariationSpecifics.
@ingroup ShoppingInterface
Tasks
-
sku
An SKU (stock keeping unit) is an identifier defined by a seller.
property
If you need to contact the seller to ask a question about a
particular variation, you can mention the SKU (if present) to help
the seller identify the variation you’re interested in.
Only returned if the seller chose to specify a SKU for the
variation. -
startPrice
The fixed price of all items identified by this variation.
property
For example, a “Blue, Large” variation price could be USD 10.00,
and a “Black, Medium” variation price could be USD 5.00.
Each variation has its own price, and the prices can
be different for each variation. This enables sellers to
provide discounts on certain variations without affecting the price
of others. Always returned) for multi-variation listings. -
quantity
The number of items available for sale that are associated
property
with this variation. -
variationSpecifics
A list of name/value pairs that uniquely identify the variation
property
within the listing. All variations specify the same set of
names, and each variation provides a unique combination of
values for those names. For example, if the items vary by color and
size, then every variation specifies Color and Size as names,
and no two variations can specify the same combination of
color and size values. Use this information to identify a
variation of interest when you communicate with
the seller.
If your application supports PlaceOffer (in the Trading API),
you use this information to uniquely identify the variation
that you want to purchase. -
quantitySold
Not used. See SellingStatus.QuantitySold instead.
property -
sellingStatus
Contains the variation’s current price and quantity sold.
property
Always returned when variations are present. -
discountPriceInfo
This container provides information for an item that has a Strikethrough Price
property
(STP) or a Minimum Advertised Price (MAP) discount pricing treatment. STP and MAP
applies to only fixed price, BIN items. STP is available on the US, UK, and German
(DE) sites, while MAP is available only on the US site.
Discount pricing is available to qualified sellers (and their associated developers) who
participate in the Discount Pricing Program. Once qualified, sellers receive a
“sepcial account flag” (SAF) that allows them to apply Discount Pricing to both MSKU
and Non-MSKU items. -
any
(public property)
property
Properties
any
(public property)
@property (nonatomic, retain) NSMutableArray *any
Discussion
(public property)
entry type : PicoAnyElement, wrapper for primitive anyelement
Declared In
Shopping_VariationType.h
discountPriceInfo
This container provides information for an item that has a Strikethrough Price
(STP) or a Minimum Advertised Price (MAP) discount pricing treatment. STP and MAP
applies to only fixed price, BIN items. STP is available on the US, UK, and German
(DE) sites, while MAP is available only on the US site.
Discount pricing is available to qualified sellers (and their associated developers) who
participate in the Discount Pricing Program. Once qualified, sellers receive a
“sepcial account flag” (SAF) that allows them to apply Discount Pricing to both MSKU
and Non-MSKU items.
@property (nonatomic, retain) Shopping_DiscountPriceInfoType *discountPriceInfo
Discussion
This container provides information for an item that has a Strikethrough Price
(STP) or a Minimum Advertised Price (MAP) discount pricing treatment. STP and MAP
applies to only fixed price, BIN items. STP is available on the US, UK, and German
(DE) sites, while MAP is available only on the US site.
Discount pricing is available to qualified sellers (and their associated developers) who
participate in the Discount Pricing Program. Once qualified, sellers receive a
“sepcial account flag” (SAF) that allows them to apply Discount Pricing to both MSKU
and Non-MSKU items.
type : class Shopping_DiscountPriceInfoType
Declared In
Shopping_VariationType.h
quantity
The number of items available for sale that are associated
with this variation.
@property (nonatomic, retain) NSNumber *quantity
Discussion
The number of items available for sale that are associated
with this variation.
type : NSNumber, wrapper for primitive int
Declared In
Shopping_VariationType.h
quantitySold
Not used. See SellingStatus.QuantitySold instead.
@property (nonatomic, retain) NSNumber *quantitySold
Discussion
Not used. See SellingStatus.QuantitySold instead.
type : NSNumber, wrapper for primitive int
Declared In
Shopping_VariationType.h
sellingStatus
Contains the variation’s current price and quantity sold.
Always returned when variations are present.
@property (nonatomic, retain) Shopping_SellingStatusType *sellingStatus
Discussion
Contains the variation’s current price and quantity sold.
Always returned when variations are present.
type : class Shopping_SellingStatusType
Declared In
Shopping_VariationType.h
sku
An SKU (stock keeping unit) is an identifier defined by a seller.
If you need to contact the seller to ask a question about a
particular variation, you can mention the SKU (if present) to help
the seller identify the variation you’re interested in.
Only returned if the seller chose to specify a SKU for the
variation.
@property (nonatomic, retain) NSString *sku
Discussion
An SKU (stock keeping unit) is an identifier defined by a seller.
If you need to contact the seller to ask a question about a
particular variation, you can mention the SKU (if present) to help
the seller identify the variation you’re interested in.
Only returned if the seller chose to specify a SKU for the
variation.
type : NSString, wrapper for primitive string
Declared In
Shopping_VariationType.h
startPrice
The fixed price of all items identified by this variation.
For example, a “Blue, Large” variation price could be USD 10.00,
and a “Black, Medium” variation price could be USD 5.00.
Each variation has its own price, and the prices can
be different for each variation. This enables sellers to
provide discounts on certain variations without affecting the price
of others. Always returned) for multi-variation listings.
@property (nonatomic, retain) Shopping_AmountType *startPrice
Discussion
The fixed price of all items identified by this variation.
For example, a “Blue, Large” variation price could be USD 10.00,
and a “Black, Medium” variation price could be USD 5.00.
Each variation has its own price, and the prices can
be different for each variation. This enables sellers to
provide discounts on certain variations without affecting the price
of others. Always returned) for multi-variation listings.
type : class Shopping_AmountType
Declared In
Shopping_VariationType.h
variationSpecifics
A list of name/value pairs that uniquely identify the variation
within the listing. All variations specify the same set of
names, and each variation provides a unique combination of
values for those names. For example, if the items vary by color and
size, then every variation specifies Color and Size as names,
and no two variations can specify the same combination of
color and size values. Use this information to identify a
variation of interest when you communicate with
the seller.
If your application supports PlaceOffer (in the Trading API),
you use this information to uniquely identify the variation
that you want to purchase.
@property (nonatomic, retain) Shopping_NameValueListArrayType *variationSpecifics
Discussion
A list of name/value pairs that uniquely identify the variation
within the listing. All variations specify the same set of
names, and each variation provides a unique combination of
values for those names. For example, if the items vary by color and
size, then every variation specifies Color and Size as names,
and no two variations can specify the same combination of
color and size values. Use this information to identify a
variation of interest when you communicate with
the seller.
If your application supports PlaceOffer (in the Trading API),
you use this information to uniquely identify the variation
that you want to purchase.
type : class Shopping_NameValueListArrayType
Declared In
Shopping_VariationType.h