Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
forbidals
/
wp-content
/
plugins
/
wpforms-lite
/
vendor_prefixed
/
square
/
square
/
src
/
Models
:
GiftCardStatus.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php declare (strict_types=1); namespace WPForms\Vendor\Square\Models; /** * Indicates the gift card state. */ class GiftCardStatus { /** * The gift card is active and can be used as a payment source. */ public const ACTIVE = 'ACTIVE'; /** * Any activity that changes the gift card balance is permanently forbidden. */ public const DEACTIVATED = 'DEACTIVATED'; /** * Any activity that changes the gift card balance is temporarily forbidden. */ public const BLOCKED = 'BLOCKED'; /** * The gift card is pending activation. * This is the initial state when a gift card is created. Typically, you'll call * [CreateGiftCardActivity]($e/GiftCardActivities/CreateGiftCardActivity) to create an * `ACTIVATE` activity that activates the gift card with an initial balance before first use. */ public const PENDING = 'PENDING'; }