InvoiceSummary

class oci.osp_gateway.models.InvoiceSummary(**kwargs)

Bases: object

Invoice list elements

Attributes

INVOICE_STATUS_CLOSED A constant which can be used with the invoice_status property of a InvoiceSummary.
INVOICE_STATUS_OPEN A constant which can be used with the invoice_status property of a InvoiceSummary.
INVOICE_STATUS_PAST_DUE A constant which can be used with the invoice_status property of a InvoiceSummary.
INVOICE_STATUS_PAYMENT_SUBMITTED A constant which can be used with the invoice_status property of a InvoiceSummary.
INVOICE_TYPE_CONSULTING A constant which can be used with the invoice_type property of a InvoiceSummary.
INVOICE_TYPE_EDUCATION A constant which can be used with the invoice_type property of a InvoiceSummary.
INVOICE_TYPE_HARDWARE A constant which can be used with the invoice_type property of a InvoiceSummary.
INVOICE_TYPE_LICENSE A constant which can be used with the invoice_type property of a InvoiceSummary.
INVOICE_TYPE_SERVICE A constant which can be used with the invoice_type property of a InvoiceSummary.
INVOICE_TYPE_SUBSCRIPTION A constant which can be used with the invoice_type property of a InvoiceSummary.
INVOICE_TYPE_SUPPORT A constant which can be used with the invoice_type property of a InvoiceSummary.
INVOICE_TYPE_USAGE A constant which can be used with the invoice_type property of a InvoiceSummary.
currency Gets the currency of this InvoiceSummary.
internal_invoice_id Gets the internal_invoice_id of this InvoiceSummary.
invoice_amount Gets the invoice_amount of this InvoiceSummary.
invoice_amount_adjusted Gets the invoice_amount_adjusted of this InvoiceSummary.
invoice_amount_applied Gets the invoice_amount_applied of this InvoiceSummary.
invoice_amount_credited Gets the invoice_amount_credited of this InvoiceSummary.
invoice_amount_due Gets the invoice_amount_due of this InvoiceSummary.
invoice_amount_in_dispute Gets the invoice_amount_in_dispute of this InvoiceSummary.
invoice_id [Required] Gets the invoice_id of this InvoiceSummary.
invoice_number Gets the invoice_number of this InvoiceSummary.
invoice_po_number Gets the invoice_po_number of this InvoiceSummary.
invoice_ref_number Gets the invoice_ref_number of this InvoiceSummary.
invoice_status Gets the invoice_status of this InvoiceSummary.
invoice_type Gets the invoice_type of this InvoiceSummary.
is_credit_card_payable Gets the is_credit_card_payable of this InvoiceSummary.
is_display_download_pdf Gets the is_display_download_pdf of this InvoiceSummary.
is_display_view_pdf Gets the is_display_view_pdf of this InvoiceSummary.
is_paid Gets the is_paid of this InvoiceSummary.
is_payable Gets the is_payable of this InvoiceSummary.
is_payment_failed Gets the is_payment_failed of this InvoiceSummary.
is_pdf_email_available Gets the is_pdf_email_available of this InvoiceSummary.
last_payment_detail Gets the last_payment_detail of this InvoiceSummary.
party_name Gets the party_name of this InvoiceSummary.
subscription_ids Gets the subscription_ids of this InvoiceSummary.
time_invoice Gets the time_invoice of this InvoiceSummary.
time_invoice_due Gets the time_invoice_due of this InvoiceSummary.

Methods

__init__(**kwargs) Initializes a new InvoiceSummary object with values from keyword arguments.
INVOICE_STATUS_CLOSED = 'CLOSED'

A constant which can be used with the invoice_status property of a InvoiceSummary. This constant has a value of “CLOSED”

INVOICE_STATUS_OPEN = 'OPEN'

A constant which can be used with the invoice_status property of a InvoiceSummary. This constant has a value of “OPEN”

INVOICE_STATUS_PAST_DUE = 'PAST_DUE'

A constant which can be used with the invoice_status property of a InvoiceSummary. This constant has a value of “PAST_DUE”

INVOICE_STATUS_PAYMENT_SUBMITTED = 'PAYMENT_SUBMITTED'

A constant which can be used with the invoice_status property of a InvoiceSummary. This constant has a value of “PAYMENT_SUBMITTED”

INVOICE_TYPE_CONSULTING = 'CONSULTING'

A constant which can be used with the invoice_type property of a InvoiceSummary. This constant has a value of “CONSULTING”

INVOICE_TYPE_EDUCATION = 'EDUCATION'

A constant which can be used with the invoice_type property of a InvoiceSummary. This constant has a value of “EDUCATION”

INVOICE_TYPE_HARDWARE = 'HARDWARE'

A constant which can be used with the invoice_type property of a InvoiceSummary. This constant has a value of “HARDWARE”

INVOICE_TYPE_LICENSE = 'LICENSE'

A constant which can be used with the invoice_type property of a InvoiceSummary. This constant has a value of “LICENSE”

INVOICE_TYPE_SERVICE = 'SERVICE'

A constant which can be used with the invoice_type property of a InvoiceSummary. This constant has a value of “SERVICE”

INVOICE_TYPE_SUBSCRIPTION = 'SUBSCRIPTION'

A constant which can be used with the invoice_type property of a InvoiceSummary. This constant has a value of “SUBSCRIPTION”

INVOICE_TYPE_SUPPORT = 'SUPPORT'

A constant which can be used with the invoice_type property of a InvoiceSummary. This constant has a value of “SUPPORT”

INVOICE_TYPE_USAGE = 'USAGE'

A constant which can be used with the invoice_type property of a InvoiceSummary. This constant has a value of “USAGE”

__init__(**kwargs)

Initializes a new InvoiceSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • invoice_id (str) – The value to assign to the invoice_id property of this InvoiceSummary.
  • invoice_number (str) – The value to assign to the invoice_number property of this InvoiceSummary.
  • internal_invoice_id (str) – The value to assign to the internal_invoice_id property of this InvoiceSummary.
  • is_credit_card_payable (bool) – The value to assign to the is_credit_card_payable property of this InvoiceSummary.
  • invoice_status (str) – The value to assign to the invoice_status property of this InvoiceSummary. Allowed values for this property are: “OPEN”, “PAST_DUE”, “PAYMENT_SUBMITTED”, “CLOSED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • invoice_type (str) – The value to assign to the invoice_type property of this InvoiceSummary. Allowed values for this property are: “HARDWARE”, “SUBSCRIPTION”, “SUPPORT”, “LICENSE”, “EDUCATION”, “CONSULTING”, “SERVICE”, “USAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • is_paid (bool) – The value to assign to the is_paid property of this InvoiceSummary.
  • is_payable (bool) – The value to assign to the is_payable property of this InvoiceSummary.
  • invoice_amount (float) – The value to assign to the invoice_amount property of this InvoiceSummary.
  • invoice_amount_due (float) – The value to assign to the invoice_amount_due property of this InvoiceSummary.
  • invoice_amount_credited (float) – The value to assign to the invoice_amount_credited property of this InvoiceSummary.
  • invoice_amount_adjusted (float) – The value to assign to the invoice_amount_adjusted property of this InvoiceSummary.
  • invoice_amount_applied (float) – The value to assign to the invoice_amount_applied property of this InvoiceSummary.
  • time_invoice_due (datetime) – The value to assign to the time_invoice_due property of this InvoiceSummary.
  • is_payment_failed (bool) – The value to assign to the is_payment_failed property of this InvoiceSummary.
  • invoice_amount_in_dispute (float) – The value to assign to the invoice_amount_in_dispute property of this InvoiceSummary.
  • invoice_ref_number (str) – The value to assign to the invoice_ref_number property of this InvoiceSummary.
  • invoice_po_number (str) – The value to assign to the invoice_po_number property of this InvoiceSummary.
  • time_invoice (datetime) – The value to assign to the time_invoice property of this InvoiceSummary.
  • currency (oci.osp_gateway.models.Currency) – The value to assign to the currency property of this InvoiceSummary.
  • is_pdf_email_available (bool) – The value to assign to the is_pdf_email_available property of this InvoiceSummary.
  • is_display_view_pdf (bool) – The value to assign to the is_display_view_pdf property of this InvoiceSummary.
  • is_display_download_pdf (bool) – The value to assign to the is_display_download_pdf property of this InvoiceSummary.
  • last_payment_detail (oci.osp_gateway.models.PaymentDetail) – The value to assign to the last_payment_detail property of this InvoiceSummary.
  • party_name (str) – The value to assign to the party_name property of this InvoiceSummary.
  • subscription_ids (list[str]) – The value to assign to the subscription_ids property of this InvoiceSummary.
currency

Gets the currency of this InvoiceSummary.

Returns:The currency of this InvoiceSummary.
Return type:oci.osp_gateway.models.Currency
internal_invoice_id

Gets the internal_invoice_id of this InvoiceSummary. PC invoice identifier

Returns:The internal_invoice_id of this InvoiceSummary.
Return type:str
invoice_amount

Gets the invoice_amount of this InvoiceSummary. Invoice amount

Returns:The invoice_amount of this InvoiceSummary.
Return type:float
invoice_amount_adjusted

Gets the invoice_amount_adjusted of this InvoiceSummary. Invoice amount adjust

Returns:The invoice_amount_adjusted of this InvoiceSummary.
Return type:float
invoice_amount_applied

Gets the invoice_amount_applied of this InvoiceSummary. Invoice amount applied

Returns:The invoice_amount_applied of this InvoiceSummary.
Return type:float
invoice_amount_credited

Gets the invoice_amount_credited of this InvoiceSummary. Invoice amount credit

Returns:The invoice_amount_credited of this InvoiceSummary.
Return type:float
invoice_amount_due

Gets the invoice_amount_due of this InvoiceSummary. Invoice amount due

Returns:The invoice_amount_due of this InvoiceSummary.
Return type:float
invoice_amount_in_dispute

Gets the invoice_amount_in_dispute of this InvoiceSummary. Invoice amount in dispute

Returns:The invoice_amount_in_dispute of this InvoiceSummary.
Return type:float
invoice_id

[Required] Gets the invoice_id of this InvoiceSummary. Invoice identifier

Returns:The invoice_id of this InvoiceSummary.
Return type:str
invoice_number

Gets the invoice_number of this InvoiceSummary. Invoice external reference

Returns:The invoice_number of this InvoiceSummary.
Return type:str
invoice_po_number

Gets the invoice_po_number of this InvoiceSummary. Invoice PO number

Returns:The invoice_po_number of this InvoiceSummary.
Return type:str
invoice_ref_number

Gets the invoice_ref_number of this InvoiceSummary. Invoice reference number

Returns:The invoice_ref_number of this InvoiceSummary.
Return type:str
invoice_status

Gets the invoice_status of this InvoiceSummary. Invoice status

Allowed values for this property are: “OPEN”, “PAST_DUE”, “PAYMENT_SUBMITTED”, “CLOSED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The invoice_status of this InvoiceSummary.
Return type:str
invoice_type

Gets the invoice_type of this InvoiceSummary. Type of invoice

Allowed values for this property are: “HARDWARE”, “SUBSCRIPTION”, “SUPPORT”, “LICENSE”, “EDUCATION”, “CONSULTING”, “SERVICE”, “USAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The invoice_type of this InvoiceSummary.
Return type:str
is_credit_card_payable

Gets the is_credit_card_payable of this InvoiceSummary. Is credit card payment eligible

Returns:The is_credit_card_payable of this InvoiceSummary.
Return type:bool
is_display_download_pdf

Gets the is_display_download_pdf of this InvoiceSummary. Is pdf download access allowed

Returns:The is_display_download_pdf of this InvoiceSummary.
Return type:bool
is_display_view_pdf

Gets the is_display_view_pdf of this InvoiceSummary. Is view access allowed

Returns:The is_display_view_pdf of this InvoiceSummary.
Return type:bool
is_paid

Gets the is_paid of this InvoiceSummary. Is the invoice has been already payed

Returns:The is_paid of this InvoiceSummary.
Return type:bool
is_payable

Gets the is_payable of this InvoiceSummary. Whether invoice can be payed

Returns:The is_payable of this InvoiceSummary.
Return type:bool
is_payment_failed

Gets the is_payment_failed of this InvoiceSummary. Is the last payment failed

Returns:The is_payment_failed of this InvoiceSummary.
Return type:bool
is_pdf_email_available

Gets the is_pdf_email_available of this InvoiceSummary. Is emailing pdf allowed

Returns:The is_pdf_email_available of this InvoiceSummary.
Return type:bool
last_payment_detail

Gets the last_payment_detail of this InvoiceSummary.

Returns:The last_payment_detail of this InvoiceSummary.
Return type:oci.osp_gateway.models.PaymentDetail
party_name

Gets the party_name of this InvoiceSummary. Name of the bill to customer

Returns:The party_name of this InvoiceSummary.
Return type:str
subscription_ids

Gets the subscription_ids of this InvoiceSummary. List of subscription identifiers

Returns:The subscription_ids of this InvoiceSummary.
Return type:list[str]
time_invoice

Gets the time_invoice of this InvoiceSummary. Date of invoice

Returns:The time_invoice of this InvoiceSummary.
Return type:datetime
time_invoice_due

Gets the time_invoice_due of this InvoiceSummary. Due date of invoice amount

Returns:The time_invoice_due of this InvoiceSummary.
Return type:datetime