001// --------------------------------------------------------------------------------
002// Copyright 2002-2024 Echo Three, LLC
003//
004// Licensed under the Apache License, Version 2.0 (the "License");
005// you may not use this file except in compliance with the License.
006// You may obtain a copy of the License at
007//
008//     http://www.apache.org/licenses/LICENSE-2.0
009//
010// Unless required by applicable law or agreed to in writing, software
011// distributed under the License is distributed on an "AS IS" BASIS,
012// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013// See the License for the specific language governing permissions and
014// limitations under the License.
015// --------------------------------------------------------------------------------
016
017package com.echothree.model.control.sales.common.transfer;
018
019import com.echothree.model.control.accounting.common.transfer.CurrencyTransfer;
020import com.echothree.model.control.batch.common.transfer.BatchTypeTransfer;
021import com.echothree.model.control.order.common.transfer.OrderBatchTransfer;
022import com.echothree.model.control.payment.common.transfer.PaymentMethodTransfer;
023import com.echothree.model.control.workflow.common.transfer.WorkflowEntityStatusTransfer;
024
025public class SalesOrderBatchTransfer
026        extends OrderBatchTransfer {
027    
028    private PaymentMethodTransfer paymentMethod;
029    
030    /** Creates a new instance of SalesOrderBatchTransfer */
031    public SalesOrderBatchTransfer(BatchTypeTransfer batchType, String batchName, CurrencyTransfer currency, PaymentMethodTransfer paymentMethod, Long count,
032            String amount, WorkflowEntityStatusTransfer batchStatus) {
033        super(batchType, batchName, currency, count, amount, batchStatus);
034
035        this.paymentMethod = paymentMethod;
036    }
037
038    /**
039     * Returns the paymentMethod.
040     * @return the paymentMethod
041     */
042    public PaymentMethodTransfer getPaymentMethod() {
043        return paymentMethod;
044    }
045
046    /**
047     * Sets the paymentMethod.
048     * @param paymentMethod the paymentMethod to set
049     */
050    public void setPaymentMethod(PaymentMethodTransfer paymentMethod) {
051        this.paymentMethod = paymentMethod;
052    }
053    
054}