/// <summary>
 /// Initializes a new instance of the BillingProfileCreationRequest
 /// class.
 /// </summary>
 /// <param name="displayName">The name of the billing profile.</param>
 /// <param name="poNumber">The purchase order name that will appear on
 /// the invoices generated for the billing profile.</param>
 /// <param name="billTo">The address of the individual or organization
 /// that is responsible for the billing profile.</param>
 /// <param name="invoiceEmailOptIn">Flag controlling whether the
 /// invoices for the billing profile are sent through email.</param>
 /// <param name="enabledAzurePlans">Enabled azure plans for the billing
 /// profile.</param>
 public BillingProfileCreationRequest(string displayName = default(string), string poNumber = default(string), AddressDetails billTo = default(AddressDetails), bool?invoiceEmailOptIn = default(bool?), IList <AzurePlan> enabledAzurePlans = default(IList <AzurePlan>))
 {
     DisplayName       = displayName;
     PoNumber          = poNumber;
     BillTo            = billTo;
     InvoiceEmailOptIn = invoiceEmailOptIn;
     EnabledAzurePlans = enabledAzurePlans;
     CustomInit();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the BillingAccountUpdateRequest
 /// class.
 /// </summary>
 /// <param name="displayName">The billing account name.</param>
 /// <param name="address">The address associated with billing
 /// account.</param>
 /// <param name="agreementType">The type of agreement. Possible values
 /// include: 'MicrosoftCustomerAgreement', 'EnterpriseAgreement',
 /// 'MicrosoftOnlineServicesProgram'</param>
 /// <param name="customerType">The type of customer. Possible values
 /// include: 'Enterprise', 'Individual', 'Partner'</param>
 /// <param name="billingProfiles">The billing profiles associated to
 /// the billing account. By default this is not populated, unless it's
 /// specified in $expand.</param>
 /// <param name="enrollmentDetails">The details about the associated
 /// legacy enrollment. By default this is not populated, unless it's
 /// specified in $expand.</param>
 /// <param name="departments">The departments associated to the
 /// enrollment.</param>
 /// <param name="enrollmentAccounts">The accounts associated to the
 /// enrollment.</param>
 /// <param name="organizationId">Organization id.</param>
 public BillingAccountUpdateRequest(string displayName = default(string), AddressDetails address = default(AddressDetails), string agreementType = default(string), string customerType = default(string), IList <BillingProfile> billingProfiles = default(IList <BillingProfile>), Enrollment enrollmentDetails = default(Enrollment), IList <Department> departments = default(IList <Department>), IList <EnrollmentAccount> enrollmentAccounts = default(IList <EnrollmentAccount>), string organizationId = default(string))
 {
     DisplayName        = displayName;
     Address            = address;
     AgreementType      = agreementType;
     CustomerType       = customerType;
     BillingProfiles    = billingProfiles;
     EnrollmentDetails  = enrollmentDetails;
     Departments        = departments;
     EnrollmentAccounts = enrollmentAccounts;
     OrganizationId     = organizationId;
     CustomInit();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the BillingProfile class.
 /// </summary>
 /// <param name="id">Resource Id.</param>
 /// <param name="name">Resource name.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="displayName">The billing profile name.</param>
 /// <param name="poNumber">Purchase order number.</param>
 /// <param name="address">Billing address.</param>
 /// <param name="invoiceEmailOptIn">If the billing profile is opted in
 /// to receive invoices via email.</param>
 /// <param name="invoiceDay">Invoice day.</param>
 /// <param name="currency">The currency associated with the billing
 /// profile.</param>
 /// <param name="enabledAzurePlans">Information about the enabled azure
 /// plans.</param>
 /// <param name="invoiceSections">The invoice sections associated to
 /// the billing profile.</param>
 public BillingProfile(string id = default(string), string name = default(string), string type = default(string), string displayName = default(string), string poNumber = default(string), AddressDetails address = default(AddressDetails), bool?invoiceEmailOptIn = default(bool?), int?invoiceDay = default(int?), string currency = default(string), IList <AzurePlan> enabledAzurePlans = default(IList <AzurePlan>), IList <InvoiceSection> invoiceSections = default(IList <InvoiceSection>))
     : base(id, name, type)
 {
     DisplayName       = displayName;
     PoNumber          = poNumber;
     Address           = address;
     InvoiceEmailOptIn = invoiceEmailOptIn;
     InvoiceDay        = invoiceDay;
     Currency          = currency;
     EnabledAzurePlans = enabledAzurePlans;
     InvoiceSections   = invoiceSections;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the BillingAccountUpdateRequest
 /// class.
 /// </summary>
 /// <param name="displayName">The billing account name.</param>
 /// <param name="soldTo">The address of the individual or organization
 /// that is responsible for the billing account.</param>
 /// <param name="agreementType">The type of agreement. Possible values
 /// include: 'MicrosoftCustomerAgreement', 'EnterpriseAgreement',
 /// 'MicrosoftOnlineServicesProgram',
 /// 'MicrosoftPartnerAgreement'</param>
 /// <param name="accountType">The type of customer. Possible values
 /// include: 'Enterprise', 'Individual', 'Partner'</param>
 /// <param name="accountStatus">The current status of the billing
 /// account. Possible values include: 'Active', 'Deleted', 'Disabled',
 /// 'Expired', 'Transferred', 'Extended', 'Terminated'</param>
 /// <param name="billingProfiles">The billing profiles associated with
 /// the billing account. By default this is not populated, unless it's
 /// specified in $expand.</param>
 /// <param name="enrollmentDetails">The details about the associated
 /// legacy enrollment. By default this is not populated, unless it's
 /// specified in $expand.</param>
 /// <param name="departments">The departments associated to the
 /// enrollment.</param>
 /// <param name="enrollmentAccounts">The accounts associated to the
 /// enrollment.</param>
 /// <param name="hasReadAccess">Indicates whether user has read access
 /// to the billing account.</param>
 public BillingAccountUpdateRequest(string displayName = default(string), AddressDetails soldTo = default(AddressDetails), string agreementType = default(string), string accountType = default(string), string accountStatus = default(string), BillingProfilesOnExpand billingProfiles = default(BillingProfilesOnExpand), Enrollment enrollmentDetails = default(Enrollment), IList <Department> departments = default(IList <Department>), IList <EnrollmentAccount> enrollmentAccounts = default(IList <EnrollmentAccount>), bool?hasReadAccess = default(bool?))
 {
     DisplayName        = displayName;
     SoldTo             = soldTo;
     AgreementType      = agreementType;
     AccountType        = accountType;
     AccountStatus      = accountStatus;
     BillingProfiles    = billingProfiles;
     EnrollmentDetails  = enrollmentDetails;
     Departments        = departments;
     EnrollmentAccounts = enrollmentAccounts;
     HasReadAccess      = hasReadAccess;
     CustomInit();
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the BillingProfile class.
 /// </summary>
 /// <param name="id">Resource Id.</param>
 /// <param name="name">Resource name.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="displayName">The name of the billing profile.</param>
 /// <param name="poNumber">The purchase order name that will appear on
 /// the invoices generated for the billing profile.</param>
 /// <param name="billTo">Billing address.</param>
 /// <param name="invoiceEmailOptIn">Flag controlling whether the
 /// invoices for the billing profile are sent through email.</param>
 /// <param name="invoiceDay">The day of the month when the invoice for
 /// the billing profile is generated.</param>
 /// <param name="currency">The currency in which the charges for the
 /// billing profile are billed.</param>
 /// <param name="enabledAzurePlans">Information about the enabled azure
 /// plans.</param>
 /// <param name="invoiceSections">The invoice sections associated to
 /// the billing profile. By default this is not populated, unless it's
 /// specified in $expand.</param>
 /// <param name="hasReadAccess">Indicates whether user has read access
 /// to the billing profile.</param>
 /// <param name="systemId">The system generated unique identifier for a
 /// billing profile.</param>
 /// <param name="status">The status of the billing profile. Possible
 /// values include: 'Active', 'Disabled', 'Warned'</param>
 /// <param name="statusReasonCode">Reason for the specified billing
 /// profile status. Possible values include: 'PastDue',
 /// 'SpendingLimitReached', 'SpendingLimitExpired'</param>
 /// <param name="spendingLimit">The billing profile spending limit.
 /// Possible values include: 'Off', 'On'</param>
 public BillingProfile(string id = default(string), string name = default(string), string type = default(string), string displayName = default(string), string poNumber = default(string), AddressDetails billTo = default(AddressDetails), bool?invoiceEmailOptIn = default(bool?), int?invoiceDay = default(int?), string currency = default(string), IList <AzurePlan> enabledAzurePlans = default(IList <AzurePlan>), InvoiceSectionsOnExpand invoiceSections = default(InvoiceSectionsOnExpand), bool?hasReadAccess = default(bool?), string systemId = default(string), string status = default(string), string statusReasonCode = default(string), string spendingLimit = default(string))
     : base(id, name, type)
 {
     DisplayName       = displayName;
     PoNumber          = poNumber;
     BillTo            = billTo;
     InvoiceEmailOptIn = invoiceEmailOptIn;
     InvoiceDay        = invoiceDay;
     Currency          = currency;
     EnabledAzurePlans = enabledAzurePlans;
     InvoiceSections   = invoiceSections;
     HasReadAccess     = hasReadAccess;
     SystemId          = systemId;
     Status            = status;
     StatusReasonCode  = statusReasonCode;
     SpendingLimit     = spendingLimit;
     CustomInit();
 }