OrderProps
Properties for defining a Order.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-marketplace-order
Initializer
import com.aliyun.ros.cdk.marketplace.OrderProps;
OrderProps.builder()
.productCode(java.lang.String)
.productCode(IResolvable)
.skuCode(java.lang.String)
.skuCode(IResolvable)
// .chargeType(java.lang.String)
// .chargeType(IResolvable)
// .duration(java.lang.Number)
// .duration(IResolvable)
// .preference(IResolvable)
// .preference(java.util.Map<java.lang.String, java.lang.Object>)
// .pricingCycle(java.lang.String)
// .pricingCycle(IResolvable)
// .quantity(java.lang.Number)
// .quantity(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
productCode | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property productCode: Product code for the resource. |
skuCode | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property skuCode: Sku code for the resource. |
chargeType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property chargeType: The resource charge type. |
duration | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property duration: Duration of the resource. |
preference | com.aliyun.ros.cdk.core.IResolvable OR java.util.Map | Property preference: Customized parameters. |
pricingCycle | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property pricingCycle: Price cycle of the resource. |
quantity | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property quantity: Resource number. |
productCodeRequired
public java.lang.Object getProductCode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property productCode: Product code for the resource.
skuCodeRequired
public java.lang.Object getSkuCode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property skuCode: Sku code for the resource.
chargeTypeOptional
public java.lang.Object getChargeType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property chargeType: The resource charge type.
Default value is Prepaid
durationOptional
public java.lang.Object getDuration();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property duration: Duration of the resource.
If ChargeType is specified as Postpaid, this value will be ignore.
preferenceOptional
public java.lang.Object getPreference();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
Property preference: Customized parameters.
pricingCycleOptional
public java.lang.Object getPricingCycle();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property pricingCycle: Price cycle of the resource.
This property has no default value. If ChargeType is specified as Postpaid, this value will be ignore.
quantityOptional
public java.lang.Object getQuantity();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property quantity: Resource number.
Default value is 1