/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2022-2024. All rights resvered.
 */

/**
 * @file
 * The file declars the DeliveryType class.
 */
 
package vcard4cj

public enum DeliveryType <: ToString {
    | DOM | INTL | POSTAL | PARCEL | HOME | WORK

     /**
     * The Function is toString
     *
     * 
     * @since 0.35.6
     */
    public override func toString() {
        match (this) {
            case DOM => "DOM"
            case INTL => "INTL"
            case POSTAL => "POSTAL"
            case PARCEL => "PARCEL"
            case HOME => "HOME"
            case WORK => "WORK"
        }
    }
}