BootpayWidgetController class
위젯 컨트롤러 (네이티브 SDK와 동일한 구조)
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isExpanded → bool
-
no setter
- onWidgetChangeAgreeTerm ↔ WidgetChangePaymentCallback?
-
getter/setter pair
- onWidgetChangePayment ↔ WidgetChangePaymentCallback?
-
getter/setter pair
- onWidgetReady ↔ BootpayCloseCallback?
-
getter/setter pair
- onWidgetResize ↔ WidgetResizeCallback?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- widgetData → WidgetData?
-
no setter
- widgetHeight → double
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reloadWidget(
) → void - 위젯 재로드 (에러/취소 후 재시도 시 사용)
-
requestPayment(
{Payload? payload, BootpayDefaultCallback? onError, BootpayDefaultCallback? onCancel, BootpayCloseCallback? onClose, BootpayDefaultCallback? onIssued, BootpayConfirmCallback? onConfirm, BootpayAsyncConfirmCallback? onConfirmAsync, BootpayDefaultCallback? onDone, required BuildContext context}) → void - 결제 요청 (iOS Swift SDK와 동일하게 기존 웹뷰를 전체화면으로 확장)
-
requestPaymentDirect(
{Payload? payload, BootpayDefaultCallback? onError, BootpayDefaultCallback? onCancel, BootpayCloseCallback? onClose, BootpayDefaultCallback? onIssued, BootpayConfirmCallback? onConfirm, BootpayAsyncConfirmCallback? onConfirmAsync, BootpayDefaultCallback? onDone}) → void - 결제 요청 (전체화면 전환 없이 기존 웹뷰에서 직접 실행) iOS Swift SDK와 동일하게 기존 웹뷰에서 결제 진행
-
toString(
) → String -
A string representation of this object.
inherited
-
transactionConfirm(
) → void - 결제 확인 (confirm 이벤트에서 호출)
-
update(
{Payload? payload, bool? refresh}) → void -
위젯 업데이트
payload업데이트할 페이로드refreshtrue일 경우 위젯 전체 새로고침
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited