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
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