| 1 |
<?php |
| 2 |
|
| 3 |
// File generated from our OpenAPI spec |
| 4 |
|
| 5 |
namespace Stripe\Issuing; |
| 6 |
|
| 7 |
/** |
| 8 |
* Any use of an <a href="https://stripe.com/docs/issuing">issued card</a> that |
| 9 |
* results in funds entering or leaving your Stripe account, such as a completed |
| 10 |
* purchase or refund, is represented by an Issuing <code>Transaction</code> |
| 11 |
* object. |
| 12 |
* |
| 13 |
* Related guide: <a |
| 14 |
* href="https://stripe.com/docs/issuing/purchases/transactions">Issued Card |
| 15 |
* Transactions</a>. |
| 16 |
* |
| 17 |
* @property string $id Unique identifier for the object. |
| 18 |
* @property string $object String representing the object's type. Objects of the same type share the same value. |
| 19 |
* @property int $amount The transaction amount, which will be reflected in your balance. This amount is in your currency and in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>. |
| 20 |
* @property null|\Stripe\StripeObject $amount_details Detailed breakdown of amount components. These amounts are denominated in <code>currency</code> and in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>. |
| 21 |
* @property null|string|\Stripe\Issuing\Authorization $authorization The <code>Authorization</code> object that led to this transaction. |
| 22 |
* @property null|string|\Stripe\BalanceTransaction $balance_transaction ID of the <a href="https://stripe.com/docs/api/balance_transactions">balance transaction</a> associated with this transaction. |
| 23 |
* @property string|\Stripe\Issuing\Card $card The card used to make this transaction. |
| 24 |
* @property null|string|\Stripe\Issuing\Cardholder $cardholder The cardholder to whom this transaction belongs. |
| 25 |
* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. |
| 26 |
* @property string $currency Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency code</a>, in lowercase. Must be a <a href="https://stripe.com/docs/currencies">supported currency</a>. |
| 27 |
* @property null|string|\Stripe\Issuing\Dispute $dispute If you've disputed the transaction, the ID of the dispute. |
| 28 |
* @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. |
| 29 |
* @property int $merchant_amount The amount that the merchant will receive, denominated in <code>merchant_currency</code> and in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>. It will be different from <code>amount</code> if the merchant is taking payment in a different currency. |
| 30 |
* @property string $merchant_currency The currency with which the merchant is taking payment. |
| 31 |
* @property \Stripe\StripeObject $merchant_data |
| 32 |
* @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. |
| 33 |
* @property null|\Stripe\StripeObject $purchase_details Additional purchase information that is optionally provided by the merchant. |
| 34 |
* @property string $type The nature of the transaction. |
| 35 |
* @property null|string $wallet The digital wallet used for this transaction. One of <code>apple_pay</code>, <code>google_pay</code>, or <code>samsung_pay</code>. |
| 36 |
*/ |
| 37 |
class Transaction extends \Stripe\ApiResource |
| 38 |
{ |
| 39 |
const OBJECT_NAME = 'issuing.transaction'; |
| 40 |
|
| 41 |
use \Stripe\ApiOperations\All; |
| 42 |
use \Stripe\ApiOperations\Retrieve; |
| 43 |
use \Stripe\ApiOperations\Update; |
| 44 |
} |
| 45 |
|