Kufar v3.2.0版本的 MD5 值为:6a4d203db1c561c7e3bcd50d23fed59f

以下内容为反编译后的 RatingStatusEvent.java 源代码,内容仅作参考


package com.schibsted.shared.events.schema.events;

import androidx.annotation.NonNull;
import com.schibsted.shared.events.schema.objects.Account;
import com.schibsted.shared.events.schema.objects.Provider;
import com.schibsted.shared.events.schema.objects.Rating;
import d00.c;
import java.util.Date;

public class RatingStatusEvent extends BaseRoutableEvent {
    public Account buyer;
    public ClosureReason closureReason;
    public Rating object;
    public Account seller;

    @c("@type")
    public Status type;

    public enum ClosureReason {
        BothAnswered,
        BuyerAnswered,
        NoneAnswered,
        SellerAnswered
    }

    public enum Status {
        Closed,
        Open
    }

    public RatingStatusEvent(@NonNull Provider provider, @NonNull Account account, @NonNull Account account2, @NonNull Rating rating, @NonNull Date date, @NonNull ClosureReason closureReason, @NonNull Status status) {
        super(provider);
        this.schema = "http://schema.schibsted.com/events/backend-rating-status-event.json/1.json";
        this.buyer = account;
        this.seller = account2;
        this.object = rating;
        this.published = BaseRoutableEvent.formatTimestamp(date);
        this.closureReason = closureReason;
        this.type = status;
    }
}