InsufficientStockError class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true, checked: true)

Constructors

InsufficientStockError({required ErrorCode errorCode, required String message, required Order order, required int quantityAvailable})
InsufficientStockError.fromJson(Map<String, dynamic> json)
factory

Properties

errorCode → ErrorCode
final
hashCode → int
The hash code for this object.
no setteroverride
hasMessage → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeAlreadyLoggedInError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeCouponCodeExpiredError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeCouponCodeInvalidError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeCouponCodeLimitError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeEmailAddressConflictError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeGuestCheckoutError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeIdentifierChangeTokenExpiredError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeIdentifierChangeTokenInvalidError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeIneligiblePaymentMethodError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeIneligibleShippingMethodError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeInsufficientStockError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeInvalidCredentialsError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeMissingPasswordError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeNativeAuthStrategyError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeNegativeQuantityError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeNoActiveOrderError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeNotVerifiedError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeOrderLimitError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeOrderModificationError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeOrderPaymentStateError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeOrderStateTransitionError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodePasswordAlreadySetError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodePasswordResetTokenExpiredError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodePasswordResetTokenInvalidError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodePasswordValidationError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodePaymentDeclinedError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodePaymentFailedError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeUnknownError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeVerificationTokenExpiredError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
isErrorCodeVerificationTokenInvalidError → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
message → String
final
noMessage → bool

Available on InsufficientStockError, provided by the InsufficientStockErrorPropertyHelpers extension

no setter
order → Order
final
quantityAvailable → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareToInsufficientStockError(InsufficientStockError other) → Map<String, dynamic>

Available on InsufficientStockError, provided by the InsufficientStockErrorCompareE extension

copyWith({ErrorCode? errorCode, String? message, Order? order, int? quantityAvailable}) → InsufficientStockError
copyWithField<T>(Field<InsufficientStockError, T> field, T value) → InsufficientStockError
Returns a copy of this entity with field set to value.
copyWithInsufficientStockError({ErrorCode? errorCode, String? message, Order? order, int? quantityAvailable}) → InsufficientStockError
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patchWithInsufficientStockError([InsufficientStockErrorPatch? patchInput]) → InsufficientStockError
toJson() → Map<String, dynamic>

Available on InsufficientStockError, provided by the InsufficientStockErrorSerialization extension

toJsonLean() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

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