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.payment.common.transfer;
018
019import com.echothree.util.common.transfer.BaseTransfer;
020import com.echothree.util.common.transfer.ListWrapper;
021
022public class PaymentProcessorTransfer
023        extends BaseTransfer {
024    
025    private String paymentProcessorName;
026    private PaymentProcessorTypeTransfer paymentProcessorType;
027    private Boolean isDefault;
028    private Integer sortOrder;
029    private String description;
030
031    private ListWrapper<PaymentProcessorTransactionTransfer> paymentProcessorTransactions;
032
033    /** Creates a new instance of PaymentProcessorTransfer */
034    public PaymentProcessorTransfer(String paymentProcessorName, PaymentProcessorTypeTransfer paymentProcessorType, Boolean isDefault,
035            Integer sortOrder, String description) {
036        this.paymentProcessorName = paymentProcessorName;
037        this.paymentProcessorType = paymentProcessorType;
038        this.isDefault = isDefault;
039        this.sortOrder = sortOrder;
040        this.description = description;
041    }
042    
043    public String getPaymentProcessorName() {
044        return paymentProcessorName;
045    }
046    
047    public void setPaymentProcessorName(String paymentProcessorName) {
048        this.paymentProcessorName = paymentProcessorName;
049    }
050    
051    public PaymentProcessorTypeTransfer getPaymentProcessorType() {
052        return paymentProcessorType;
053    }
054    
055    public void setPaymentProcessorType(PaymentProcessorTypeTransfer paymentProcessorType) {
056        this.paymentProcessorType = paymentProcessorType;
057    }
058    
059    public Boolean getIsDefault() {
060        return isDefault;
061    }
062    
063    public void setIsDefault(Boolean isDefault) {
064        this.isDefault = isDefault;
065    }
066    
067    public Integer getSortOrder() {
068        return sortOrder;
069    }
070    
071    public void setSortOrder(Integer sortOrder) {
072        this.sortOrder = sortOrder;
073    }
074    
075    public String getDescription() {
076        return description;
077    }
078    
079    public void setDescription(String description) {
080        this.description = description;
081    }
082
083    public ListWrapper<PaymentProcessorTransactionTransfer> getPaymentProcessorTransactions() {
084        return paymentProcessorTransactions;
085    }
086
087    public void setPaymentProcessorTransactions(final ListWrapper<PaymentProcessorTransactionTransfer> paymentProcessorTransactions) {
088        this.paymentProcessorTransactions = paymentProcessorTransactions;
089    }
090
091}