All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.volcengine.service.visual.model.response.OCRBankCardV2Response Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version
package com.volcengine.service.visual.model.response;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.List;

@Data
public class OCRBankCardV2Response extends VisualBaseResponse {
    
    @JSONField(name = "data")
    BankDataV2 data;

    @Data
    public static class BankDataV2 {
        
        @JSONField(name = "expired_date")
        String expiredDate;

        @JSONField(name = "expired_date_corners")
        CornerInfo expiredDateCorners;

        @JSONField(name = "number")
        String number;

        @JSONField(name = "number_corners")
        CornerInfo numberCorners;

        @JSONField(name = "bank_id")
        String bankId;

        @JSONField(name = "bank_name")
        String bankName;

        @JSONField(name = "card_name")
        String cardName;
    }

    @Data
    public static class CornerInfo {
        @JSONField(name = "left_top")
        List leftTop;

        @JSONField(name = "right_top")
        List rightTop;

        @JSONField(name = "right_bottom")
        List rightBottom;

        @JSONField(name = "left_bottom")
        List leftBottom;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy