#[non_exhaustive]pub enum CustomerBalanceTransactionType {
Show 13 variants
Adjustment,
AppliedToInvoice,
CheckoutSessionSubscriptionPayment,
CheckoutSessionSubscriptionPaymentCanceled,
CreditNote,
Initial,
InvoiceOverpaid,
InvoiceTooLarge,
InvoiceTooSmall,
Migration,
UnappliedFromInvoice,
UnspentReceiverCredit,
Unknown(String),
}Expand description
Transaction type: adjustment, applied_to_invoice, credit_note, initial, invoice_overpaid, invoice_too_large, invoice_too_small, unspent_receiver_credit, unapplied_from_invoice, checkout_session_subscription_payment, or checkout_session_subscription_payment_canceled.
See the Customer Balance page to learn more about transaction types.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Adjustment
AppliedToInvoice
CheckoutSessionSubscriptionPayment
CheckoutSessionSubscriptionPaymentCanceled
CreditNote
Initial
InvoiceOverpaid
InvoiceTooLarge
InvoiceTooSmall
Migration
UnappliedFromInvoice
UnspentReceiverCredit
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for CustomerBalanceTransactionType
impl Clone for CustomerBalanceTransactionType
Source§fn clone(&self) -> CustomerBalanceTransactionType
fn clone(&self) -> CustomerBalanceTransactionType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl FromValueOpt for CustomerBalanceTransactionType
impl FromValueOpt for CustomerBalanceTransactionType
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for CustomerBalanceTransactionType
impl PartialEq for CustomerBalanceTransactionType
Source§fn eq(&self, other: &CustomerBalanceTransactionType) -> bool
fn eq(&self, other: &CustomerBalanceTransactionType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CustomerBalanceTransactionType
impl StructuralPartialEq for CustomerBalanceTransactionType
Auto Trait Implementations§
impl Freeze for CustomerBalanceTransactionType
impl RefUnwindSafe for CustomerBalanceTransactionType
impl Send for CustomerBalanceTransactionType
impl Sync for CustomerBalanceTransactionType
impl Unpin for CustomerBalanceTransactionType
impl UnwindSafe for CustomerBalanceTransactionType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more