PaypalPayment constructor
const
PaypalPayment({
- Key? key,
- bool isDebugMode = false,
- required String paypalAuthApi,
- required String paypalPaymentApi,
- required BasicData paymentDetails,
- required ShippingAddress shippingAddress,
- required String clientId,
- required String secretKey,
- required String initialUrl,
- required ValueChanged<
String> paymentId, - String returnUrl = "https://example.com",
- String cancelUrl = "https://example.com",
Implementation
const PaypalPayment({
Key? key,
this.isDebugMode = false,
required this.paypalAuthApi,
required this.paypalPaymentApi,
required this.paymentDetails,
required this.shippingAddress,
required this.clientId,
required this.secretKey,
required this.initialUrl,
required this.paymentId,
this.returnUrl = "https://example.com",
this.cancelUrl = "https://example.com",
}) : super(key: key);