| 1 |
<?php |
| 2 |
|
| 3 |
// File generated from our OpenAPI spec |
| 4 |
|
| 5 |
namespace Stripe\Radar; |
| 6 |
|
| 7 |
/** |
| 8 |
* An early fraud warning indicates that the card issuer has notified us that a |
| 9 |
* charge may be fraudulent. |
| 10 |
* |
| 11 |
* Related guide: <a |
| 12 |
* href="https://stripe.com/docs/disputes/measuring#early-fraud-warnings">Early |
| 13 |
* Fraud Warnings</a>. |
| 14 |
* |
| 15 |
* @property string $id Unique identifier for the object. |
| 16 |
* @property string $object String representing the object's type. Objects of the same type share the same value. |
| 17 |
* @property bool $actionable An EFW is actionable if it has not received a dispute and has not been fully refunded. You may wish to proactively refund a charge that receives an EFW, in order to avoid receiving a dispute later. |
| 18 |
* @property string|\Stripe\Charge $charge ID of the charge this early fraud warning is for, optionally expanded. |
| 19 |
* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. |
| 20 |
* @property string $fraud_type The type of fraud labelled by the issuer. One of <code>card_never_received</code>, <code>fraudulent_card_application</code>, <code>made_with_counterfeit_card</code>, <code>made_with_lost_card</code>, <code>made_with_stolen_card</code>, <code>misc</code>, <code>unauthorized_use_of_card</code>. |
| 21 |
* @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. |
| 22 |
* @property string|\Stripe\PaymentIntent $payment_intent ID of the Payment Intent this early fraud warning is for, optionally expanded. |
| 23 |
*/ |
| 24 |
class EarlyFraudWarning extends \Stripe\ApiResource |
| 25 |
{ |
| 26 |
const OBJECT_NAME = 'radar.early_fraud_warning'; |
| 27 |
|
| 28 |
use \Stripe\ApiOperations\All; |
| 29 |
use \Stripe\ApiOperations\Retrieve; |
| 30 |
|
| 31 |
const FRAUD_TYPE_CARD_NEVER_RECEIVED = 'card_never_received'; |
| 32 |
const FRAUD_TYPE_FRAUDULENT_CARD_APPLICATION = 'fraudulent_card_application'; |
| 33 |
const FRAUD_TYPE_MADE_WITH_COUNTERFEIT_CARD = 'made_with_counterfeit_card'; |
| 34 |
const FRAUD_TYPE_MADE_WITH_LOST_CARD = 'made_with_lost_card'; |
| 35 |
const FRAUD_TYPE_MADE_WITH_STOLEN_CARD = 'made_with_stolen_card'; |
| 36 |
const FRAUD_TYPE_MISC = 'misc'; |
| 37 |
const FRAUD_TYPE_UNAUTHORIZED_USE_OF_CARD = 'unauthorized_use_of_card'; |
| 38 |
} |
| 39 |
|