CustomerBalanceTransaction constructor
      const
      CustomerBalanceTransaction({ 
    
- required int amount,
- required DateTime created,
- CreditNoteOrId? creditNote,
- required String currency,
- required CustomerOrId customer,
- String? description,
- required int endingBalance,
- required String id,
- InvoiceOrId? invoice,
- required bool livemode,
- Map<String, String> ? metadata,
- required CustomerBalanceTransactionType type,
CustomerBalanceTransaction
Each customer has a [Balance](https://stripe.com/docs/api/customers/object#customer_object-balance) value, which denotes a debit or credit that's automatically applied to their next invoice upon finalization. You may modify the value directly by using the [update customer API](https://stripe.com/docs/api/customers/update), or by creating a Customer Balance Transaction, which increments or decrements the customer's `balance` by the specified `amount`. Related guide: [Customer balance](https://stripe.com/docs/billing/customer/balance)
Implementation
const CustomerBalanceTransaction({
  required this.amount,
  required this.created,
  this.creditNote,
  required this.currency,
  required this.customer,
  this.description,
  required this.endingBalance,
  required this.id,
  this.invoice,
  required this.livemode,
  this.metadata,
  required this.type,
});