File "InvoiceDeliveryMethod.php"
Full Path: /home/capoeirajd/www/wp-content/plugins/wpforms-lite/vendor_prefixed/square/square/src/Models/InvoiceDeliveryMethod.php
File size: 1.08 KB
MIME-type: text/x-php
Charset: utf-8
<?php
declare (strict_types=1);
namespace WPForms\Vendor\Square\Models;
/**
* Indicates how Square delivers the [invoice]($m/Invoice) to the customer.
*/
class InvoiceDeliveryMethod
{
/**
* Directs Square to send invoices, reminders, and receipts to the customer using email.
*/
public const EMAIL = 'EMAIL';
/**
* Directs Square to take no action on the invoice. In this case, the seller
* or application developer follows up with the customer for payment. For example,
* a seller might collect a payment in the Seller Dashboard or Point of Sale (POS) application.
* The seller might also share the URL of the Square-hosted invoice page (`public_url`) with the
* customer to request payment.
*/
public const SHARE_MANUALLY = 'SHARE_MANUALLY';
/**
* Directs Square to send invoices and receipts to the customer using SMS (text message).
*
* You cannot set `SMS` as a delivery method using the Invoices API, but you can change an `SMS`
* delivery method to `EMAIL` or `SHARE_MANUALLY`.
*/
public const SMS = 'SMS';
}