HyperpayConfig class

Payments can happen either on Test or Live mode, each mode has a different set of entity IDs, these are provided by HyperPay along with your merchant account.

You have to implement this class as an interface to define both environment with its properties.

class TestConfig implements HyperpayConfig {
  PaymentMode paymentMode = PaymentMode.test;
  String? creditcardEntityID = 'PASTE CREDIT CARD ENTITY ID';
  String? madaEntityID = 'PASTE MADA ENTITY ID';
}

Constructors

HyperpayConfig()

Properties

applePayEntityID String?
getter/setter pair
checkoutEndpoint Uri
getter/setter pair
creditcardEntityID String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
madaEntityID String?
getter/setter pair
paymentMode PaymentMode
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusEndpoint Uri
getter/setter pair

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