public static final class TermOfferInstance.Builder
extends java.lang.Object
TermOfferInstance
.Constructor and Description |
---|
Builder(java.lang.String description,
java.lang.String product,
java.lang.String name,
java.lang.String currency,
java.lang.String region,
long commitmentTerm,
java.lang.String unitPrice,
java.lang.String version,
java.lang.String type)
Constructor with parameters for the required properties of
TermOfferInstance . |
Modifier and Type | Method and Description |
---|---|
TermOfferInstance |
build() |
TermOfferInstance.Builder |
setBillingOptions(java.util.List<TermBillingOptions> billingOptions) |
TermOfferInstance.Builder |
setOfferContextId(java.lang.String offerContextId) |
TermOfferInstance.Builder |
setProductChargeId(java.lang.String productChargeId) |
TermOfferInstance.Builder |
setProductId(java.lang.String productId) |
TermOfferInstance.Builder |
setProductType(java.lang.String productType)
Deprecated.
|
public Builder(java.lang.String description, java.lang.String product, java.lang.String name, java.lang.String currency, java.lang.String region, long commitmentTerm, java.lang.String unitPrice, java.lang.String version, java.lang.String type)
TermOfferInstance
.public TermOfferInstance.Builder setProductType(java.lang.String productType)
productType
- New value for the property.public TermOfferInstance.Builder setBillingOptions(java.util.List<TermBillingOptions> billingOptions)
billingOptions
- New value for the property.public TermOfferInstance.Builder setOfferContextId(java.lang.String offerContextId)
offerContextId
- New value for the property.public TermOfferInstance.Builder setProductChargeId(java.lang.String productChargeId)
productChargeId
- New value for the property.public TermOfferInstance.Builder setProductId(java.lang.String productId)
productId
- New value for the property.public TermOfferInstance build()