DeletedDiscount class final

DeletedDiscount

Implemented types

Constructors

DeletedDiscount({String? checkoutSession, required Coupon coupon, BankAccountCustomerOrId? customer, required String id, String? invoice, String? invoiceItem, PromotionCodeOrId? promotionCode, required DateTime start, String? subscription})
DeletedDiscount
const
DeletedDiscount.fromJson(Object? json)
factory

Properties

checkoutSession String?
final
coupon Coupon
final
customer BankAccountCustomerOrId?
final
deleted bool
final
hashCode int
The hash code for this object.
no setterinherited
id String
The ID of the DiscountsResourceDiscountAmountDiscount.
final
invoice String?
final
invoiceItem String?
final
object String
final
promotionCode PromotionCodeOrId?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start DateTime
final
subscription String?
final

Methods

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

Operators

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

Static Methods

encode<V>(DeletedDiscount instance, Encoder<V> encoder) → V
override