toJson method

Map<String, dynamic> toJson(
  1. dynamic extra
)

Implementation

Map<String, dynamic> toJson(extra) => {
      "auth_token": authToken ?? authToken,
      "amount_cents": amountCents ?? amountCents,
      "expiration": expiration ?? expiration,
      "order_id": orderId ?? orderId,
      "billing_data": billingData ?? billingData!.toJson(),
      "extra": extra ?? "",
      "currency": currency ?? currency,
      "integration_id": integrationId ?? integrationId,
      "lock_order_when_paid": lockOrderWhenPaid ?? lockOrderWhenPaid,
    };