Skip to content

Commit

Permalink
Generated from 00e9a8be83734f63f8dab70498c287bf2897dcfd (#7573)
Browse files Browse the repository at this point in the history
Update billing.json
  • Loading branch information
AutorestCI authored Oct 4, 2019
1 parent 35c1f38 commit 1283080
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ class BillingProfile(Resource):
:type po_number: str
:param address: Billing address.
:type address: ~azure.mgmt.billing.models.AddressDetails
:ivar invoice_email_opt_in: If the billing profile is opted in to receive
:param invoice_email_opt_in: If the billing profile is opted in to receive
invoices via email.
:vartype invoice_email_opt_in: bool
:type invoice_email_opt_in: bool
:ivar invoice_day: Invoice day.
:vartype invoice_day: int
:ivar currency: The currency associated with the billing profile.
Expand All @@ -48,7 +48,6 @@ class BillingProfile(Resource):
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'invoice_email_opt_in': {'readonly': True},
'invoice_day': {'readonly': True},
'currency': {'readonly': True},
}
Expand All @@ -72,7 +71,7 @@ def __init__(self, **kwargs):
self.display_name = kwargs.get('display_name', None)
self.po_number = kwargs.get('po_number', None)
self.address = kwargs.get('address', None)
self.invoice_email_opt_in = None
self.invoice_email_opt_in = kwargs.get('invoice_email_opt_in', None)
self.invoice_day = None
self.currency = None
self.enabled_azure_plans = kwargs.get('enabled_azure_plans', None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ class BillingProfile(Resource):
:type po_number: str
:param address: Billing address.
:type address: ~azure.mgmt.billing.models.AddressDetails
:ivar invoice_email_opt_in: If the billing profile is opted in to receive
:param invoice_email_opt_in: If the billing profile is opted in to receive
invoices via email.
:vartype invoice_email_opt_in: bool
:type invoice_email_opt_in: bool
:ivar invoice_day: Invoice day.
:vartype invoice_day: int
:ivar currency: The currency associated with the billing profile.
Expand All @@ -48,7 +48,6 @@ class BillingProfile(Resource):
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'invoice_email_opt_in': {'readonly': True},
'invoice_day': {'readonly': True},
'currency': {'readonly': True},
}
Expand All @@ -67,12 +66,12 @@ class BillingProfile(Resource):
'invoice_sections': {'key': 'properties.invoiceSections', 'type': '[InvoiceSection]'},
}

def __init__(self, *, display_name: str=None, po_number: str=None, address=None, enabled_azure_plans=None, invoice_sections=None, **kwargs) -> None:
def __init__(self, *, display_name: str=None, po_number: str=None, address=None, invoice_email_opt_in: bool=None, enabled_azure_plans=None, invoice_sections=None, **kwargs) -> None:
super(BillingProfile, self).__init__(**kwargs)
self.display_name = display_name
self.po_number = po_number
self.address = address
self.invoice_email_opt_in = None
self.invoice_email_opt_in = invoice_email_opt_in
self.invoice_day = None
self.currency = None
self.enabled_azure_plans = enabled_azure_plans
Expand Down

0 comments on commit 1283080

Please sign in to comment.