Extra constructor

Extra({
  1. String? cardQuota,
  2. String? sellerName,
  3. int? deliveryDay,
  4. String? locale,
  5. String? offerPeriod,
  6. bool? displayCashReceipt,
  7. String? depositExpiration,
  8. String? appScheme,
  9. bool? useCardPoint,
  10. String? directCardCompany,
  11. String? directCardQuota,
  12. bool? useOrderId,
  13. bool? internationalCardOnly,
  14. String? phoneCarrier,
  15. bool? directSamsungpay,
  16. bool? testDeposit,
  17. bool? enableErrorWebhook,
  18. bool? separatelyConfirmed,
  19. bool? confirmOnlyRestApi,
  20. String? openType,
  21. bool? useBootpayInappSdk,
  22. String? redirectUrl,
  23. bool? displaySuccessResult,
  24. bool? displayErrorResult,
  25. bool? subscribeTestPayment,
  26. List<BrowserOpenType>? browserOpenType,
  27. int? useWelcomepayment,
  28. String? firstSubscriptionComment,
  29. List<String>? enableCardCompanies,
  30. List<String>? exceptCardCompanies,
  31. List<String>? enableEasyPayments,
  32. int? confirmGraceSeconds,
  33. int? ageLimit,
  34. bool? escrow,
  35. bool? showCloseButton,
  36. int? timeout,
  37. bool? commonEventWebhook,
  38. double? deliveryPrice,
  39. bool? useExtraDeduction,
  40. bool? directCardInterest,
  41. String? easyPaymentMethod,
  42. String? cashReceiptType,
  43. String? identityNo,
  44. String? subscriptionComment,
})

Implementation

Extra({
  this.cardQuota,
  this.sellerName,
  this.deliveryDay,
  this.locale,
  this.offerPeriod,
  this.displayCashReceipt,
  this.depositExpiration,
  this.appScheme,
  this.useCardPoint,
  this.directCardCompany,
  this.directCardQuota,
  this.useOrderId,
  this.internationalCardOnly,
  this.phoneCarrier,
  this.directSamsungpay,
  this.testDeposit,
  this.enableErrorWebhook,
  this.separatelyConfirmed,
  this.confirmOnlyRestApi,
  this.openType,
  this.useBootpayInappSdk,
  this.redirectUrl,
  this.displaySuccessResult,
  this.displayErrorResult,
  this.subscribeTestPayment,
  // this.disposableCupDeposit,
  this.browserOpenType,
  this.useWelcomepayment,
  this.firstSubscriptionComment,
  this.enableCardCompanies,
  this.exceptCardCompanies,
  this.enableEasyPayments,
  this.confirmGraceSeconds,
  this.ageLimit,
  this.escrow,
  this.showCloseButton,
  this.timeout,
  this.commonEventWebhook,
  this.deliveryPrice,
  this.useExtraDeduction,
  this.directCardInterest,
  this.easyPaymentMethod,
  this.cashReceiptType,
  this.identityNo,
  this.subscriptionComment,
}) {
  this.deliveryDay = this.deliveryDay ?? 1;
  this.displayCashReceipt = this.displayCashReceipt ?? true;
  this.separatelyConfirmed = this.separatelyConfirmed ?? true;
  this.locale = this.locale ?? 'ko';
  this.openType = this.openType ?? 'redirect';
  this.useBootpayInappSdk = this.useBootpayInappSdk ?? true;
  this.redirectUrl = this.redirectUrl ?? 'https://api.bootpay.co.kr/v2';
  this.displayErrorResult = this.displayErrorResult ?? true;
  this.subscribeTestPayment = this.subscribeTestPayment ?? true;
  this.confirmGraceSeconds = this.confirmGraceSeconds ?? 10;
  this.timeout = this.timeout ?? 30;
}