com.clover.remote.client.messages.PrintPaymentReceiptMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of remote-pay-java-connector Show documentation
Show all versions of remote-pay-java-connector Show documentation
Clover Connector Java library
/*
* Copyright (C) 2016 Clover Network, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.clover.remote.client.messages;
import com.clover.sdk.v3.order.Order;
import com.clover.sdk.v3.payments.Payment;
/**
* Callback to the POS to request a payment receipt be printed
*/
@SuppressWarnings(value="unused")
public class PrintPaymentReceiptMessage {
private final Order order;
private final Payment payment;
/**
* Constructor
*
* @param payment payment for requested receipt
* @param order order for requested receipt
*/
public PrintPaymentReceiptMessage(Payment payment, Order order) {
this.payment = payment;
this.order = order;
}
/**
* Get the field value
*
* @return payment for requested receipt
*/
public Payment getPayment() {
return payment;
}
/**
* Get the field value
*
* @return order for requested receipt
*/
public Order getOrder() {
return order;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy