InvoiceCreateOptions class final

Constructors

InvoiceCreateOptions({List<String>? accountTaxIds, int? applicationFeeAmount, bool? autoAdvance, SessionAutomaticTax? automaticTax, InvoiceCollectionMethod? collectionMethod, String? currency, List<InvoiceSettingCustomField>? customFields, String? customer, int? daysUntilDue, String? defaultPaymentMethod, String? defaultSource, List<String>? defaultTaxRates, String? description, List<InvoiceItemDiscountsItem>? discounts, DateTime? dueDate, DateTime? effectiveAt, List<String>? expand, String? footer, InvoiceCreateOptionsFromInvoice? fromInvoice, SessionLiability? issuer, Map<String, String>? metadata, String? number, String? onBehalfOf, InvoicePaymentSettings? paymentSettings, InvoicePendingInvoiceItemsBehavior? pendingInvoiceItemsBehavior, InvoiceCreateOptionsRendering? rendering, SessionRenderingOptions? renderingOptions, SessionShippingOptionsItem? shippingCost, InvoiceShippingDetails? shippingDetails, String? statementDescriptor, String? subscription, ChargeCreateOptionsTransferData? transferData})
const
InvoiceCreateOptions.fromJson(Object? json)
factory

Properties

accountTaxIds List<String>?
final
applicationFeeAmount int?
final
autoAdvance bool?
final
automaticTax SessionAutomaticTax?
final
collectionMethod InvoiceCollectionMethod?
final
currency String?
final
customer String?
final
customFields List<InvoiceSettingCustomField>?
final
daysUntilDue int?
final
defaultPaymentMethod String?
final
defaultSource String?
final
defaultTaxRates List<String>?
final
description String?
final
discounts List<InvoiceItemDiscountsItem>?
final
dueDate DateTime?
final
effectiveAt DateTime?
final
expand List<String>?
final
final
fromInvoice InvoiceCreateOptionsFromInvoice?
from_invoice
final
hashCode int
The hash code for this object.
no setterinherited
issuer SessionLiability?
final
metadata Map<String, String>?
final
number String?
final
onBehalfOf String?
final
paymentSettings InvoicePaymentSettings?
payment_settings
final
pendingInvoiceItemsBehavior InvoicePendingInvoiceItemsBehavior?
final
rendering InvoiceCreateOptionsRendering?
rendering_param
final
renderingOptions SessionRenderingOptions?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shippingCost SessionShippingOptionsItem?
final
shippingDetails InvoiceShippingDetails?
recipient_shipping_with_optional_fields_address
final
statementDescriptor String?
final
subscription String?
final
transferData ChargeCreateOptionsTransferData?
final

Methods

encodeWith<V>(Encoder<V> encoder) → V
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

encode<V>(InvoiceCreateOptions instance, Encoder<V> encoder) → V