serialize method
Serializes information the current object
writer Serialization writer to use to serialize this model
Implementation
@override
void serialize(SerializationWriter writer) {
writer.writeObjectValue<PaymentIntentNextActionAlipayHandleRedirect>(
'alipay_handle_redirect', alipayHandleRedirect);
writer.writeObjectValue<PaymentIntentNextActionBoleto>(
'boleto_display_details', boletoDisplayDetails);
writer.writeObjectValue<PaymentIntentNextActionCardAwaitNotification>(
'card_await_notification', cardAwaitNotification);
writer.writeObjectValue<
PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode>(
'cashapp_handle_redirect_or_display_qr_code',
cashappHandleRedirectOrDisplayQrCode);
writer.writeObjectValue<
PaymentIntentNextActionDisplayBankTransferInstructions>(
'display_bank_transfer_instructions', displayBankTransferInstructions);
writer.writeObjectValue<PaymentIntentNextActionKonbini>(
'konbini_display_details', konbiniDisplayDetails);
writer.writeObjectValue<PaymentIntentNextActionDisplayMultibancoDetails>(
'multibanco_display_details', multibancoDisplayDetails);
writer.writeObjectValue<PaymentIntentNextActionDisplayOxxoDetails>(
'oxxo_display_details', oxxoDisplayDetails);
writer.writeObjectValue<PaymentIntentNextActionPaynowDisplayQrCode>(
'paynow_display_qr_code', paynowDisplayQrCode);
writer.writeObjectValue<PaymentIntentNextActionPixDisplayQrCode>(
'pix_display_qr_code', pixDisplayQrCode);
writer.writeObjectValue<PaymentIntentNextActionPromptpayDisplayQrCode>(
'promptpay_display_qr_code', promptpayDisplayQrCode);
writer.writeObjectValue<PaymentIntentNextActionRedirectToUrl>(
'redirect_to_url', redirectToUrl);
writer.writeObjectValue<
PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCode>(
'swish_handle_redirect_or_display_qr_code',
swishHandleRedirectOrDisplayQrCode);
writer.writeStringValue('type', type_);
writer.writeObjectValue<PaymentIntentNextActionUseStripeSdk>(
'use_stripe_sdk', useStripeSdk);
writer.writeObjectValue<PaymentIntentNextActionVerifyWithMicrodeposits>(
'verify_with_microdeposits', verifyWithMicrodeposits);
writer.writeObjectValue<PaymentIntentNextActionWechatPayDisplayQrCode>(
'wechat_pay_display_qr_code', wechatPayDisplayQrCode);
writer
.writeObjectValue<PaymentIntentNextActionWechatPayRedirectToAndroidApp>(
'wechat_pay_redirect_to_android_app',
wechatPayRedirectToAndroidApp);
writer.writeObjectValue<PaymentIntentNextActionWechatPayRedirectToIosApp>(
'wechat_pay_redirect_to_ios_app', wechatPayRedirectToIosApp);
writer.writeAdditionalData(additionalData);
}