serialize method

  1. @override
void serialize(
  1. SerializationWriter writer
)
override

Serializes information the current object writer Serialization writer to use to serialize this model

Implementation

@override
void serialize(SerializationWriter writer) {
  writer.writeObjectValue<
          PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode>(
      'cashapp_handle_redirect_or_display_qr_code',
      cashappHandleRedirectOrDisplayQrCode);
  writer.writeObjectValue<SetupIntentNextActionRedirectToUrl>(
      'redirect_to_url', redirectToUrl);
  writer.writeStringValue('type', type_);
  writer.writeObjectValue<SetupIntentNextActionUseStripeSdk>(
      'use_stripe_sdk', useStripeSdk);
  writer.writeObjectValue<SetupIntentNextActionVerifyWithMicrodeposits>(
      'verify_with_microdeposits', verifyWithMicrodeposits);
  writer.writeAdditionalData(additionalData);
}