PluginProbe ʕ •ᴥ•ʔ
WPForms – Easy Form Builder for WordPress – Contact Forms, Payment Forms, Surveys, & More / 1.10.1
WPForms – Easy Form Builder for WordPress – Contact Forms, Payment Forms, Surveys, & More v1.10.1
1.10.1.1 1.10.1 1.10.0.5 trunk 1.1.4 1.1.4.2 1.1.5 1.1.5.1 1.1.6 1.1.6.1 1.1.7 1.1.7.1 1.1.7.2 1.1.8 1.1.8.1 1.1.8.2 1.1.8.3 1.1.8.4 1.10.0.1 1.10.0.2 1.10.0.3 1.10.0.4 1.2.0 1.2.0.1 1.2.1 1.2.2 1.2.2.1 1.2.2.2 1.2.3 1.2.3.1 1.2.3.2 1.2.4 1.2.4.1 1.2.5 1.2.5.1 1.2.6 1.2.7 1.2.8 1.2.8.1 1.2.9 1.3.0 1.3.1 1.3.1.1 1.3.1.2 1.3.2 1.3.3 1.3.5 1.3.6 1.3.6.1 1.3.6.2 1.3.7.2 1.3.7.3 1.3.7.4 1.3.8 1.3.9.1 1.4.0.1 1.4.1.1 1.4.2 1.4.2.1 1.4.2.2 1.4.3 1.4.4 1.4.4.1 1.4.5 1.4.5.1 1.4.5.2 1.4.5.3 1.4.6 1.4.7.1 1.4.7.2 1.4.8.1 1.4.9 1.5.0.1 1.5.0.3 1.5.0.4 1.5.1 1.5.1.1 1.5.1.3 1.5.2.1 1.5.2.2 1.5.2.3 1.5.3 1.5.3.1 1.5.4.1 1.5.4.2 1.5.5 1.5.5.1 1.5.6 1.5.6.2 1.5.7 1.5.8.2 1.5.9.1 1.5.9.4 1.5.9.5 1.6.0.1 1.6.0.2 1.6.1 1.6.2.2 1.6.2.3 1.6.3.1 1.6.4 1.6.4.1 1.6.5 1.6.6 1.6.7 1.6.7.1 1.6.7.2 1.6.7.3 1.6.8 1.6.8.1 1.6.9 1.7.0 1.7.1.1 1.7.1.2 1.7.2 1.7.2.1 1.7.3 1.7.4 1.7.4.1 1.7.4.2 1.7.5.1 1.7.5.2 1.7.5.3 1.7.5.5 1.7.6 1.7.7 1.7.7.1 1.7.7.2 1.7.8 1.7.9 1.7.9.1 1.8.0.1 1.8.0.2 1.8.1.1 1.8.1.2 1.8.1.3 1.8.2.1 1.8.2.2 1.8.2.3 1.8.3 1.8.3.1 1.8.4 1.8.4.1 1.8.5.2 1.8.5.3 1.8.5.4 1.8.6.2 1.8.6.3 1.8.6.4 1.8.7.2 1.8.8.2 1.8.8.3 1.8.9.1 1.8.9.2 1.8.9.4 1.8.9.5 1.8.9.6 1.9.0.1 1.9.0.2 1.9.0.3 1.9.0.4 1.9.1.1 1.9.1.2 1.9.1.3 1.9.1.4 1.9.1.5 1.9.1.6 1.9.2.1 1.9.2.2 1.9.2.3 1.9.3.1 1.9.3.2 1.9.4.1 1.9.4.2 1.9.5 1.9.5.1 1.9.5.2 1.9.6 1.9.6.1 1.9.6.2 1.9.7.1 1.9.7.2 1.9.7.3 1.9.8.1 1.9.8.2 1.9.8.4 1.9.8.7 1.9.9.2 1.9.9.3 1.9.9.4
wpforms-lite / vendor_prefixed / stripe / stripe-php / lib / Billing / MeterEventAdjustment.php
wpforms-lite / vendor_prefixed / stripe / stripe-php / lib / Billing Last commit date
Alert.php 1 year ago AlertTriggered.php 1 year ago CreditBalanceSummary.php 1 year ago CreditBalanceTransaction.php 1 year ago CreditGrant.php 1 year ago Meter.php 1 year ago MeterEvent.php 1 year ago MeterEventAdjustment.php 1 year ago MeterEventSummary.php 1 year ago
MeterEventAdjustment.php
41 lines
1 <?php
2
3 // File generated from our OpenAPI spec
4 namespace WPForms\Vendor\Stripe\Billing;
5
6 /**
7 * A billing meter event adjustment is a resource that allows you to cancel a meter event. For example, you might create a billing meter event adjustment to cancel a meter event that was created in error or attached to the wrong customer.
8 *
9 * @property string $object String representing the object's type. Objects of the same type share the same value.
10 * @property null|\Stripe\StripeObject $cancel Specifies which event to cancel.
11 * @property string $event_name The name of the meter event. Corresponds with the <code>event_name</code> field on a meter.
12 * @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.
13 * @property string $status The meter event adjustment's status.
14 * @property string $type Specifies whether to cancel a single event or a range of events for a time period. Time period cancellation is not supported yet.
15 */
16 class MeterEventAdjustment extends \WPForms\Vendor\Stripe\ApiResource
17 {
18 const OBJECT_NAME = 'billing.meter_event_adjustment';
19 const STATUS_COMPLETE = 'complete';
20 const STATUS_PENDING = 'pending';
21 /**
22 * Creates a billing meter event adjustment.
23 *
24 * @param null|array $params
25 * @param null|array|string $options
26 *
27 * @throws \Stripe\Exception\ApiErrorException if the request fails
28 *
29 * @return \Stripe\Billing\MeterEventAdjustment the created resource
30 */
31 public static function create($params = null, $options = null)
32 {
33 self::_validateParams($params);
34 $url = static::classUrl();
35 list($response, $opts) = static::_staticRequest('post', $url, $params, $options);
36 $obj = \WPForms\Vendor\Stripe\Util\Util::convertToStripeObject($response->json, $opts);
37 $obj->setLastResponse($response);
38 return $obj;
39 }
40 }
41