芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/www/status.pulsehost.co.uk/vendor/stripe/stripe-php/lib/Issuing/Dispute.php
card issuer, you can dispute transactions that the cardholder does not recognize, suspects to be fraudulent, or has other issues with. * * Related guide:
Issuing disputes
* * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. * @property int $amount Disputed amount in the card's currency and in the
smallest currency unit
. Usually the amount of the
transaction
, but can differ (usually because of currency fluctuation). * @property null|\Stripe\BalanceTransaction[] $balance_transactions List of balance transactions associated with the dispute. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property string $currency The currency the
transaction
was made in. * @property \Stripe\StripeObject $evidence * @property bool $livemode Has the value
true
if the object exists in live mode or the value
false
if the object exists in test mode. * @property \Stripe\StripeObject $metadata Set of
key-value pairs
that you can attach to an object. This can be useful for storing additional information about the object in a structured format. * @property string $status Current status of the dispute. * @property string|\Stripe\Issuing\Transaction $transaction The transaction being disputed. * @property null|\Stripe\StripeObject $treasury
Treasury
details related to this dispute if it was created on a [FinancialAccount](/docs/api/treasury/financial_accounts */ class Dispute extends \Stripe\ApiResource { const OBJECT_NAME = 'issuing.dispute'; use \Stripe\ApiOperations\All; use \Stripe\ApiOperations\Create; use \Stripe\ApiOperations\Retrieve; use \Stripe\ApiOperations\Update; const STATUS_EXPIRED = 'expired'; const STATUS_LOST = 'lost'; const STATUS_SUBMITTED = 'submitted'; const STATUS_UNSUBMITTED = 'unsubmitted'; const STATUS_WON = 'won'; /** * @param null|array $params * @param null|array|string $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Issuing\Dispute the submited dispute */ public function submit($params = null, $opts = null) { $url = $this->instanceUrl() . '/submit'; list($response, $opts) = $this->_request('post', $url, $params, $opts); $this->refreshFrom($response, $opts); return $this; } }