Skip to content

Commit

Permalink
.NET SDK Resource Provider:'Billing'
Browse files Browse the repository at this point in the history
REST Spec PR 'Azure/azure-rest-api-specs#5962'
REST Spec PR Author 'msft-adrianma'
REST Spec PR Last commit
  • Loading branch information
adxsdknet committed May 16, 2019
1 parent 7e36ae2 commit b84eb56
Showing 1 changed file with 7 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,18 @@ public BillingProfileCreationParameters()
/// <param name="address">Billing address.</param>
/// <param name="invoiceEmailOptIn">If the billing profile is opted in
/// to receive invoices via email.</param>
/// <param name="enableAzureSkuIds">Azure skus to enable for this
/// billing profile.</param>
/// <param name="enableAzureSKUs">Azure skus to enable for this billing
/// profile..</param>
/// <param name="createAzureSubscriptions">Create azure subscriptions
/// when creating this billing profile.</param>
/// <param name="paymentInstrumentId">The paymentInstrument associated
/// with the billing profile at creation.</param>
public BillingProfileCreationParameters(string displayName = default(string), string poNumber = default(string), Address address = default(Address), bool? invoiceEmailOptIn = default(bool?), IList<string> enableAzureSkuIds = default(IList<string>), bool? createAzureSubscriptions = default(bool?), string paymentInstrumentId = default(string))
public BillingProfileCreationParameters(string displayName = default(string), string poNumber = default(string), Address address = default(Address), bool? invoiceEmailOptIn = default(bool?), IList<EnabledAzureSKUs> enableAzureSKUs = default(IList<EnabledAzureSKUs>), bool? createAzureSubscriptions = default(bool?))
{
DisplayName = displayName;
PoNumber = poNumber;
Address = address;
InvoiceEmailOptIn = invoiceEmailOptIn;
EnableAzureSkuIds = enableAzureSkuIds;
EnableAzureSKUs = enableAzureSKUs;
CreateAzureSubscriptions = createAzureSubscriptions;
PaymentInstrumentId = paymentInstrumentId;
CustomInit();
}

Expand Down Expand Up @@ -87,10 +84,10 @@ public BillingProfileCreationParameters()
public bool? InvoiceEmailOptIn { get; set; }

/// <summary>
/// Gets or sets azure skus to enable for this billing profile.
/// Gets or sets azure skus to enable for this billing profile..
/// </summary>
[JsonProperty(PropertyName = "enableAzureSkuIds")]
public IList<string> EnableAzureSkuIds { get; set; }
[JsonProperty(PropertyName = "enableAzureSKUs")]
public IList<EnabledAzureSKUs> EnableAzureSKUs { get; set; }

/// <summary>
/// Gets or sets create azure subscriptions when creating this billing
Expand All @@ -99,12 +96,5 @@ public BillingProfileCreationParameters()
[JsonProperty(PropertyName = "createAzureSubscriptions")]
public bool? CreateAzureSubscriptions { get; set; }

/// <summary>
/// Gets or sets the paymentInstrument associated with the billing
/// profile at creation.
/// </summary>
[JsonProperty(PropertyName = "paymentInstrumentId")]
public string PaymentInstrumentId { get; set; }

}
}

0 comments on commit b84eb56

Please sign in to comment.