pub struct BillingCreditBalanceTransaction {
pub created: Timestamp,
pub credit: Option<BillingCreditGrantsResourceBalanceCredit>,
pub credit_grant: Expandable<BillingCreditGrant>,
pub debit: Option<BillingCreditGrantsResourceBalanceDebit>,
pub effective_at: Timestamp,
pub id: BillingCreditBalanceTransactionId,
pub livemode: bool,
pub test_clock: Option<Expandable<TestHelpersTestClock>>,
pub type_: Option<BillingCreditBalanceTransactionType>,
}
Expand description
A credit balance transaction is a resource representing a transaction (either a credit or a debit) against an existing credit grant.
Fields§
§created: Timestamp
Time at which the object was created. Measured in seconds since the Unix epoch.
credit: Option<BillingCreditGrantsResourceBalanceCredit>
Credit details for this credit balance transaction. Only present if type is credit
.
credit_grant: Expandable<BillingCreditGrant>
The credit grant associated with this credit balance transaction.
debit: Option<BillingCreditGrantsResourceBalanceDebit>
Debit details for this credit balance transaction. Only present if type is debit
.
effective_at: Timestamp
The effective time of this credit balance transaction.
id: BillingCreditBalanceTransactionId
Unique identifier for the object.
livemode: bool
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
test_clock: Option<Expandable<TestHelpersTestClock>>
ID of the test clock this credit balance transaction belongs to.
type_: Option<BillingCreditBalanceTransactionType>
The type of credit balance transaction (credit or debit).
Trait Implementations§
Source§impl Clone for BillingCreditBalanceTransaction
impl Clone for BillingCreditBalanceTransaction
Source§fn clone(&self) -> BillingCreditBalanceTransaction
fn clone(&self) -> BillingCreditBalanceTransaction
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more