SettingsDiscountProfile class

The settings discount profile body.

Inheritance

Constructors

SettingsDiscountProfile({SettingsDiscountProfileAccountingCode? accountingCode, Object? createdBy, String? createdOn, String? description, String? discountType, String? displayName, String? endTime, double? fixedAmount, String? href, String? id, String? invoiceNote, Object? lastUpdatedBy, String? lastUpdatedOn, int? maxUsePerAccount, int? maxUsePerOrder, int? maxUseTotal, String? name, String? object, String? ownerType, double? percentageAmount, bool? priceIsInclusiveOfDiscount, int? priority, bool? redemptionRequired, bool? stackable, String? startTime, String? status, SettingsDiscountProfileTaxCode? taxCode, int? version})
const

Properties

accountingCode → SettingsDiscountProfileAccountingCode?
final
createdBy → Object?
final
createdOn → String?
final
description → String?
final
discountType → String?
final
displayName → String?
final
endTime → String?
final
envelopeKey → String?
The key the API wraps this record in - 'account' for {"account": {...}}. readRecord unwraps it on the way in, toMap puts it back on the way out.
no setterinherited
fields → Map<String, Object?>
Every field this type declares, keyed by wire name, in the order it sends them.
no setteroverride
fixedAmount → double?
final
hashCode → int
The hash code for this object.
no setterinherited
href → String?
final
id → String?
final
invoiceNote → String?
final
lastUpdatedBy → Object?
final
lastUpdatedOn → String?
final
maxUsePerAccount → int?
final
maxUsePerOrder → int?
final
maxUseTotal → int?
final
name → String?
final
object → String?
final
ownerType → String?
final
percentageAmount → double?
final
priceIsInclusiveOfDiscount → bool?
final
priority → int?
final
redemptionRequired → bool?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stackable → bool?
final
startTime → String?
final
status → String?
final
taxCode → SettingsDiscountProfileTaxCode?
final
topLevelFields → Set<String>
Fields that sit beside the envelope rather than inside it.
no setterinherited
version → int?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, Object?>
The body this DTO stands for, envelope included.
inherited
toString() → String
Set fields, values under a secret-named key masked.
inherited

Operators

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

Static Methods

fromMap(Object? body) → SettingsDiscountProfile?