factory CancelPaymentIntentOpts.fromJson(Map<String, dynamic> json) => _$CancelPaymentIntentOptsFromJson(json);