serialize method
Serializes information the current object
writer Serialization writer to use to serialize this model
Implementation
@override
void serialize(SerializationWriter writer) {
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsAcssDebit>(
'acss_debit', acssDebit);
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsAmazonPay>(
'amazon_pay', amazonPay);
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsAuBecsDebit>(
'au_becs_debit', auBecsDebit);
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsBacsDebit>(
'bacs_debit', bacsDebit);
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsBancontact>(
'bancontact', bancontact);
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsBoleto>(
'boleto', boleto);
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsCard>('card', card);
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsCardPresent>(
'card_present', cardPresent);
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsCashapp>(
'cashapp', cashapp);
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsIdeal>(
'ideal', ideal);
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsKakaoPay>(
'kakao_pay', kakaoPay);
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsKlarna>(
'klarna', klarna);
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsKrCard>(
'kr_card', krCard);
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsLink>('link', link);
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsNaverPay>(
'naver_pay', naverPay);
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsNzBankAccount>(
'nz_bank_account', nzBankAccount);
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsPaypal>(
'paypal', paypal);
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsPayto>(
'payto', payto);
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsRevolutPay>(
'revolut_pay', revolutPay);
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsSepaDebit>(
'sepa_debit', sepaDebit);
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsSofort>(
'sofort', sofort);
writer.writeStringValue('type', type_);
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsUsBankAccount>(
'us_bank_account', usBankAccount);
writer.writeAdditionalData(additionalData);
}