Class OfferOperations

java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<Tuple<String,​String>>
com.microsoft.store.partnercenter.offers.OfferOperations
All Implemented Interfaces:
IPartnerComponent<Tuple<String,​String>>, IOffer

public class OfferOperations
extends BasePartnerComponent<Tuple<String,​String>>
implements IOffer
Single offer operations implementation.
  • Constructor Details

    • OfferOperations

      public OfferOperations​(IPartner rootPartnerOperations, String offerId, String country)
      Initializes a new instance of the OfferOperations class.
      Parameters:
      rootPartnerOperations - The root partner operations instance.
      offerId - The offer Id.
      country - The country on which to base the offer.
  • Method Details

    • getAddOns

      public IOfferAddOns getAddOns()
      Gets the operations for the current offer's add-ons.
      Specified by:
      getAddOns in interface IOffer
      Returns:
      The operations for the current offer's add-ons
    • get

      public Offer get()
      Retrieves the offer details.
      Specified by:
      get in interface IOffer
      Returns:
      The offer details.