2019-10-07 06:57:14 +02:00
< ? php
2020-10-10 14:07:52 +02:00
/**
2019-10-07 06:57:14 +02:00
* @ OA\Schema (
* schema = " Payment " ,
* type = " object " ,
* @ OA\Property ( property = " id " , type = " string " , example = " Opnel5aKBz " , description = " ______ " ),
2019-12-16 12:34:38 +01:00
* @ OA\Property ( property = " client_id " , type = " string " , example = " Opnel5aKBz " , description = " ______ " ),
* @ OA\Property ( property = " invitation_id " , type = " string " , example = " Opnel5aKBz " , description = " ______ " ),
* @ OA\Property ( property = " client_contact_id " , type = " string " , example = " Opnel5aKBz " , description = " ______ " ),
* @ OA\Property ( property = " user_id " , type = " string " , example = " Opnel5aKBz " , description = " ______ " ),
* @ OA\Property ( property = " type_id " , type = " string " , example = " 1 " , description = " The Payment Type ID " ),
* @ OA\Property ( property = " date " , type = " string " , example = " 1-1-2014 " , description = " The Payment date " ),
* @ OA\Property ( property = " transaction_reference " , type = " string " , example = " xcsSxcs124asd " , description = " The transaction reference as defined by the payment gateway " ),
* @ OA\Property ( property = " assigned_user_id " , type = " string " , example = " Opnel5aKBz " , description = " ______ " ),
2020-02-19 21:44:12 +01:00
* @ OA\Property ( property = " private_notes " , type = " string " , example = " The payment was refunded due to error " , description = " ______ " ),
2019-12-04 02:06:14 +01:00
* @ OA\Property ( property = " is_manual " , type = " boolean " , example = true , description = " ______ " ),
2019-12-16 12:34:38 +01:00
* @ OA\Property ( property = " is_deleted " , type = " boolean " , example = true , description = " ______ " ),
* @ OA\Property ( property = " amount " , type = " number " , example = 10.00 , description = " The amount of this payment " ),
2019-12-14 06:49:48 +01:00
* @ OA\Property ( property = " refunded " , type = " number " , example = 10.00 , description = " The refunded amount of this payment " ),
2019-12-16 12:34:38 +01:00
* @ OA\Property ( property = " updated_at " , type = " number " , format = " integer " , example = " 1434342123 " , description = " Timestamp " ),
* @ OA\Property ( property = " archived_at " , type = " number " , format = " integer " , example = " 1434342123 " , description = " Timestamp " ),
* @ OA\Property ( property = " company_gateway_id " , type = " string " , example = " 3 " , description = " The company gateway id " ),
2020-01-19 02:19:10 +01:00
* @ OA\Property ( property = " paymentables " , ref = " #/components/schemas/Paymentable " ),
* @ OA\Property (
* property = " invoices " ,
* type = " array " ,
* description = " " ,
* @ OA\Items (
* ref = " #/components/schemas/InvoicePaymentable " ,
* ),
* ),
* @ OA\Property (
* property = " credits " ,
* type = " array " ,
* description = " " ,
* @ OA\Items (
* ref = " #/components/schemas/CreditPaymentable " ,
* ),
* ),
2020-03-21 06:37:30 +01:00
*
2019-10-07 06:57:14 +02:00
* )
2019-12-30 22:59:12 +01:00
*/