PPCheckoutCallback constructor
PPCheckoutCallback({
- required dynamic onApprove(
- PPApprovalData approvalData
- dynamic onError(
- PPErrorInfo error
- dynamic onCancel()?,
- dynamic onShippingChange(
- PPShippingChangeData shippingChangeData
Implementation
PPCheckoutCallback({
required this.onApprove,
this.onError,
this.onCancel,
this.onShippingChange,
});