AdminVoucherBuilder class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
) → AdminVoucher -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withArchived(
) → AdminVoucherBuilder - An admin stopped the voucher.
-
withCode(
String code) → AdminVoucherBuilder -
withCreditAmountCents(
int creditAmountCents) → AdminVoucherBuilder -
withCreditLifetimeDays(
int? creditLifetimeDays) → AdminVoucherBuilder -
withMaxRedemptions(
int? maxRedemptions) → AdminVoucherBuilder -
withName(
String name) → AdminVoucherBuilder -
withPaysForItemIds(
List< String> paysForItemIds) → AdminVoucherBuilder -
withRedeemableUntil(
DateTime? redeemableUntil) → AdminVoucherBuilder -
withRedemptionCount(
int redemptionCount) → AdminVoucherBuilder
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited