PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.8.13
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.8.13
1.8.13.1 1.8.13 1.8.12.3 1.8.12.2 1.8.12.1 1.8.12 1.8.11.3 1.8.11.2 1.8.11.1 1.8.11 1.6.6 1.6.60 1.6.7 1.6.8 1.6.9 1.7.0 1.7.0.1 1.7.0.11 1.7.0.12 1.7.0.14 1.7.0.2 1.7.0.3 1.7.0.5 1.7.0.6 1.7.0.7 All 212 releases
charitable / vendor / stripe / stripe-php / lib / Issuing / Dispute.php

Dispute.php in Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) 1.8.13, at vendor/stripe/stripe-php/lib/Issuing/Dispute.php

55 lines 2.7 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 in the card's currency and in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>. 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 * @property null|\Stripe\StripeObject $treasury <a href="https://stripe.com/docs/api/treasury">Treasury</a> details related to this dispute if it was created on a [FinancialAccount](/docs/api/treasury/financial_accounts
28 */
29 class Dispute extends \Stripe\ApiResource
30 {
31 const OBJECT_NAME = 'issuing.dispute';
32
33 use \Stripe\ApiOperations\All;
34 use \Stripe\ApiOperations\Create;
35 use \Stripe\ApiOperations\Retrieve;
36 use \Stripe\ApiOperations\Update;
37
38 /**
39 * @param null|array $params
40 * @param null|array|string $opts
41 *
42 * @throws \Stripe\Exception\ApiErrorException if the request fails
43 *
44 * @return \Stripe\Issuing\Dispute the submited dispute
45 */
46 public function submit($params = null, $opts = null)
47 {
48 $url = $this->instanceUrl() . '/submit';
49 list($response, $opts) = $this->_request('post', $url, $params, $opts);
50 $this->refreshFrom($response, $opts);
51
52 return $this;
53 }
54 }
55