1 | <?php |
||
20 | class TaxId extends ApiResource |
||
21 | { |
||
22 | |||
23 | const OBJECT_NAME = "tax_id"; |
||
24 | |||
25 | use ApiOperations\Delete; |
||
26 | |||
27 | /** |
||
28 | * Possible string representations of a tax id's type. |
||
29 | * @link https://stripe.com/docs/api/customer_tax_ids/object#tax_id_object-type |
||
30 | */ |
||
31 | const TYPE_AU_ABN = 'au_abn'; |
||
32 | const TYPE_EU_VAT = 'eu_vat'; |
||
33 | const TYPE_IN_GST = 'in_gst'; |
||
34 | const TYPE_NO_VAT = 'no_vat'; |
||
35 | const TYPE_NZ_GST = 'nz_gst'; |
||
36 | const TYPE_UNKNOWN = 'unknown'; |
||
37 | |||
38 | /** |
||
39 | * Possible string representations of the verification status. |
||
40 | * @link https://stripe.com/docs/api/customer_tax_ids/object#tax_id_object-verification |
||
41 | */ |
||
42 | const VERIFICATION_STATUS_PENDING = 'pending'; |
||
43 | const VERIFICATION_STATUS_UNAVAILABLE = 'unavailable'; |
||
44 | const VERIFICATION_STATUS_UNVERIFIED = 'unverified'; |
||
45 | const VERIFICATION_STATUS_VERIFIED = 'verified'; |
||
46 | |||
47 | /** |
||
48 | * @return string The API URL for this tax id. |
||
49 | */ |
||
50 | public function instanceUrl() |
||
68 | |||
69 | /** |
||
70 | * @param array|string $_id |
||
71 | * @param array|string|null $_opts |
||
72 | * |
||
73 | * @throws \Stripe\Error\InvalidRequest |
||
74 | */ |
||
75 | public static function retrieve($_id, $_opts = null) |
||
81 | } |
||
82 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.