|
Essential Kit
|
Represents options for purchasing a IBillingProduct. More...
Classes | |
| class | Builder |
| Builder class for BuyProductOptions. More... | |
Properties | |
| static BuyProductOptions | Default = new BuyProductOptions() [get] |
| Gets the default BuyProductOptions instance. | |
| string | Tag = null [get] |
| Gets or sets a custom tag to be passed along with the purchase request. | |
| int | Quantity = 1 [get] |
| Gets or sets the quantity to be purchased. | |
| BillingProductOfferRedeemDetails | OfferRedeemDetails = null [get] |
| Gets or sets the offer redeem details for the product offer. | |
| IBillingProduct | ProductToModify [get] |
| Gets the product to upgrade or downgrade from. | |
This class provides a fluent API for setting up options for a purchase request.
The following code demonstrates how to create an instance of BuyProductOptions with offer redeem details:
|
staticget |
Default options have quantity set to 1 and no custom tag associated.
Referenced by BillingServices.BuyProduct().
|
get |
The custom tag associated with the purchase request. Default value is null.
|
get |
The quantity to be purchased. Default value is 1.
Must be greater than 0.
Referenced by BuyProductOptions.Builder.Build().
|
get |
The offer redeem details for the product offer. Default value is null.
Use this property to provide the details necessary for redeeming a product offer.
|
get |
The product to upgrade or downgrade from. Default value is null.