PPCheckoutCallback constructor

PPCheckoutCallback({
  1. required dynamic onApprove(
    1. PPApprovalData approvalData
    ),
  2. dynamic onError(
    1. PPErrorInfo error
    )?,
  3. dynamic onCancel()?,
  4. dynamic onShippingChange(
    1. PPShippingChangeData shippingChangeData
    )?,
})

Implementation

PPCheckoutCallback({
  required this.onApprove,
  this.onError,
  this.onCancel,
  this.onShippingChange,
});