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.order.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.batch.common.transfer.GenericBatchTransfer;
022import com.echothree.model.control.workflow.common.transfer.WorkflowEntityStatusTransfer;
023
024public class OrderBatchTransfer
025        extends GenericBatchTransfer {
026    
027    private CurrencyTransfer currency;
028    private Long count;
029    private String amount;
030    
031    protected OrderBatchTransfer(BatchTypeTransfer batchType, String batchName, CurrencyTransfer currency, Long count, String amount,
032            WorkflowEntityStatusTransfer batchStatus) {
033        super(batchType, batchName, batchStatus);
034
035        this.currency = currency;
036        this.count = count;
037        this.amount = amount;
038    }
039
040    /**
041     * Returns the currency.
042     * @return the currency
043     */
044    public CurrencyTransfer getCurrency() {
045        return currency;
046    }
047
048    /**
049     * Sets the currency.
050     * @param currency the currency to set
051     */
052    public void setCurrency(CurrencyTransfer currency) {
053        this.currency = currency;
054    }
055
056    /**
057     * Returns the count.
058     * @return the count
059     */
060    public Long getCount() {
061        return count;
062    }
063
064    /**
065     * Sets the count.
066     * @param count the count to set
067     */
068    public void setCount(Long count) {
069        this.count = count;
070    }
071
072    /**
073     * Returns the amount.
074     * @return the amount
075     */
076    public String getAmount() {
077        return amount;
078    }
079
080    /**
081     * Sets the amount.
082     * @param amount the amount to set
083     */
084    public void setAmount(String amount) {
085        this.amount = amount;
086    }
087    
088}