OrderContractProperties class
A Order's contract_properties.
Constructors
- OrderContractProperties({bool? allowDowngrade, bool? allowDowngradeCharge, bool? allowEarlyTermination, bool? allowPostponement, bool? allowTrial, bool? allowUpgrade, String? autoRenewalEndsOn, bool? autoRenewalRequireCustomerAcceptance, String? autoRenewalTerm, String? downgradeChargeFixed, String? downgradeChargeType, String? initialContractTerm, String? periodBeforeDowngrade, String? renewAutomatically, bool? requireCustomerAcceptance, bool? requiresPaymentMethod, String? terminationAccountingCode, String? terminationNoticePeriod})
-
const
Properties
- allowDowngrade → bool?
-
final
- allowDowngradeCharge → bool?
-
final
- allowEarlyTermination → bool?
-
final
- allowPostponement → bool?
-
final
- allowTrial → bool?
-
final
- allowUpgrade → bool?
-
final
- autoRenewalEndsOn → String?
-
final
- autoRenewalRequireCustomerAcceptance → bool?
-
final
- autoRenewalTerm → String?
-
final
- downgradeChargeFixed → String?
-
final
- downgradeChargeType → String?
-
final
- envelopeKey → String?
-
The key the API wraps this record in -
'account'for{"account": {...}}.readRecordunwraps 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
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialContractTerm → String?
-
final
- periodBeforeDowngrade → String?
-
final
- renewAutomatically → String?
-
final
- requireCustomerAcceptance → bool?
-
final
- requiresPaymentMethod → bool?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- terminationAccountingCode → String?
-
final
- terminationNoticePeriod → String?
-
final
-
topLevelFields
→ Set<
String> -
Fields that sit beside the envelope rather than inside it.
no setterinherited
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) → OrderContractProperties?