CreditNoteCreateOptions class final

Constructors

CreditNoteCreateOptions({int? amount, int? creditAmount, DateTime? effectiveAt, List<String>? expand, required String invoice, List<CreditNoteLinesItem>? lines, String? memo, Map<String, String>? metadata, int? outOfBandAmount, CreditNoteCreateOptionsReason? reason, String? refund, int? refundAmount, CreditNoteShippingCost? shippingCost})
const
CreditNoteCreateOptions.fromJson(Object? json)
factory

Properties

amount → int?
final
creditAmount → int?
final
effectiveAt → DateTime?
final
expand → List<String>?
final
hashCode → int
The hash code for this object.
no setterinherited
invoice → String
final
lines → List<CreditNoteLinesItem>?
final
memo → String?
final
metadata → Map<String, String>?
final
outOfBandAmount → int?
final
reason → CreditNoteCreateOptionsReason?
final
refund → String?
final
refundAmount → int?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shippingCost → CreditNoteShippingCost?
credit_note_shipping_cost
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>(CreditNoteCreateOptions instance, Encoder<V> encoder) → V