Class SkuOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<TripletTuple<String,String,String>>
com.microsoft.store.partnercenter.products.SkuOperations
- All Implemented Interfaces:
IEntityGetOperations<Sku>,IPartnerComponent<TripletTuple<String,String,String>>,ISku
public class SkuOperations extends BasePartnerComponent<TripletTuple<String,String,String>> implements ISku
Implements a single sku operations.
-
Constructor Summary
Constructors Constructor Description SkuOperations(IPartner rootPartnerOperations, String productId, String skuId, String country)Initializes a new instance of the SkuOperations class. -
Method Summary
Modifier and Type Method Description Skuget()Retrieves the SKU information.IAvailabilityCollectiongetAvailabilities()Retrieves the operations for the current SKU's availabilities.Methods inherited from class com.microsoft.store.partnercenter.BasePartnerComponent
getContext, getPartnerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.store.partnercenter.IPartnerComponent
getContext, getPartner
-
Constructor Details
-
SkuOperations
public SkuOperations(IPartner rootPartnerOperations, String productId, String skuId, String country)Initializes a new instance of the SkuOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.productId- Identifier of the product.skuId- Identifier of the SKU.country- The country on which to base the availability.
-
-
Method Details
-
getAvailabilities
Retrieves the operations for the current SKU's availabilities.- Specified by:
getAvailabilitiesin interfaceISku- Returns:
- The operations for the current SKU's availabilities.
-
get
Retrieves the SKU information.- Specified by:
getin interfaceIEntityGetOperations<Sku>- Specified by:
getin interfaceISku- Returns:
- The SKUs information.
-