%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64 User : addictionfreeind ( 1003) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Directory : /home/addictionfreeind/www/admin1/vendor/square/square/src/Models/ |
Upload File : |
<?php
declare(strict_types=1);
namespace Square\Models;
/**
* Indicates the type of the payment request. For more information, see
* [Payment requests](https://developer.squareup.com/docs/invoices-api/overview#payment-requests).
*/
class InvoiceRequestType
{
/**
* A request for a balance payment. The balance amount is computed as follows:
*
* - If the invoice specifies only a balance payment request, the balance amount is the
* total amount of the associated order.
* - If the invoice also specifies a deposit request, the balance amount is the amount
* remaining after the deposit.
*
* `INSTALLMENT` and `BALANCE` payment requests are not allowed in the same invoice.
*/
public const BALANCE = 'BALANCE';
/**
* A request for a deposit payment. You have the option of specifying
* an exact amount or a percentage of the total order amount. If you request a deposit,
* it must be due before any other payment requests.
*/
public const DEPOSIT = 'DEPOSIT';
/**
* A request for an installment payment. Installments allow buyers to pay the invoice over time.
* Installments can optionally be combined with a deposit.
*
* Adding `INSTALLMENT` payment requests to an invoice requires an
* [Invoices Plus subscription](https://developer.squareup.com/docs/invoices-api/overview#invoices-plus-
* subscription).
*/
public const INSTALLMENT = 'INSTALLMENT';
}