package vn.vinfast.paymentkit.repositories;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes15.dex */
@kotlin.Metadata(d1 = {"\u0000`\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010 \n\u0000\n\u0002\u0010\t\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u000b\u0018\u0000 *2\u00020\u0001:\u0001.B\u0019\b\u0007\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0005\u001a\u00020\u0004¢\u0006\u0004\b\u0006\u0010\u0007JE\u0010\u0011\u001a\u00020\u00102\b\u0010\t\u001a\u0004\u0018\u00010\b2\b\u0010\n\u001a\u0004\u0018\u00010\b2\f\u0010\f\u001a\b\u0012\u0004\u0012\u00020\b0\u000b2\b\u0010\u000e\u001a\u0004\u0018\u00010\r2\b\u0010\u000f\u001a\u0004\u0018\u00010\rH\u0016¢\u0006\u0004\b\u0011\u0010\u0012J7\u0010\u0014\u001a\u00020\u00132\b\u0010\t\u001a\u0004\u0018\u00010\b2\b\u0010\n\u001a\u0004\u0018\u00010\b2\b\u0010\u000e\u001a\u0004\u0018\u00010\r2\b\u0010\u000f\u001a\u0004\u0018\u00010\rH\u0016¢\u0006\u0004\b\u0014\u0010\u0015J-\u0010\u0017\u001a\u00020\u00162\b\u0010\t\u001a\u0004\u0018\u00010\b2\b\u0010\u000e\u001a\u0004\u0018\u00010\r2\b\u0010\u000f\u001a\u0004\u0018\u00010\rH\u0016¢\u0006\u0004\b\u0017\u0010\u0018J%\u0010\u001d\u001a\b\u0012\u0004\u0012\u00020\u001c0\u001b2\u0006\u0010\u0019\u001a\u00020\b2\u0006\u0010\u001a\u001a\u00020\bH\u0016¢\u0006\u0004\b\u001d\u0010\u001eJ\u001f\u0010 \u001a\b\u0012\u0004\u0012\u00020\u001f0\u001b2\b\u0010\t\u001a\u0004\u0018\u00010\bH\u0016¢\u0006\u0004\b \u0010!J\u001f\u0010\"\u001a\b\u0012\u0004\u0012\u00020\u001f0\u001b2\b\u0010\t\u001a\u0004\u0018\u00010\bH\u0016¢\u0006\u0004\b\"\u0010!J\u0017\u0010%\u001a\u00020$2\u0006\u0010#\u001a\u00020\bH\u0016¢\u0006\u0004\b%\u0010&J+\u0010*\u001a\u00020$2\u0006\u0010'\u001a\u00020\b2\b\u0010(\u001a\u0004\u0018\u00010\b2\b\u0010)\u001a\u0004\u0018\u00010\rH\u0016¢\u0006\u0004\b*\u0010+R\u0014\u0010\u0003\u001a\u00020\u00028\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b \u0010,R\u0014\u0010\u0005\u001a\u00020\u00048\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b%\u0010-¨\u0006/"}, d2 = {"Lvn/vinfast/paymentkit/repositories/BillingListRepositoryProviderStub;", "Lvn/vinfast/paymentkit/repositories/BillingListRepository;", "Lvn/vinfast/paymentkit/datasources/remote/BillingApi;", "billingListApi", "Lvn/vinfast/paymentkit/datasources/remote/PaymentApi;", "paymentApi", "<init>", "(Lvn/vinfast/paymentkit/datasources/remote/BillingApi;Lvn/vinfast/paymentkit/datasources/remote/PaymentApi;)V", "", "vinCode", "payStatus", "", "type", "", "startDate", "endDate", "Lvn/vinfast/paymentkit/datasources/remote/BillingListDataSource;", "h", "(Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/Long;Ljava/lang/Long;)Lvn/vinfast/paymentkit/datasources/remote/BillingListDataSource;", "Lvn/vinfast/paymentkit/datasources/remote/BillingListInstallmentDataSource;", "d", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Long;)Lvn/vinfast/paymentkit/datasources/remote/BillingListInstallmentDataSource;", "Lvn/vinfast/paymentkit/datasources/remote/BillingListSotaDataSource;", "e", "(Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Long;)Lvn/vinfast/paymentkit/datasources/remote/BillingListSotaDataSource;", "billId", "billTypeBe", "Lio/reactivex/rxjava3/core/Single;", "Lvn/vinfast/paymentkitapi/models/BillModel;", "f", "(Ljava/lang/String;Ljava/lang/String;)Lio/reactivex/rxjava3/core/Single;", "", "a", "(Ljava/lang/String;)Lio/reactivex/rxjava3/core/Single;", "g", "params", "Lio/reactivex/rxjava3/core/Completable;", "b", "(Ljava/lang/String;)Lio/reactivex/rxjava3/core/Completable;", "transactionId", "billType", "issueDate", "c", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;)Lio/reactivex/rxjava3/core/Completable;", "Lvn/vinfast/paymentkit/datasources/remote/BillingApi;", "Lvn/vinfast/paymentkit/datasources/remote/PaymentApi;", "Companion", "paymentkit_release"}, k = 1, mv = {2, 2, 0}, xi = 48)
public final class BillingListRepositoryProviderStub implements vn.vinfast.paymentkit.repositories.BillingListRepository {
    private static final vn.vinfast.paymentkit.datasources.remote.responses.BillDetailsDto d;
    private static final vn.vinfast.paymentkit.datasources.remote.responses.BillDetailsResponse e;
    private static final java.lang.String f;
    private static final java.lang.String g;

    /* JADX INFO: renamed from: a, reason: from kotlin metadata */
    private final vn.vinfast.paymentkit.datasources.remote.BillingApi billingListApi;

    /* JADX INFO: renamed from: b, reason: from kotlin metadata */
    private final vn.vinfast.paymentkit.datasources.remote.PaymentApi paymentApi;

    static {
        vn.vinfast.paymentkit.datasources.remote.responses.BillDetailsDto billDetailsDto = new vn.vinfast.paymentkit.datasources.remote.responses.BillDetailsDto(null, null, null, null, null, null, null, null, 255, null);
        d = billDetailsDto;
        java.lang.Double dValueOf = java.lang.Double.valueOf(16179.0d);
        e = new vn.vinfast.paymentkit.datasources.remote.responses.BillDetailsResponse("64103f60fe51082505bf47a9", "EMSP_PAYMENT", "193530001501", null, dValueOf, dValueOf, null, java.lang.Double.valueOf(0.0d), null, null, 2, "CHARGING", 0, null, 1678786400609L, 1681491600000L, null, null, 2, -22, "ACTIVE", null, null, null, null, null, billDetailsDto, null, null, null, 979501896, null);
        f = "{\n  \"billFinalAmount\": 411601.0,\n  \"items\": [\n    {\n      \"amount\": 407581.0,\n      \"billStatus\": 2,\n      \"billStatusName\": \"ACTIVE\",\n      \"customerId\": \"440f4fc1-1c11-4a36-9d52-faea49fd57ee\",\n      \"debtBills\": [\n        {\n          \"amount\": 4020.0,\n          \"dueDateTimestamp\": 1684083600000,\n          \"finalAmount\": 4020.0,\n          \"id\": \"648fff665a23240828cdbd1d\",\n          \"interestRate\": 10.0,\n          \"interestRateText\": \"10%/ 365 days\",\n          \"paid\": false,\n          \"issuedDate\": \"2023-06-18T17:00:00.000Z\",\n          \"numberOfDayOverdue\": 35,\n          \"signature\": \"RU1TUF9QQVlNRU5UOjpFTVNQX1BBWU1FTlQ6Nzk1OEI4QTk2MUZFQjFBRjI3RUExQjk5NEVEOEI5QzFCMDRGMkU4QTAyRTBDNTZBMEFDNjQyQ0Y5N0E5NTZFMw==\",\n          \"subType\": \"0\",\n          \"totalBill\": 407581.0,\n          \"type\": \"9\",\n          \"typeName\": \"LATE_FEE\"\n        }\n      ],\n      \"discount\": 0.0,\n      \"dueDate\": \"2023-05-14T17:00:00.000Z\",\n      \"finalAmount\": 407581.0,\n      \"id\": \"648fff305a23240828cdbd17\",\n      \"paid\": false,\n      \"issuedDate\": \"2023-06-19T07:09:33.207Z\",\n      \"issuedTimestamp\": 1687158573207,\n      \"overDueDate\": 35,\n      \"payable\": true,\n      \"promotions\": [\n        {\n          \"description\": \"DEF\",\n          \"discount\": 20.0,\n          \"name\": \"ABC\"\n        },\n        {\n          \"description\": \"456\",\n          \"discount\": 50.0,\n          \"name\": \"123\"\n        }\n      ],\n      \"serviceType\": \"EMSP_PAYMENT\",\n      \"showDueDateWarning\": true,\n      \"signature\": \"RU1TUF9QQVlNRU5UOjpFTVNQX1BBWU1FTlQ6NDYxNkE0NTc0REVBNTZDREM4ODhEQTc2MTNGNTJDNjVGNzc2NzgxRTc4NjRCMTE5MDg1MEQyNUU0QThENzBGMw==\",\n      \"subType\": 2,\n      \"subTypeName\": \"MONTHLY\",\n      \"totalBillAmount\": 411601.0,\n      \"type\": 1,\n      \"typeName\": \"BATTERY_LEASING\",\n      \"vehicleId\": \"RLLV5AFA5NV000921\"\n    },\n    {\n      \"amount\": 407581.0,\n      \"billStatus\": 2,\n      \"billStatusName\": \"ACTIVE\",\n      \"customerId\": \"440f4fc1-1c11-4a36-9d52-faea49fd57ee\",\n      \"debtBills\": [\n        {\n          \"amount\": 4020.0,\n          \"dueDateTimestamp\": 1684083600000,\n          \"finalAmount\": 4020.0,\n          \"id\": \"648fff665a23240828cdbd1d2\",\n          \"interestRate\": 10.0,\n          \"interestRateText\": \"10%/ 365 days\",\n          \"paid\": false,\n          \"issuedDate\": \"2024-08-30T14:26:11.485Z\",\n          \"numberOfDayOverdue\": 35,\n          \"signature\": \"RU1TUF9QQVlNRU5UOjpFTVNQX1BBWU1FTlQ6Nzk1OEI4QTk2MUZFQjFBRjI3RUExQjk5NEVEOEI5QzFCMDRGMkU4QTAyRTBDNTZBMEFDNjQyQ0Y5N0E5NTZFMw==\",\n          \"subType\": \"0\",\n          \"totalBill\": 407581.0,\n          \"type\": \"9\",\n          \"typeName\": \"LATE_FEE\"\n        }\n      ],\n      \"discount\": 0.0,\n      \"dueDate\": \"2024-08-30T14:26:11.485Z\",\n      \"finalAmount\": 407581.0,\n      \"id\": \"648fff305a23240828cdbd172\",\n      \"paid\": false,\n      \"issuedDate\": \"2024-08-30T14:26:11.485Z\",\n      \"issuedTimestamp\": 1719766800000,\n      \"overDueDate\": 35,\n      \"payable\": true,\n      \"promotions\": [\n        {\n          \"description\": \"DEF\",\n          \"discount\": 20.0,\n          \"name\": \"ABC\"\n        },\n        {\n          \"description\": \"456\",\n          \"discount\": 50.0,\n          \"name\": \"123\"\n        }\n      ],\n      \"serviceType\": \"EMSP_PAYMENT\",\n      \"showDueDateWarning\": true,\n      \"signature\": \"RU1TUF9QQVlNRU5UOjpFTVNQX1BBWU1FTlQ6NDYxNkE0NTc0REVBNTZDREM4ODhEQTc2MTNGNTJDNjVGNzc2NzgxRTc4NjRCMTE5MDg1MEQyNUU0QThENzBGMw==\",\n      \"subType\": 2,\n      \"subTypeName\": \"MONTHLY\",\n      \"totalBillAmount\": 411601.0,\n      \"type\": 1,\n      \"typeName\": \"BATTERY_LEASING\",\n      \"vehicleId\": \"RLLV5AFA5NV000921\"\n    },\n    {\n      \"amount\": 407581.0,\n      \"billStatus\": 2,\n      \"billStatusName\": \"ACTIVE\",\n      \"customerId\": \"440f4fc1-1c11-4a36-9d52-faea49fd57ee\",\n      \"debtBills\": [\n        {\n          \"amount\": 4020.0,\n          \"dueDateTimestamp\": 1684083600000,\n          \"finalAmount\": 4020.0,\n          \"id\": \"648fff665a23240828cdbd1d2\",\n          \"interestRate\": 10.0,\n          \"interestRateText\": \"10%/ 365 days\",\n          \"paid\": false,\n          \"issuedDate\": \"2024-08-30T14:26:11.485Z\",\n          \"numberOfDayOverdue\": 35,\n          \"signature\": \"RU1TUF9QQVlNRU5UOjpFTVNQX1BBWU1FTlQ6Nzk1OEI4QTk2MUZFQjFBRjI3RUExQjk5NEVEOEI5QzFCMDRGMkU4QTAyRTBDNTZBMEFDNjQyQ0Y5N0E5NTZFMw==\",\n          \"subType\": \"0\",\n          \"totalBill\": 407581.0,\n          \"type\": \"9\",\n          \"typeName\": \"LATE_FEE\"\n        }\n      ],\n      \"discount\": 0.0,\n      \"dueDate\": \"2024-08-30T14:26:11.485Z\",\n      \"finalAmount\": 407581.0,\n      \"id\": \"648fff305a23240828cdbd172\",\n      \"paid\": false,\n      \"issuedDate\": \"2024-08-30T14:26:11.485Z\",\n      \"issuedTimestamp\": 1719766800000,\n      \"overDueDate\": 35,\n      \"payable\": true,\n      \"promotions\": [\n        {\n          \"description\": \"DEF\",\n          \"discount\": 20.0,\n          \"name\": \"ABC\"\n        },\n        {\n          \"description\": \"456\",\n          \"discount\": 50.0,\n          \"name\": \"123\"\n        }\n      ],\n      \"serviceType\": \"EMSP_PAYMENT\",\n      \"showDueDateWarning\": true,\n      \"signature\": \"RU1TUF9QQVlNRU5UOjpFTVNQX1BBWU1FTlQ6NDYxNkE0NTc0REVBNTZDREM4ODhEQTc2MTNGNTJDNjVGNzc2NzgxRTc4NjRCMTE5MDg1MEQyNUU0QThENzBGMw==\",\n      \"subType\": 2,\n      \"subTypeName\": \"MONTHLY\",\n      \"totalBillAmount\": 411601.0,\n      \"type\": 1,\n      \"typeName\": \"BATTERY_LEASING\",\n      \"vehicleId\": \"RLLV5AFA5NV000921\"\n    }\n  ],\n  \"totalAmount\": 407581.0,\n  \"totalPenalty\": 4020.0\n}";
        g = "{\n  \"code\": 200000,\n  \"message\": \"Success\",\n  \"data\": {\n    \"billFinalAmount\": 411601.0,\n    \"items\": [\n      {\n        \"amount\": 407581.0,\n        \"billStatus\": 2,\n        \"billStatusName\": \"ACTIVE\",\n        \"customerId\": \"440f4fc1-1c11-4a36-9d52-faea49fd57ee\",\n        \"debtBills\": [\n          {\n            \"amount\": 4020.0,\n            \"dueDateTimestamp\": 1725003636093,\n            \"finalAmount\": 4020.0,\n            \"id\": \"648fff665a23240828cdbd1d\",\n            \"interestRate\": 10.0,\n            \"interestRateText\": \"10%/ 365 days\",\n            \"paid\": false,\n            \"issuedDate\": \"2024-08-30T14:26:11.485Z\",\n            \"numberOfDayOverdue\": 35,\n            \"signature\": \"RU1TUF9QQVlNRU5UOjpFTVNQX1BBWU1FTlQ6Nzk1OEI4QTk2MUZFQjFBRjI3RUExQjk5NEVEOEI5QzFCMDRGMkU4QTAyRTBDNTZBMEFDNjQyQ0Y5N0E5NTZFMw==\",\n            \"subType\": \"0\",\n            \"totalBill\": 407581.0,\n            \"type\": \"9\",\n            \"typeName\": \"LATE_FEE\"\n          }\n        ],\n        \"discount\": 0.0,\n        \"dueDate\": \"2024-08-30T14:26:11.485Z\",\n        \"finalAmount\": 407581.0,\n        \"id\": \"648fff305a23240828cdbd17\",\n        \"paid\": false,\n        \"issuedDate\": \"2024-08-30T14:26:11.485Z\",\n        \"issuedTimestamp\": 1719766800000,\n        \"overDueDate\": 35,\n        \"payable\": true,\n        \"promotions\": [\n          {\n            \"description\": \"DEF\",\n            \"discount\": 20.0,\n            \"name\": \"ABC\"\n          },\n          {\n            \"description\": \"456\",\n            \"discount\": 50.0,\n            \"name\": \"123\"\n          }\n        ],\n        \"serviceType\": \"EMSP_PAYMENT\",\n        \"showDueDateWarning\": true,\n        \"signature\": \"RU1TUF9QQVlNRU5UOjpFTVNQX1BBWU1FTlQ6NDYxNkE0NTc0REVBNTZDREM4ODhEQTc2MTNGNTJDNjVGNzc2NzgxRTc4NjRCMTE5MDg1MEQyNUU0QThENzBGMw==\",\n        \"subType\": 2,\n        \"subTypeName\": \"MONTHLY\",\n        \"totalBillAmount\": 411601.0,\n        \"type\": 1,\n        \"typeName\": \"CHARGING\",\n        \"vehicleId\": \"RLLV5AFA5NV000921\"\n      },\n      {\n        \"amount\": 407581.0,\n        \"billStatus\": 2,\n        \"billStatusName\": \"ACTIVE\",\n        \"customerId\": \"440f4fc1-1c11-4a36-9d52-faea49fd57ee\",\n        \"debtBills\": [\n          {\n            \"amount\": 4020.0,\n            \"dueDateTimestamp\": 1725003636093,\n            \"finalAmount\": 4020.0,\n            \"id\": \"648fff665a23240828cdbd1d2\",\n            \"interestRate\": 10.0,\n            \"interestRateText\": \"10%/ 365 days\",\n            \"paid\": false,\n            \"issuedDate\": \"2024-08-30T14:26:11.485Z\",\n            \"numberOfDayOverdue\": 35,\n            \"signature\": \"RU1TUF9QQVlNRU5UOjpFTVNQX1BBWU1FTlQ6Nzk1OEI4QTk2MUZFQjFBRjI3RUExQjk5NEVEOEI5QzFCMDRGMkU4QTAyRTBDNTZBMEFDNjQyQ0Y5N0E5NTZFMw==\",\n            \"subType\": \"0\",\n            \"totalBill\": 407581.0,\n            \"type\": \"9\",\n            \"typeName\": \"LATE_FEE\"\n          }\n        ],\n        \"discount\": 0.0,\n        \"dueDate\": \"2024-08-30T14:26:11.485Z\",\n        \"finalAmount\": 407581.0,\n        \"id\": \"648fff305a23240828cdbd172\",\n        \"paid\": false,\n        \"issuedDate\": \"2024-08-30T14:26:11.485Z\",\n        \"issuedTimestamp\": 1719766800000,\n        \"overDueDate\": 35,\n        \"payable\": true,\n        \"promotions\": [\n          {\n            \"description\": \"DEF\",\n            \"discount\": 20.0,\n            \"name\": \"ABC\"\n          },\n          {\n            \"description\": \"456\",\n            \"discount\": 50.0,\n            \"name\": \"123\"\n          }\n        ],\n        \"serviceType\": \"EMSP_PAYMENT\",\n        \"showDueDateWarning\": true,\n        \"signature\": \"RU1TUF9QQVlNRU5UOjpFTVNQX1BBWU1FTlQ6NDYxNkE0NTc0REVBNTZDREM4ODhEQTc2MTNGNTJDNjVGNzc2NzgxRTc4NjRCMTE5MDg1MEQyNUU0QThENzBGMw==\",\n        \"subType\": 2,\n        \"subTypeName\": \"MONTHLY\",\n        \"totalBillAmount\": 411601.0,\n        \"type\": 1,\n        \"typeName\": \"BATTERY_LEASING\",\n        \"vehicleId\": \"RLLV5AFA5NV000921\"\n      },\n      {\n        \"amount\": 407581.0,\n        \"billStatus\": 2,\n        \"billStatusName\": \"ACTIVE\",\n        \"customerId\": \"440f4fc1-1c11-4a36-9d52-faea49fd57ee\",\n        \"debtBills\": [\n          {\n            \"amount\": 4020.0,\n            \"dueDateTimestamp\": 1725003636093,\n            \"finalAmount\": 4020.0,\n            \"id\": \"648fff665a23240828cdbd1d3\",\n            \"interestRate\": 10.0,\n            \"interestRateText\": \"10%/ 365 days\",\n            \"paid\": false,\n            \"issuedDate\": \"2024-08-30T14:40:36.093Z\",\n            \"numberOfDayOverdue\": 35,\n            \"signature\": \"RU1TUF9QQVlNRU5UOjpFTVNQX1BBWU1FTlQ6Nzk1OEI4QTk2MUZFQjFBRjI3RUExQjk5NEVEOEI5QzFCMDRGMkU4QTAyRTBDNTZBMEFDNjQyQ0Y5N0E5NTZFMw==\",\n            \"subType\": \"0\",\n            \"totalBill\": 407581.0,\n            \"type\": \"9\",\n            \"typeName\": \"LATE_FEE\"\n          }\n        ],\n        \"discount\": 0.0,\n        \"dueDate\": \"2024-08-30T14:40:36.093Z\",\n        \"finalAmount\": 407581.0,\n        \"id\": \"648fff305a23240828cdbd173\",\n        \"paid\": false,\n        \"issuedDate\": \"2024-08-30T14:40:36.093Z\",\n        \"issuedTimestamp\": 1722445200000,\n        \"overDueDate\": 35,\n        \"payable\": true,\n        \"promotions\": [\n          {\n            \"description\": \"DEF\",\n            \"discount\": 20.0,\n            \"name\": \"ABC\"\n          },\n          {\n            \"description\": \"456\",\n            \"discount\": 50.0,\n            \"name\": \"123\"\n          }\n        ],\n        \"serviceType\": \"EMSP_PAYMENT\",\n        \"showDueDateWarning\": true,\n        \"signature\": \"RU1TUF9QQVlNRU5UOjpFTVNQX1BBWU1FTlQ6NDYxNkE0NTc0REVBNTZDREM4ODhEQTc2MTNGNTJDNjVGNzc2NzgxRTc4NjRCMTE5MDg1MEQyNUU0QThENzBGMw==\",\n        \"subType\": 2,\n        \"subTypeName\": \"MONTHLY\",\n        \"totalBillAmount\": 411601.0,\n        \"type\": 1,\n        \"typeName\": \"CHARGING\",\n        \"vehicleId\": \"RLLV5AFA5NV000921\"\n      }\n    ],\n    \"totalAmount\": 407581.0,\n    \"totalPenalty\": 4020.0\n  },\n  \"metadata\": {}\n}";
    }

    public BillingListRepositoryProviderStub(vn.vinfast.paymentkit.datasources.remote.BillingApi billingApi, vn.vinfast.paymentkit.datasources.remote.PaymentApi paymentApi) {
        kotlin.jvm.internal.Intrinsics.l(billingApi, "billingListApi");
        kotlin.jvm.internal.Intrinsics.l(paymentApi, "paymentApi");
        this.billingListApi = billingApi;
        this.paymentApi = paymentApi;
    }

    @Override // vn.vinfast.paymentkit.repositories.BillingListRepository
    public io.reactivex.rxjava3.core.Single a(java.lang.String vinCode) {
        io.reactivex.rxjava3.core.Single singleS = vn.vinfast.paymentkit.datasources.remote.BillingApi.a(this.billingListApi, vinCode, vn.vinfast.paymentkitapi.models.BillStatus.Active.getStringValue(), vn.vinfast.paymentkitapi.models.PayStatus.Unpaid.getValue(), kotlin.collections.CollectionsKt.o(), null, null, 0, 1, new vn.vinfast.paymentkit.datasources.remote.request.BillListRequest(kotlin.collections.CollectionsKt.o()), 48, null).s(new io.reactivex.rxjava3.functions.Function() { // from class: vn.vinfast.paymentkit.repositories.BillingListRepositoryProviderStub$checkUnpaidBill$1
            /* JADX INFO: renamed from: a, reason: merged with bridge method [inline-methods] */
            public final java.lang.Boolean apply(com.vinfast.companion.corenetwork.BaseResponse baseResponse) {
                java.util.List items;
                kotlin.jvm.internal.Intrinsics.l(baseResponse, "it");
                vn.vinfast.paymentkit.datasources.remote.responses.BillingListResponse billingListResponse = (vn.vinfast.paymentkit.datasources.remote.responses.BillingListResponse) baseResponse.a();
                boolean z = false;
                if (billingListResponse != null && (items = billingListResponse.getItems()) != null && (!items.isEmpty())) {
                    z = true;
                }
                return java.lang.Boolean.valueOf(z);
            }
        });
        kotlin.jvm.internal.Intrinsics.k(singleS, "map(...)");
        return singleS;
    }

    @Override // vn.vinfast.paymentkit.repositories.BillingListRepository
    public io.reactivex.rxjava3.core.Completable b(java.lang.String params) {
        kotlin.jvm.internal.Intrinsics.l(params, "params");
        return this.paymentApi.e(new vn.vinfast.paymentkit.datasources.remote.request.CancelPaymentRequest(params));
    }

    @Override // vn.vinfast.paymentkit.repositories.BillingListRepository
    public io.reactivex.rxjava3.core.Completable c(java.lang.String transactionId, java.lang.String billType, java.lang.Long issueDate) {
        kotlin.jvm.internal.Intrinsics.l(transactionId, "transactionId");
        if (billType != null && billType.length() != 0) {
            return this.paymentApi.k(new vn.vinfast.paymentkit.datasources.remote.request.CancelQrPaymentRequest(transactionId, billType, issueDate));
        }
        io.reactivex.rxjava3.core.Completable completableI = io.reactivex.rxjava3.core.Completable.i();
        kotlin.jvm.internal.Intrinsics.k(completableI, "complete(...)");
        return completableI;
    }

    @Override // vn.vinfast.paymentkit.repositories.BillingListRepository
    public vn.vinfast.paymentkit.datasources.remote.BillingListInstallmentDataSource d(java.lang.String vinCode, java.lang.String payStatus, java.lang.Long startDate, java.lang.Long endDate) {
        return new vn.vinfast.paymentkit.datasources.remote.BillingListInstallmentDataSource(this.billingListApi, vinCode, payStatus, startDate, endDate);
    }

    @Override // vn.vinfast.paymentkit.repositories.BillingListRepository
    public vn.vinfast.paymentkit.datasources.remote.BillingListSotaDataSource e(java.lang.String vinCode, java.lang.Long startDate, java.lang.Long endDate) {
        return new vn.vinfast.paymentkit.datasources.remote.BillingListSotaDataSource(this.billingListApi, vinCode, startDate, endDate);
    }

    @Override // vn.vinfast.paymentkit.repositories.BillingListRepository
    public io.reactivex.rxjava3.core.Single f(java.lang.String billId, java.lang.String billTypeBe) {
        kotlin.jvm.internal.Intrinsics.l(billId, "billId");
        kotlin.jvm.internal.Intrinsics.l(billTypeBe, "billTypeBe");
        io.reactivex.rxjava3.core.Single singleR = io.reactivex.rxjava3.core.Single.r(vn.vinfast.paymentkit.datasources.remote.transformers.BillingListTransformerKt.a(e));
        kotlin.jvm.internal.Intrinsics.k(singleR, "just(...)");
        return singleR;
    }

    @Override // vn.vinfast.paymentkit.repositories.BillingListRepository
    public io.reactivex.rxjava3.core.Single g(java.lang.String vinCode) {
        io.reactivex.rxjava3.core.Single singleS = vn.vinfast.paymentkit.datasources.remote.BillingApi.d(this.billingListApi, vinCode, vn.vinfast.paymentkitapi.models.BillStatus.Active.getStringValue(), vn.vinfast.paymentkitapi.models.PayStatus.Unpaid.getValue(), null, null, 0, 1, null, 152, null).s(new io.reactivex.rxjava3.functions.Function() { // from class: vn.vinfast.paymentkit.repositories.BillingListRepositoryProviderStub$checkUnpaidVehicleInstallmentBill$1
            /* JADX INFO: renamed from: a, reason: merged with bridge method [inline-methods] */
            public final java.lang.Boolean apply(com.vinfast.companion.corenetwork.BaseResponse baseResponse) {
                java.util.List items;
                kotlin.jvm.internal.Intrinsics.l(baseResponse, "it");
                vn.vinfast.paymentkit.datasources.remote.responses.InstallmentListBillDto installmentListBillDto = (vn.vinfast.paymentkit.datasources.remote.responses.InstallmentListBillDto) baseResponse.a();
                boolean z = false;
                if (installmentListBillDto != null && (items = installmentListBillDto.getItems()) != null && (!items.isEmpty())) {
                    z = true;
                }
                return java.lang.Boolean.valueOf(z);
            }
        });
        kotlin.jvm.internal.Intrinsics.k(singleS, "map(...)");
        return singleS;
    }

    @Override // vn.vinfast.paymentkit.repositories.BillingListRepository
    public vn.vinfast.paymentkit.datasources.remote.BillingListDataSource h(java.lang.String vinCode, java.lang.String payStatus, java.util.List type, java.lang.Long startDate, java.lang.Long endDate) {
        kotlin.jvm.internal.Intrinsics.l(type, "type");
        return new vn.vinfast.paymentkit.datasources.remote.BillingListDataSource(this.billingListApi, vinCode, payStatus, type, startDate, endDate);
    }
}
