PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 2.4.4
Booking for Appointments and Events Calendar – Amelia v2.4.4
2.4.4 2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.3 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34 1.2.35 1.2.36 1.2.37 1.2.38 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.1.3 2.2 2.2.1 2.3
ameliabooking / vendor / stripe / stripe-php / lib / Issuing / PhysicalBundle.php
ameliabooking / vendor / stripe / stripe-php / lib / Issuing Last commit date
Authorization.php 6 months ago Card.php 6 months ago CardDetails.php 6 months ago Cardholder.php 6 months ago Dispute.php 6 months ago PersonalizationDesign.php 6 months ago PhysicalBundle.php 6 months ago Token.php 6 months ago Transaction.php 6 months ago
PhysicalBundle.php
66 lines
1 <?php
2
3 // File generated from our OpenAPI spec
4
5 namespace AmeliaVendor\Stripe\Issuing;
6
7 /**
8 * A Physical Bundle represents the bundle of physical items - card stock, carrier letter, and envelope - that is shipped to a cardholder when you create a physical card.
9 *
10 * @property string $id Unique identifier for the object.
11 * @property string $object String representing the object's type. Objects of the same type share the same value.
12 * @property (object{card_logo: string, carrier_text: string, second_line: string}&\AmeliaVendor\Stripe\StripeObject) $features
13 * @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.
14 * @property string $name Friendly display name.
15 * @property string $status Whether this physical bundle can be used to create cards.
16 * @property string $type Whether this physical bundle is a standard Stripe offering or custom-made for you.
17 */
18 class PhysicalBundle extends \AmeliaVendor\Stripe\ApiResource
19 {
20 const OBJECT_NAME = 'issuing.physical_bundle';
21
22 const STATUS_ACTIVE = 'active';
23 const STATUS_INACTIVE = 'inactive';
24 const STATUS_REVIEW = 'review';
25
26 const TYPE_CUSTOM = 'custom';
27 const TYPE_STANDARD = 'standard';
28
29 /**
30 * Returns a list of physical bundle objects. The objects are sorted in descending
31 * order by creation date, with the most recently created object appearing first.
32 *
33 * @param null|array{ending_before?: string, expand?: string[], limit?: int, starting_after?: string, status?: string, type?: string} $params
34 * @param null|array|string $opts
35 *
36 * @return \AmeliaVendor\Stripe\Collection<PhysicalBundle> of ApiResources
37 *
38 * @throws \AmeliaVendor\Stripe\Exception\ApiErrorException if the request fails
39 */
40 public static function all($params = null, $opts = null)
41 {
42 $url = static::classUrl();
43
44 return static::_requestPage($url, \AmeliaVendor\Stripe\Collection::class, $params, $opts);
45 }
46
47 /**
48 * Retrieves a physical bundle object.
49 *
50 * @param array|string $id the ID of the API resource to retrieve, or an options array containing an `id` key
51 * @param null|array|string $opts
52 *
53 * @return PhysicalBundle
54 *
55 * @throws \AmeliaVendor\Stripe\Exception\ApiErrorException if the request fails
56 */
57 public static function retrieve($id, $opts = null)
58 {
59 $opts = \AmeliaVendor\Stripe\Util\RequestOptions::parse($opts);
60 $instance = new static($id, $opts);
61 $instance->refresh();
62
63 return $instance;
64 }
65 }
66