File: //lib/python3.9/site-packages/oci/onesubscription/models/__pycache__/invoice_summary.cpython-39.pyc
a
���f�H � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed
d� �Z e jdd� �Z ed
d� �Z
e
jdd� �Z
edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z
e
jdd� �Z
edd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Zejd3d2� �Zed4d5� �Zejd6d5� �Zed7d8� �Zejd9d8� �Zed:d;� �Zejd<d;� �Zd=d>� Zd?d@� ZdAdB� ZdCS )D�InvoiceSummaryz
Invoice details
c K s� ddddddddddddddddddd d
�| _ ddd
ddddddddddddddddd
�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _
d| _d| _d| _
d| _d| _d| _d| _d| _d| _d| _dS )a
Initializes a new InvoiceSummary object with values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param spm_invoice_number:
The value to assign to the spm_invoice_number property of this InvoiceSummary.
:type spm_invoice_number: str
:param ar_invoices:
The value to assign to the ar_invoices property of this InvoiceSummary.
:type ar_invoices: str
:param bill_to_customer:
The value to assign to the bill_to_customer property of this InvoiceSummary.
:type bill_to_customer: oci.onesubscription.models.InvoicingBusinessPartner
:param bill_to_contact:
The value to assign to the bill_to_contact property of this InvoiceSummary.
:type bill_to_contact: oci.onesubscription.models.InvoicingUser
:param bill_to_address:
The value to assign to the bill_to_address property of this InvoiceSummary.
:type bill_to_address: oci.onesubscription.models.InvoicingAddress
:param payment_method:
The value to assign to the payment_method property of this InvoiceSummary.
:type payment_method: str
:param payment_term:
The value to assign to the payment_term property of this InvoiceSummary.
:type payment_term: oci.onesubscription.models.InvoicingPaymentTerm
:param receipt_method:
The value to assign to the receipt_method property of this InvoiceSummary.
:type receipt_method: str
:param currency:
The value to assign to the currency property of this InvoiceSummary.
:type currency: oci.onesubscription.models.InvoicingCurrency
:param organization:
The value to assign to the organization property of this InvoiceSummary.
:type organization: oci.onesubscription.models.InvoicingOrganization
:param type:
The value to assign to the type property of this InvoiceSummary.
:type type: str
:param status:
The value to assign to the status property of this InvoiceSummary.
:type status: str
:param subscription_number:
The value to assign to the subscription_number property of this InvoiceSummary.
:type subscription_number: str
:param time_invoice_date:
The value to assign to the time_invoice_date property of this InvoiceSummary.
:type time_invoice_date: datetime
:param time_created:
The value to assign to the time_created property of this InvoiceSummary.
:type time_created: datetime
:param created_by:
The value to assign to the created_by property of this InvoiceSummary.
:type created_by: str
:param time_updated:
The value to assign to the time_updated property of this InvoiceSummary.
:type time_updated: datetime
:param updated_by:
The value to assign to the updated_by property of this InvoiceSummary.
:type updated_by: str
:param invoice_lines:
The value to assign to the invoice_lines property of this InvoiceSummary.
:type invoice_lines: list[oci.onesubscription.models.InvoiceLineSummary]
�strZInvoicingBusinessPartnerZ
InvoicingUserZInvoicingAddressZInvoicingPaymentTermZInvoicingCurrencyZInvoicingOrganizationZdatetimezlist[InvoiceLineSummary])�spm_invoice_number�ar_invoices�bill_to_customer�bill_to_contact�bill_to_address�payment_method�payment_term�receipt_method�currency�organization�type�status�subscription_number�time_invoice_date�time_created�
created_by�time_updated�
updated_by�
invoice_linesZspmInvoiceNumberZ
arInvoicesZbillToCustomerZ
billToContactZ
billToAddressZ
paymentMethodZpaymentTermZ
receiptMethodr r r r ZsubscriptionNumberZtimeInvoiceDateZtimeCreatedZ createdByZtimeUpdatedZ updatedByZinvoiceLinesN)Z
swagger_typesZ
attribute_map�_spm_invoice_number�_ar_invoices�_bill_to_customer�_bill_to_contact�_bill_to_address�_payment_method�
_payment_term�_receipt_method� _currency�
_organization�_type�_status�_subscription_number�_time_invoice_date�
_time_created�_created_by�
_time_updated�_updated_by�_invoice_lines)�self�kwargs� r0 �N/usr/lib/python3.9/site-packages/oci/onesubscription/models/invoice_summary.py�__init__ sv S��zInvoiceSummary.__init__c C s | j S )z�
**[Required]** Gets the spm_invoice_number of this InvoiceSummary.
SPM Document Number is an functional identifier for invoice in SPM
:return: The spm_invoice_number of this InvoiceSummary.
:rtype: str
�r �r. r0 r0 r1 r � s
z!InvoiceSummary.spm_invoice_numberc C s
|| _ dS )z�
Sets the spm_invoice_number of this InvoiceSummary.
SPM Document Number is an functional identifier for invoice in SPM
:param spm_invoice_number: The spm_invoice_number of this InvoiceSummary.
:type: str
Nr3 )r. r r0 r0 r1 r � s
c C s | j S )z�
Gets the ar_invoices of this InvoiceSummary.
AR Invoice Numbers comma separated under one invoice
:return: The ar_invoices of this InvoiceSummary.
:rtype: str
�r r4 r0 r0 r1 r � s
zInvoiceSummary.ar_invoicesc C s
|| _ dS )z�
Sets the ar_invoices of this InvoiceSummary.
AR Invoice Numbers comma separated under one invoice
:param ar_invoices: The ar_invoices of this InvoiceSummary.
:type: str
Nr5 )r. r r0 r0 r1 r � s
c C s | j S )z�
**[Required]** Gets the bill_to_customer of this InvoiceSummary.
:return: The bill_to_customer of this InvoiceSummary.
:rtype: oci.onesubscription.models.InvoicingBusinessPartner
�r r4 r0 r0 r1 r
� s zInvoiceSummary.bill_to_customerc C s
|| _ dS )z�
Sets the bill_to_customer of this InvoiceSummary.
:param bill_to_customer: The bill_to_customer of this InvoiceSummary.
:type: oci.onesubscription.models.InvoicingBusinessPartner
Nr6 )r. r
r0 r0 r1 r
� s c C s | j S )z�
**[Required]** Gets the bill_to_contact of this InvoiceSummary.
:return: The bill_to_contact of this InvoiceSummary.
:rtype: oci.onesubscription.models.InvoicingUser
�r r4 r0 r0 r1 r � s zInvoiceSummary.bill_to_contactc C s
|| _ dS )z�
Sets the bill_to_contact of this InvoiceSummary.
:param bill_to_contact: The bill_to_contact of this InvoiceSummary.
:type: oci.onesubscription.models.InvoicingUser
Nr7 )r. r r0 r0 r1 r � s c C s | j S )z�
**[Required]** Gets the bill_to_address of this InvoiceSummary.
:return: The bill_to_address of this InvoiceSummary.
:rtype: oci.onesubscription.models.InvoicingAddress
�r r4 r0 r0 r1 r � s zInvoiceSummary.bill_to_addressc C s
|| _ dS )z�
Sets the bill_to_address of this InvoiceSummary.
:param bill_to_address: The bill_to_address of this InvoiceSummary.
:type: oci.onesubscription.models.InvoicingAddress
Nr8 )r. r r0 r0 r1 r s c C s | j S )z�
**[Required]** Gets the payment_method of this InvoiceSummary.
Payment Method
:return: The payment_method of this InvoiceSummary.
:rtype: str
�r r4 r0 r0 r1 r
s
zInvoiceSummary.payment_methodc C s
|| _ dS )z�
Sets the payment_method of this InvoiceSummary.
Payment Method
:param payment_method: The payment_method of this InvoiceSummary.
:type: str
Nr9 )r. r
r0 r0 r1 r
s
c C s | j S )z�
**[Required]** Gets the payment_term of this InvoiceSummary.
:return: The payment_term of this InvoiceSummary.
:rtype: oci.onesubscription.models.InvoicingPaymentTerm
�r! r4 r0 r0 r1 r ( s zInvoiceSummary.payment_termc C s
|| _ dS )z�
Sets the payment_term of this InvoiceSummary.
:param payment_term: The payment_term of this InvoiceSummary.
:type: oci.onesubscription.models.InvoicingPaymentTerm
Nr: )r. r r0 r0 r1 r 2 s c C s | j S )z�
Gets the receipt_method of this InvoiceSummary.
Receipt Method of Payment Mode
:return: The receipt_method of this InvoiceSummary.
:rtype: str
�r"