PaymentConfig class
Represents the payment configuration.
Constructors
- PaymentConfig({required String environment, required String action, required String clientId, required String merchantId, required Order order, required Billing billing, required Shipping shipping, required Appearance appearance})
- Creates a new instance of PaymentConfig with the given parameters.
-
PaymentConfig.fromJson(Map<
String, dynamic> json) -
Creates a new instance of PaymentConfig from a JSON object.
factory
Properties
- action → String
-
The action to be performed.
final
- appearance → Appearance
-
The appearance settings for the payment process.
final
- billing → Billing
-
The billing details for the payment process.
final
- clientId → String
-
The client ID for the payment process.
final
- environment → String
-
The environment for the payment process.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- merchantId → String
-
The merchant ID for the payment process.
final
- order → Order
-
The order details for the payment process.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shipping → Shipping
-
The shipping details for the payment process.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts the PaymentConfig instance to a JSON object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited