Class ChineseTaxInvoiceCheckoutFacade
java.lang.Object
de.hybris.platform.commercefacades.order.impl.DefaultCheckoutFacade
de.hybris.platform.acceleratorfacades.order.impl.DefaultAcceleratorCheckoutFacade
de.hybris.platform.chinesetaxinvoicefacades.facades.impl.ChineseTaxInvoiceCheckoutFacade
- All Implemented Interfaces:
AcceleratorCheckoutFacade,TaxInvoiceCheckoutFacade,CheckoutFacade
public class ChineseTaxInvoiceCheckoutFacade
extends DefaultAcceleratorCheckoutFacade
implements TaxInvoiceCheckoutFacade
Implementation for
ChineseCustomerAccountService. Its main purpose is to retrieve chinese tax invoice
checkout related DTOs using existing services.-
Nested Class Summary
Nested classes/interfaces inherited from interface de.hybris.platform.acceleratorfacades.order.AcceleratorCheckoutFacade
AcceleratorCheckoutFacade.ExpressCheckoutResult -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets all InvoiceRecipientType.protected Converter<TaxInvoiceData,TaxInvoiceModel> protected TaxInvoiceServicebooleanChecks if the current CartModel has an TaxInvoice.booleanremoveTaxInvoice(String code) Removes a TaxInvoiceModel for PK.booleansetTaxInvoice(TaxInvoiceData data) Saves TaxInvoice in AbstractOrderModel.voidsetTaxInvoiceReverseConverter(Converter<TaxInvoiceData, TaxInvoiceModel> taxInvoiceReverseConverter) voidsetTaxInvoiceService(TaxInvoiceService taxInvoiceService) Methods inherited from class de.hybris.platform.acceleratorfacades.order.impl.DefaultAcceleratorCheckoutFacade
consolidateCheckoutCart, getAcceleratorCheckoutService, getCartModificationConverter, getCheckoutFlowGroupForCheckout, getConsolidatedPickupOptions, getExpressCheckoutDeliveryResult, getPointOfServiceDistanceConverter, getPointOfServiceService, getUiExperienceService, hasNoDeliveryAddress, hasNoDeliveryMode, hasNoPaymentInfo, hasValidCart, isExpressCheckoutAllowedForCart, isExpressCheckoutAllowedForShippingCart, isExpressCheckoutAllowedPickupOnlyCart, isExpressCheckoutEnabledForStore, isNewAddressEnabledForCart, isRemoveAddressEnabledForCart, isTaxEstimationEnabledForCart, performExpressCheckout, placeOrder, setAcceleratorCheckoutService, setCartModificationConverter, setPointOfServiceDistanceConverter, setPointOfServiceService, setUiExperienceServiceMethods inherited from class de.hybris.platform.commercefacades.order.impl.DefaultCheckoutFacade
afterPlaceOrder, authorizePayment, beforePlaceOrder, checkIfCurrentUserIsTheCartUser, containsTaxValues, convert, createCommerceCheckoutParameter, createDeliveryAddressModel, createPaymentSubscription, getAddressConverter, getAddressDataForId, getAddressReversePopulator, getBaseStoreService, getBillingCountries, getCardTypeConverter, getCart, getCartFacade, getCartService, getCheckoutCart, getCheckoutCustomerStrategy, getCommerceCardTypeService, getCommerceCheckoutService, getCommonI18NService, getCountries, getCountryConverter, getCreditCardPaymentInfoConverter, getCurrentUserForCheckout, getCustomerAccountService, getDeliveryAddress, getDeliveryAddressForCode, getDeliveryAddressModelForCode, getDeliveryCountries, getDeliveryMode, getDeliveryModeConverter, getDeliveryService, getEnumerationService, getModelService, getOrderConverter, getPaymentDetails, getPaymentProvider, getPriceDataFactory, getSupportedCardTypes, getSupportedDeliveryAddresses, getSupportedDeliveryModes, getUserService, getZoneDeliveryModeConverter, hasCheckoutCart, hasItemsMatchingPredicate, hasPickUpItems, hasShippingItems, isSupportedDeliveryMode, placeOrder, prepareCartForCheckout, removeDeliveryAddress, removeDeliveryMode, setAddressConverter, setAddressReversePopulator, setBaseStoreService, setCardTypeConverter, setCartFacade, setCartService, setCheapestDeliveryModeForCheckout, setCheckoutCustomerStrategy, setCommerceCardTypeService, setCommerceCheckoutService, setCommonI18NService, setCountryConverter, setCreditCardPaymentInfoConverter, setCustomerAccountService, setDefaultDeliveryAddressForCheckout, setDefaultPaymentInfoForCheckout, setDeliveryAddress, setDeliveryAddressIfAvailable, setDeliveryMode, setDeliveryModeConverter, setDeliveryModeIfAvailable, setDeliveryService, setEnumerationService, setModelService, setOrderConverter, setPaymentDetails, setPaymentInfoIfAvailable, setPriceDataFactory, setUserService, setZoneDeliveryModeConverterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.acceleratorfacades.order.AcceleratorCheckoutFacade
consolidateCheckoutCart, getCheckoutFlowGroupForCheckout, getConsolidatedPickupOptions, hasNoDeliveryAddress, hasNoDeliveryMode, hasNoPaymentInfo, hasValidCart, isExpressCheckoutAllowedForCart, isExpressCheckoutEnabledForStore, isNewAddressEnabledForCart, isRemoveAddressEnabledForCart, isTaxEstimationEnabledForCart, performExpressCheckoutMethods inherited from interface de.hybris.platform.commercefacades.order.CheckoutFacade
authorizePayment, containsTaxValues, createPaymentSubscription, getAddressDataForId, getBillingCountries, getCheckoutCart, getCountries, getDeliveryAddressForCode, getDeliveryCountries, getSupportedCardTypes, getSupportedDeliveryAddresses, getSupportedDeliveryModes, hasCheckoutCart, hasPickUpItems, hasShippingItems, placeOrder, prepareCartForCheckout, removeDeliveryAddress, removeDeliveryMode, setCheapestDeliveryModeForCheckout, setDefaultDeliveryAddressForCheckout, setDefaultPaymentInfoForCheckout, setDeliveryAddress, setDeliveryAddressIfAvailable, setDeliveryMode, setDeliveryModeIfAvailable, setPaymentDetails, setPaymentInfoIfAvailable
-
Constructor Details
-
ChineseTaxInvoiceCheckoutFacade
public ChineseTaxInvoiceCheckoutFacade()
-
-
Method Details
-
setTaxInvoice
Description copied from interface:TaxInvoiceCheckoutFacadeSaves TaxInvoice in AbstractOrderModel.- Specified by:
setTaxInvoicein interfaceTaxInvoiceCheckoutFacade- Parameters:
data- TaxInvoice data.- Returns:
- true if setting TaxInvoiceData successfully, false otherwise
-
removeTaxInvoice
Description copied from interface:TaxInvoiceCheckoutFacadeRemoves a TaxInvoiceModel for PK.- Specified by:
removeTaxInvoicein interfaceTaxInvoiceCheckoutFacade- Parameters:
code- TaxInvoice code(PK)- Returns:
- removes TaxInvoiceData successfully or not
-
hasTaxInvoice
public boolean hasTaxInvoice()Description copied from interface:TaxInvoiceCheckoutFacadeChecks if the current CartModel has an TaxInvoice.- Specified by:
hasTaxInvoicein interfaceTaxInvoiceCheckoutFacade- Returns:
- true if the current CartModel has an tax invoice, false otherwise
-
getTaxInvoiceRecipientTypes
Description copied from interface:TaxInvoiceCheckoutFacadeGets all InvoiceRecipientType.- Specified by:
getTaxInvoiceRecipientTypesin interfaceTaxInvoiceCheckoutFacade- Returns:
- all tax invoice recipient types
-
getTaxInvoiceService
-
setTaxInvoiceService
-
getTaxInvoiceReverseConverter
-
setTaxInvoiceReverseConverter
public void setTaxInvoiceReverseConverter(Converter<TaxInvoiceData, TaxInvoiceModel> taxInvoiceReverseConverter)
-