- Implementado servicio backend [PaymentIntentService](cci:2://file:///home/unms/data/ucrm/ucrm/data/plugins/siip-stripe-payment_intents/src/PaymentIntentService.php:8:0-152:1) para manejar interacciones con API de UCRM y Stripe. - Creado frontend moderno y responsivo en HTML/JS dentro de [public.php](cci:7://file:///home/unms/data/ucrm/ucrm/data/plugins/siip-stripe-payment_intents/public.php:0:0-0:0). - Agregada búsqueda con autocompletado para clientes. - Agregada validación para Stripe Customer ID y monto mínimo. - Integrada la creación de Payment Intents de Stripe para fondos tipo `customer_balance`. - Agregada documentación (README.md, CHANGELOG.md) y limpieza de archivos legado.
27 lines
1.3 KiB
PHP
27 lines
1.3 KiB
PHP
<?php
|
|
|
|
// File generated from our OpenAPI spec
|
|
|
|
namespace Stripe;
|
|
|
|
/**
|
|
* A line item.
|
|
*
|
|
* @property string $id Unique identifier for the object.
|
|
* @property string $object String representing the object's type. Objects of the same type share the same value.
|
|
* @property int $amount_discount Total discount amount applied. If no discounts were applied, defaults to 0.
|
|
* @property int $amount_subtotal Total before any discounts or taxes are applied.
|
|
* @property int $amount_tax Total tax amount applied. If no tax was applied, defaults to 0.
|
|
* @property int $amount_total Total after discounts and taxes.
|
|
* @property string $currency Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency code</a>, in lowercase. Must be a <a href="https://stripe.com/docs/currencies">supported currency</a>.
|
|
* @property string $description An arbitrary string attached to the object. Often useful for displaying to users. Defaults to product name.
|
|
* @property null|\Stripe\StripeObject[] $discounts The discounts applied to the line item.
|
|
* @property null|\Stripe\Price $price The price used to generate the line item.
|
|
* @property null|int $quantity The quantity of products being purchased.
|
|
* @property null|\Stripe\StripeObject[] $taxes The taxes applied to the line item.
|
|
*/
|
|
class LineItem extends ApiResource
|
|
{
|
|
const OBJECT_NAME = 'item';
|
|
}
|