summaryrefslogtreecommitdiff
path: root/chromium/weblayer/browser/java/org/chromium/weblayer_private/payments/WebLayerPaymentRequestService.java
blob: 15a27e1be919cddff6bbccb54aa93c1e59944359 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

package org.chromium.weblayer_private.payments;

import org.chromium.components.payments.BrowserPaymentRequest;
import org.chromium.components.payments.PaymentAppService;
import org.chromium.components.payments.PaymentRequestService;
import org.chromium.components.payments.PaymentRequestService.Delegate;
import org.chromium.payments.mojom.PaymentDetails;
import org.chromium.payments.mojom.PaymentValidationErrors;

/** The WebLayer-specific part of the payment request service. */
public class WebLayerPaymentRequestService implements BrowserPaymentRequest {
    /**
     * Create an instance of {@link WebLayerPaymentRequestService}.
     * @param paymentRequestService The payment request service.
     * @param delegate The delegate of the payment request service.
     */
    public WebLayerPaymentRequestService(
            PaymentRequestService paymentRequestService, Delegate delegate) {
        assert false : "Not implemented yet";
    }

    @Override
    public void onPaymentDetailsUpdated(
            PaymentDetails details, boolean hasNotifiedInvokedPaymentApp) {
        assert false : "Not implemented yet";
    }

    @Override
    public void onPaymentDetailsNotUpdated(String selectedShippingOptionError) {
        assert false : "Not implemented yet";
    }

    @Override
    public void complete(int result) {
        assert false : "Not implemented yet";
    }

    @Override
    public void retry(PaymentValidationErrors errors) {
        assert false : "Not implemented yet";
    }

    @Override
    public void close() {
        assert false : "Not implemented yet";
    }

    @Override
    public void addPaymentAppFactories(PaymentAppService service) {
        assert false : "Not implemented yet";
    }

}