serialize method
Serializes information the current object
writer Serialization writer to use to serialize this model
Implementation
@override
void serialize(SerializationWriter writer) {
writer.writeCollectionOfObjectValues<InvoiceSettingCustomField>(
'custom_fields', customFields);
writer.writeObjectValue<InvoiceSettingCustomerSettingDefaultPaymentMethod>(
'default_payment_method', defaultPaymentMethod);
writer.writeStringValue('footer', footer);
writer.writeObjectValue<InvoiceSettingCustomerRenderingOptions>(
'rendering_options', renderingOptions);
writer.writeAdditionalData(additionalData);
}