SSLCProductInitializer class
- Annotations
-
- @JsonSerializable()
Constructors
- SSLCProductInitializer.new({required String productName, required String productCategory, required General? general})
-
SSLCProductInitializer.fromJson(Map<
String, dynamic> json) -
factory
- SSLCProductInitializer.WithNonPhysicalGoodsProfile({required String productName, required String productCategory, required NonPhysicalGoods? nonPhysicalGoods})
- SSLCProductInitializer.WithPhysicalGoodsProfile({required String productName, required String productCategory, required PhysicalGoods? physicalGoods})
- SSLCProductInitializer.WithTelecomVerticalProfile({required String productName, required String productCategory, required TelecomVertical? telecomVertical})
- SSLCProductInitializer.WithTravelVerticalProfile({required String productName, required String productCategory, required TravelVertical? travelVertical})
Properties
- airlinesTicket ↔ AirlinesTicket?
-
getter/setter pair
- cart ↔ String?
-
getter/setter pair
- convenienceFee ↔ double?
-
getter/setter pair
- discountAmount ↔ double?
-
getter/setter pair
- general ↔ General?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- nonPhysicalGoods ↔ NonPhysicalGoods?
-
getter/setter pair
- physicalGoods ↔ PhysicalGoods?
-
getter/setter pair
- productAmount ↔ double?
-
getter/setter pair
- productCategory ↔ String
-
getter/setter pair
- productName ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- telecomVertical ↔ TelecomVertical?
-
getter/setter pair
- travelVertical ↔ TravelVertical?
-
getter/setter pair
- vat ↔ double?
-
getter/setter pair
Methods
-
addCart(
String cart) → SSLCProductInitializer -
addConvenienceFee(
double convenienceFee) → SSLCProductInitializer -
addDiscountAmount(
double discountAmount) → SSLCProductInitializer -
addProductAmount(
double productAmount) → SSLCProductInitializer -
addVat(
double vat) → SSLCProductInitializer -
getAirlinesTicket(
) → AirlinesTicket -
getCart(
) → String? -
getConvenienceFee(
) → double? -
getDiscountAmount(
) → double? -
getGeneral(
) → General -
getNonPhysicalGoods(
) → NonPhysicalGoods -
getPhysicalGoods(
) → PhysicalGoods? -
getProductAmount(
) → double? -
getProductCategory(
) → String -
getProductName(
) → String -
getTelecomVertical(
) → TelecomVertical -
getTravelVertical(
) → TravelVertical -
getVat(
) → double? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAirlinesTicket(
{required AirlinesTicket airlinesTicket}) → void -
setCart(
String cart) → void -
setConvenienceFee(
double convenienceFee) → void -
setDiscountAmount(
double discountAmount) → void -
setGeneral(
{required General general}) → void -
setNonPhysicalGoods(
{required NonPhysicalGoods nonPhysicalGoods}) → void -
setPhysicalGoods(
PhysicalGoods physicalGoods) → void -
setProductAmount(
double productAmount) → void -
setProductCategory(
String productCategory) → void -
setProductName(
String productName) → void -
setTelecomVertical(
{required TelecomVertical telecomVertical}) → void -
setTravelVertical(
{required TravelVertical travelVertical}) → void -
setVat(
double vat) → void -
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited