UCROptions.java

package com.tradecloud.domain.shipment.clearing;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.*;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@JsonIgnoreProperties(ignoreUnknown = true)
public class UCROptions {
    private UCRReferenceType ucrReferenceType;
    private UCRScope ucrScope;
    private boolean addDestinationCountry;
    private boolean active;

    public static UCROptions empty() {
        return new UCROptions(null, null, false, false);
    }
}