| 1 |
<?php |
| 2 |
|
| 3 |
// File generated from our OpenAPI spec |
| 4 |
|
| 5 |
namespace Stripe\Treasury; |
| 6 |
|
| 7 |
/** |
| 8 |
* TransactionEntries represent individual units of money movements within a single |
| 9 |
* <a href="https://stripe.com/docs/api#transactions">Transaction</a>. |
| 10 |
* |
| 11 |
* @property string $id Unique identifier for the object. |
| 12 |
* @property string $object String representing the object's type. Objects of the same type share the same value. |
| 13 |
* @property \Stripe\StripeObject $balance_impact Change to a FinancialAccount's balance |
| 14 |
* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. |
| 15 |
* @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>. |
| 16 |
* @property int $effective_at When the TransactionEntry will impact the FinancialAccount's balance. |
| 17 |
* @property string $financial_account The FinancialAccount associated with this object. |
| 18 |
* @property null|string $flow Token of the flow associated with the TransactionEntry. |
| 19 |
* @property null|\Stripe\StripeObject $flow_details Details of the flow associated with the TransactionEntry. |
| 20 |
* @property string $flow_type Type of the flow associated with the TransactionEntry. |
| 21 |
* @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. |
| 22 |
* @property string|\Stripe\Treasury\Transaction $transaction The Transaction associated with this object. |
| 23 |
* @property string $type The specific money movement that generated the TransactionEntry. |
| 24 |
*/ |
| 25 |
class TransactionEntry extends \Stripe\ApiResource |
| 26 |
{ |
| 27 |
const OBJECT_NAME = 'treasury.transaction_entry'; |
| 28 |
|
| 29 |
use \Stripe\ApiOperations\All; |
| 30 |
use \Stripe\ApiOperations\Retrieve; |
| 31 |
|
| 32 |
const FLOW_TYPE_CREDIT_REVERSAL = 'credit_reversal'; |
| 33 |
const FLOW_TYPE_DEBIT_REVERSAL = 'debit_reversal'; |
| 34 |
const FLOW_TYPE_INBOUND_TRANSFER = 'inbound_transfer'; |
| 35 |
const FLOW_TYPE_ISSUING_AUTHORIZATION = 'issuing_authorization'; |
| 36 |
const FLOW_TYPE_OTHER = 'other'; |
| 37 |
const FLOW_TYPE_OUTBOUND_PAYMENT = 'outbound_payment'; |
| 38 |
const FLOW_TYPE_OUTBOUND_TRANSFER = 'outbound_transfer'; |
| 39 |
const FLOW_TYPE_RECEIVED_CREDIT = 'received_credit'; |
| 40 |
const FLOW_TYPE_RECEIVED_DEBIT = 'received_debit'; |
| 41 |
|
| 42 |
const TYPE_CREDIT_REVERSAL = 'credit_reversal'; |
| 43 |
const TYPE_CREDIT_REVERSAL_POSTING = 'credit_reversal_posting'; |
| 44 |
const TYPE_DEBIT_REVERSAL = 'debit_reversal'; |
| 45 |
const TYPE_INBOUND_TRANSFER = 'inbound_transfer'; |
| 46 |
const TYPE_INBOUND_TRANSFER_RETURN = 'inbound_transfer_return'; |
| 47 |
const TYPE_ISSUING_AUTHORIZATION_HOLD = 'issuing_authorization_hold'; |
| 48 |
const TYPE_ISSUING_AUTHORIZATION_RELEASE = 'issuing_authorization_release'; |
| 49 |
const TYPE_OTHER = 'other'; |
| 50 |
const TYPE_OUTBOUND_PAYMENT = 'outbound_payment'; |
| 51 |
const TYPE_OUTBOUND_PAYMENT_CANCELLATION = 'outbound_payment_cancellation'; |
| 52 |
const TYPE_OUTBOUND_PAYMENT_FAILURE = 'outbound_payment_failure'; |
| 53 |
const TYPE_OUTBOUND_PAYMENT_POSTING = 'outbound_payment_posting'; |
| 54 |
const TYPE_OUTBOUND_PAYMENT_RETURN = 'outbound_payment_return'; |
| 55 |
const TYPE_OUTBOUND_TRANSFER = 'outbound_transfer'; |
| 56 |
const TYPE_OUTBOUND_TRANSFER_CANCELLATION = 'outbound_transfer_cancellation'; |
| 57 |
const TYPE_OUTBOUND_TRANSFER_FAILURE = 'outbound_transfer_failure'; |
| 58 |
const TYPE_OUTBOUND_TRANSFER_POSTING = 'outbound_transfer_posting'; |
| 59 |
const TYPE_OUTBOUND_TRANSFER_RETURN = 'outbound_transfer_return'; |
| 60 |
const TYPE_RECEIVED_CREDIT = 'received_credit'; |
| 61 |
const TYPE_RECEIVED_DEBIT = 'received_debit'; |
| 62 |
} |
| 63 |
|