- 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.7 KiB
PHP
27 lines
1.7 KiB
PHP
<?php
|
|
|
|
// File generated from our OpenAPI spec
|
|
|
|
namespace Stripe\Tax;
|
|
|
|
/**
|
|
* @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 The line item amount in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>. If <code>tax_behavior=inclusive</code>, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.
|
|
* @property int $amount_tax The amount of tax calculated for this line item, in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>.
|
|
* @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
|
|
* @property null|string $product The ID of an existing <a href="https://stripe.com/docs/api/products/object">Product</a>.
|
|
* @property int $quantity The number of units of the item being purchased. For reversals, this is the quantity reversed.
|
|
* @property null|string $reference A custom identifier for this line item.
|
|
* @property string $tax_behavior Specifies whether the <code>amount</code> includes taxes. If <code>tax_behavior=inclusive</code>, then the amount includes taxes.
|
|
* @property null|\Stripe\StripeObject[] $tax_breakdown Detailed account of taxes relevant to this line item.
|
|
* @property string $tax_code The <a href="https://stripe.com/docs/tax/tax-categories">tax code</a> ID used for this resource.
|
|
*/
|
|
class CalculationLineItem extends \Stripe\ApiResource
|
|
{
|
|
const OBJECT_NAME = 'tax.calculation_line_item';
|
|
|
|
const TAX_BEHAVIOR_EXCLUSIVE = 'exclusive';
|
|
const TAX_BEHAVIOR_INCLUSIVE = 'inclusive';
|
|
}
|