Class CustomerSkuOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<TripletTuple<String,String,String>>
com.microsoft.store.partnercenter.customers.products.CustomerSkuOperations
- All Implemented Interfaces:
IEntityGetOperations<Sku>,IPartnerComponent<TripletTuple<String,String,String>>,ISku
public class CustomerSkuOperations extends BasePartnerComponent<TripletTuple<String,String,String>> implements ISku
Implements operations for a single customer SKU.
-
Constructor Summary
Constructors Constructor Description CustomerSkuOperations(IPartner rootPartnerOperations, String customerId, String productId, String skuId)Initializes a new instance of the CustomerSkuOperations 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
-
CustomerSkuOperations
public CustomerSkuOperations(IPartner rootPartnerOperations, String customerId, String productId, String skuId)Initializes a new instance of the CustomerSkuOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.customerId- The customer id for which to retrieve the SKU.productId- The product id for which to retrieve its SKU.skuId- Identifier for the SKU.
-
-
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.
-