PaymentSDKCardDiscount class

PaymentSDKCardDiscount is a class that represents a discount card.

It has four properties: discountCards, discountValue, discountTitle, and isPercentage.

Available extensions

Constructors

PaymentSDKCardDiscount({required List<String> discountCards, required double discountValue, required String discountTitle, required bool isPercentage})
The constructor for the PaymentSDKCardDiscount class.

Properties

discountCards List<String>
A list of strings representing the discount cards.
getter/setter pair
discountTitle String
A string representing the title of the discount.
getter/setter pair
discountValue double
A double representing the value of the discount.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isPercentage bool
A boolean indicating whether the discount is a percentage or not.
getter/setter pair
map Map<String, dynamic>

Available on PaymentSDKCardDiscount, provided by the PaymentSDKCardDiscountExtension extension

A getter that converts the PaymentSDKCardDiscount object's data into a map.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited