OfferOperations Class

Implements

public class OfferOperations extends BasePartnerComponent<Tuple<String,String>> implements IOffer

Single offer operations implementation.

Constructor Summary

Constructor Description
OfferOperations(IPartner rootPartnerOperations, String offerId, String country)

Initializes a new instance of the OfferOperations class.

Method Summary

Modifier and Type Method and Description
Offer get()

Retrieves the offer details.

IOfferAddOns getAddOns()

Gets the operations for the current offer's add-ons.

Inherited Members

BasePartnerComponent<TContext>.getContext() BasePartnerComponent<TContext>.getPartner() java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

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

get

public Offer get()

Retrieves the offer details.

Returns:

The offer details.

getAddOns

public IOfferAddOns getAddOns()

Gets the operations for the current offer's add-ons.

Applies to