/*
* #%L
* BroadleafCommerce Integration
* %%
* Copyright (C) 2009 - 2014 Broadleaf Commerce
* %%
* 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.
* #L%
*/
package org.broadleafcommerce.core.payment.service;
import javax.annotation.Resource;
import org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration;
import org.broadleafcommerce.common.payment.service.PaymentGatewayConfigurationService;
import org.broadleafcommerce.common.payment.service.PaymentGatewayCreditCardService;
import org.broadleafcommerce.common.payment.service.PaymentGatewayCustomerService;
import org.broadleafcommerce.common.payment.service.PaymentGatewayFraudService;
import org.broadleafcommerce.common.payment.service.PaymentGatewayHostedService;
import org.broadleafcommerce.common.payment.service.PaymentGatewayReportingService;
import org.broadleafcommerce.common.payment.service.PaymentGatewayRollbackService;
import org.broadleafcommerce.common.payment.service.PaymentGatewaySubscriptionService;
import org.broadleafcommerce.common.payment.service.PaymentGatewayTransactionConfirmationService;
import org.broadleafcommerce.common.payment.service.PaymentGatewayTransactionService;
import org.broadleafcommerce.common.payment.service.PaymentGatewayTransparentRedirectService;
import org.broadleafcommerce.common.payment.service.PaymentGatewayWebResponseService;
import org.broadleafcommerce.common.web.payment.expression.PaymentGatewayFieldExtensionHandler;
import org.broadleafcommerce.common.web.payment.processor.CreditCardTypesExtensionHandler;
import org.broadleafcommerce.common.web.payment.processor.TRCreditCardExtensionHandler;
import org.springframework.stereotype.Service;
/**
* Copied from mycompany.sample.payment.service
* We need it to be picked up by the siteintegration setup superlasses of groovy, which already scans "org" packages.
* @author gdiaz
*/
@Service("blNullPaymentGatewayConfigurationService")
public class NullPaymentGatewayConfigurationServiceImpl implements PaymentGatewayConfigurationService {
@Resource(name = "blNullPaymentGatewayConfiguration")
protected NullPaymentGatewayConfiguration configuration;
@Resource(name = "blNullPaymentGatewayRollbackService")
protected PaymentGatewayRollbackService rollbackService;
@Resource(name = "blNullPaymentGatewayHostedTransactionConfirmationService")
protected NullPaymentGatewayTransactionConfirmationServiceImpl transactionConfirmationServiceImpl;
@Resource(name = "blNullPaymentGatewayTransactionService")
protected NullPaymentGatewayTransactionServiceImpl transactionService;
public PaymentGatewayConfiguration getConfiguration() {
return configuration;
}
public PaymentGatewayTransactionService getTransactionService() {
return transactionService;
}
public PaymentGatewayTransactionConfirmationService getTransactionConfirmationService() {
return transactionConfirmationServiceImpl;
}
public PaymentGatewayReportingService getReportingService() {
return null;
}
public PaymentGatewayCreditCardService getCreditCardService() {
return null;
}
public PaymentGatewayCustomerService getCustomerService() {
return null;
}
public PaymentGatewaySubscriptionService getSubscriptionService() {
return null;
}
public PaymentGatewayFraudService getFraudService() {
return null;
}
public PaymentGatewayHostedService getHostedService() {
return null;
}
public PaymentGatewayRollbackService getRollbackService() {
return rollbackService;
}
public PaymentGatewayWebResponseService getWebResponseService() {
return null;
}
public PaymentGatewayTransparentRedirectService getTransparentRedirectService() {
return null;
}
public TRCreditCardExtensionHandler getCreditCardExtensionHandler() {
return null;
}
public PaymentGatewayFieldExtensionHandler getFieldExtensionHandler() {
return null;
}
public CreditCardTypesExtensionHandler getCreditCardTypesExtensionHandler() {
return null;
}
}