Skip to content

Latest commit

 

History

History
executable file
·
74 lines (44 loc) · 2.87 KB

README.md

File metadata and controls

executable file
·
74 lines (44 loc) · 2.87 KB

ClientInvoice

(client_invoice)

Available Operations

  • get - Get client-invoice by invoiceId
  • update - Update client-invoice by invoiceId

get

Get client-invoice by invoiceId

Example Usage

import wingspan
from wingspan.models import operations

s = wingspan.Wingspan()


res = s.client_invoice.get(id='female')

if res.client_invoice is not None:
    # handle response
    pass

Parameters

Parameter Type Required Description
id str ✔️ Unique identifier

Response

operations.GetClientInvoiceResponse

update

Update client-invoice by invoiceId

Example Usage

import wingspan
from wingspan.models import operations, shared

s = wingspan.Wingspan()


res = s.client_invoice.update(id='Van', client_invoice_update_request=shared.ClientInvoiceUpdateRequest(
    credit_fee_handling=shared.FeeHandlingConfig(),
))

if res.client_invoice is not None:
    # handle response
    pass

Parameters

Parameter Type Required Description
id str ✔️ Unique identifier
client_invoice_update_request Optional[shared.ClientInvoiceUpdateRequest] N/A

Response

operations.UpdateClientInvoiceResponse