serialize method
Serializes information the current object
writer Serialization writer to use to serialize this model
Implementation
@override
void serialize(SerializationWriter writer) {
writer.writeStringValue('brand', brand);
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsCardChecks>(
'checks', checks);
writer.writeStringValue('country', country);
writer.writeIntValue('exp_month', expMonth);
writer.writeIntValue('exp_year', expYear);
writer.writeStringValue('fingerprint', fingerprint);
writer.writeStringValue('funding', funding);
writer.writeStringValue('last4', last4);
writer.writeStringValue('network', network);
writer.writeObjectValue<ThreeDSecureDetails>(
'three_d_secure', threeDSecure);
writer.writeObjectValue<SetupAttemptPaymentMethodDetailsCardWallet>(
'wallet', wallet);
writer.writeAdditionalData(additionalData);
}