| 1 |
<?php |
| 2 |
|
| 3 |
declare(strict_types=1); |
| 4 |
|
| 5 |
namespace Square\Legacy\Models; |
| 6 |
|
| 7 |
/** |
| 8 |
* Indicates how Square delivers the [invoice]($m/Invoice) to the customer. |
| 9 |
*/ |
| 10 |
class InvoiceDeliveryMethod |
| 11 |
{ |
| 12 |
/** |
| 13 |
* Directs Square to send invoices, reminders, and receipts to the customer using email. |
| 14 |
*/ |
| 15 |
public const EMAIL = 'EMAIL'; |
| 16 |
|
| 17 |
/** |
| 18 |
* Directs Square to take no action on the invoice. In this case, the seller |
| 19 |
* or application developer follows up with the customer for payment. For example, |
| 20 |
* a seller might collect a payment in the Seller Dashboard or Point of Sale (POS) application. |
| 21 |
* The seller might also share the URL of the Square-hosted invoice page (`public_url`) with the |
| 22 |
* customer to request payment. |
| 23 |
*/ |
| 24 |
public const SHARE_MANUALLY = 'SHARE_MANUALLY'; |
| 25 |
|
| 26 |
/** |
| 27 |
* Directs Square to send invoices and receipts to the customer using SMS (text message). |
| 28 |
* |
| 29 |
* You cannot set `SMS` as a delivery method using the Invoices API, but you can change an `SMS` |
| 30 |
* delivery method to `EMAIL` or `SHARE_MANUALLY`. |
| 31 |
*/ |
| 32 |
public const SMS = 'SMS'; |
| 33 |
} |
| 34 |
|