com.clover.remote.client.messages.PrintRefundPaymentReceiptMessage 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;
import com.clover.sdk.v3.payments.Refund;
/**
* Callback to the POS to request a payment refund receipt
* be printed
*/
@SuppressWarnings(value="unused")
public class PrintRefundPaymentReceiptMessage {
private final Payment payment;
private final Refund refund;
private final Order order;
/**
* Constructor
*
* @param payment payment for requested receipt
* @param order order for requested receipt
* @param refund refund for requested receipt
*/
public PrintRefundPaymentReceiptMessage(Payment payment, Order order, Refund refund) {
this.payment = payment;
this.order = order;
this.refund = refund;
}
/**
* Get the field value
*
* @return payment for requested receipt
*/
public Payment getPayment() {
return payment;
}
/**
* Get the field value
*
* @return refund for requested receipt
*/
public Refund getRefund() {
return refund;
}
/**
* Get the field value
*
* @return order for requested receipt
*/
public Order getOrder() {
return order;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy