PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.15.4
GiveWP – Donation Plugin and Fundraising Platform v4.15.4
4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 All 255 releases
give / vendor / stripe / stripe-php / lib / Issuing / Dispute.php

Dispute.php in GiveWP – Donation Plugin and Fundraising Platform 4.15.4, at vendor/stripe/stripe-php/lib/Issuing/Dispute.php

54 lines 2.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // File generated from our OpenAPI spec
4
5 namespace Stripe\Issuing;
6
7 /**
8 * As a <a href="https://stripe.com/docs/issuing">card issuer</a>, you can dispute
9 * transactions that the cardholder does not recognize, suspects to be fraudulent,
10 * or has other issues with.
11 *
12 * Related guide: <a
13 * href="https://stripe.com/docs/issuing/purchases/disputes">Disputing
14 * Transactions</a>
15 *
16 * @property string $id Unique identifier for the object.
17 * @property string $object String representing the object's type. Objects of the same type share the same value.
18 * @property int $amount Disputed amount. Usually the amount of the <code>transaction</code>, but can differ (usually because of currency fluctuation).
19 * @property null|\Stripe\BalanceTransaction[] $balance_transactions List of balance transactions associated with the dispute.
20 * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
21 * @property string $currency The currency the <code>transaction</code> was made in.
22 * @property \Stripe\StripeObject $evidence
23 * @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.
24 * @property \Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
25 * @property string $status Current status of the dispute.
26 * @property string|\Stripe\Issuing\Transaction $transaction The transaction being disputed.
27 */
28 class Dispute extends \Stripe\ApiResource
29 {
30 const OBJECT_NAME = 'issuing.dispute';
31
32 use \Stripe\ApiOperations\All;
33 use \Stripe\ApiOperations\Create;
34 use \Stripe\ApiOperations\Retrieve;
35 use \Stripe\ApiOperations\Update;
36
37 /**
38 * @param null|array $params
39 * @param null|array|string $opts
40 *
41 * @throws \Stripe\Exception\ApiErrorException if the request fails
42 *
43 * @return \Stripe\Issuing\Dispute the submited dispute
44 */
45 public function submit($params = null, $opts = null)
46 {
47 $url = $this->instanceUrl() . '/submit';
48 list($response, $opts) = $this->_request('post', $url, $params, $opts);
49 $this->refreshFrom($response, $opts);
50
51 return $this;
52 }
53 }
54