Class Promotion
Promotion information for a subscription.
Inherited Members
Namespace: Oci.TenantmanagercontrolplaneService.Models
Assembly: OCI.DotNetSDK.Tenantmanagercontrolplane.dll
Syntax
public class Promotion
Properties
Amount
Declaration
[JsonProperty(PropertyName = "amount")]
public float? Amount { get; set; }
Property Value
Type | Description |
---|---|
float? | If a subscription is present, indicates the total amount of promotional subscription credits. |
CurrencyUnit
Declaration
[JsonProperty(PropertyName = "currencyUnit")]
public string CurrencyUnit { get; set; }
Property Value
Type | Description |
---|---|
string | Currency unit associated with the promotion. |
Duration
Declaration
[JsonProperty(PropertyName = "duration")]
public int? Duration { get; set; }
Property Value
Type | Description |
---|---|
int? | Specifies how long the promotion related to the subscription, if any, is valid in duration units. |
DurationUnit
Declaration
[JsonProperty(PropertyName = "durationUnit")]
public string DurationUnit { get; set; }
Property Value
Type | Description |
---|---|
string | Unit for the duration. |
IsIntentToPay
Declaration
[JsonProperty(PropertyName = "isIntentToPay")]
public bool? IsIntentToPay { get; set; }
Property Value
Type | Description |
---|---|
bool? | Speficies whether or not the customer intends to pay after the promotion has expired. |
Status
Declaration
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Promotion.StatusEnum? Status { get; set; }
Property Value
Type | Description |
---|---|
Promotion.StatusEnum? | If a subscription is present, indicates the current status of the subscription promotion. |
TimeExpired
Declaration
[JsonProperty(PropertyName = "timeExpired")]
public DateTime? TimeExpired { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Date and time when the promotion ends. |
TimeStarted
Declaration
[JsonProperty(PropertyName = "timeStarted")]
public DateTime? TimeStarted { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Date and time when the promotion starts. |