Skip to content

OrderProps

Properties for defining a Order.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-marketplace-order

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkmarketplace"
&alicloudroscdkmarketplace.OrderProps {
    ProductCode: interface{},
    SkuCode: interface{},
    ChargeType: interface{},
    Duration: interface{},
    Preference: interface{},
    PricingCycle: interface{},
    Quantity: interface{},
}

Properties

Name Type Description
ProductCode interface{} Property productCode: Product code for the resource.
SkuCode interface{} Property skuCode: Sku code for the resource.
ChargeType interface{} Property chargeType: The resource charge type.
Duration interface{} Property duration: Duration of the resource.
Preference interface{} Property preference: Customized parameters.
PricingCycle interface{} Property pricingCycle: Price cycle of the resource.
Quantity interface{} Property quantity: Resource number.

ProductCodeRequired

ProductCode interface{}
  • Type: interface{}

Property productCode: Product code for the resource.


SkuCodeRequired

SkuCode interface{}
  • Type: interface{}

Property skuCode: Sku code for the resource.


ChargeTypeOptional

ChargeType interface{}
  • Type: interface{}

Property chargeType: The resource charge type.

Default value is Prepaid


DurationOptional

Duration interface{}
  • Type: interface{}

Property duration: Duration of the resource.

If ChargeType is specified as Postpaid, this value will be ignore.


PreferenceOptional

Preference interface{}
  • Type: interface{}

Property preference: Customized parameters.


PricingCycleOptional

PricingCycle interface{}
  • Type: interface{}

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

Quantity interface{}
  • Type: interface{}

Property quantity: Resource number.

Default value is 1