BoutiqueWeebi class
the String boutiqueId from server is on _deviceCloudIdentity.boutiqueId avoid confusing ids
- Inheritance
-
- Object
- BoutiqueAbstract
- BoutiqueWeebi
Constructors
- BoutiqueWeebi({required int id, String boutiqueId = '', required String name, required Phone phone, bool status = true, required DateTime? statusUpdateDate, required DateTime creationDate, required AddressWeebi addressFull, DateTime? updateDate, double promo = 0.0, required String languageCode, DateTime? promoStart, DateTime? promoEnd, PhotoSource logoSource = PhotoSource.unknown, String logoPath = '', String currencyCode = '', bool isDualCurrencyEnabled = false, String secondaryDisplayCurrency = '', String mail = ''})
- BoutiqueWeebi.fromJson(String source)
-
factory
-
BoutiqueWeebi.fromMap(Map<
String, dynamic> map) -
no need for isProto, only null checking on id
factory
Properties
- addressFull → AddressWeebi
-
finalinherited
- boutiqueId → String
-
final
- creationDate → DateTime
-
finalinherited
- currencyCode → String
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → int
-
finalinherited
- isDualCurrencyEnabled → bool
-
Display-only second line of prices (e.g. USD next to CDF). See firm/chain/boutique proto fields.
final
- languageCode → String
-
final
- logoPath → String
-
final
- logoSource → PhotoSource
-
final
- mail → String
-
finalinherited
- name → String
-
finalinherited
- phone → Phone
-
finalinherited
- promo → double
-
finalinherited
- promoEnd → DateTime?
-
final
- promoStart → DateTime?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryDisplayCurrency → String
-
ISO 4217; meaningful when isDualCurrencyEnabled is true.
final
-
no setter
- showsSecondaryDisplayCurrency → bool
-
Whether PoS should show the secondary amount (billing FX rules still apply).
no setter
- status → bool
-
finalinherited
- statusUpdateDate → DateTime?
-
finalinherited
- updateDate → DateTime?
-
finalinherited
Methods
-
copyWith(
{int? id, AddressWeebi? addressFull, String? boutiqueId, String? name, Phone? phone, String? mail, DateTime? updateDate, DateTime? creationDate, bool? status, DateTime? statusUpdateDate, double? promo, DateTime? promoStart, DateTime? promoEnd, PhotoSource? logoSource, String? logoPath, String? languageCode, String? currencyCode, bool? isDualCurrencyEnabled, String? secondaryDisplayCurrency}) → BoutiqueWeebi -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
override
-
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Properties
- dummy → BoutiqueWeebi
-
final
- unknownBoutiqueWeebi → BoutiqueWeebi
-
final