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 forChineseCustomerAccountService. 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 Constructor Description ChineseTaxInvoiceCheckoutFacade()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<InvoiceRecipientType>getTaxInvoiceRecipientTypes()Gets all InvoiceRecipientType.protected Converter<TaxInvoiceData,TaxInvoiceModel>getTaxInvoiceReverseConverter()protected TaxInvoiceServicegetTaxInvoiceService()booleanhasTaxInvoice()Checks if the current CartModel has an TaxInvoice.booleanremoveTaxInvoice(java.lang.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, setUiExperienceService
-
Methods 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, setZoneDeliveryModeConverter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.acceleratorfacades.order.AcceleratorCheckoutFacade
consolidateCheckoutCart, getCheckoutFlowGroupForCheckout, getConsolidatedPickupOptions, hasNoDeliveryAddress, hasNoDeliveryMode, hasNoPaymentInfo, hasValidCart, isExpressCheckoutAllowedForCart, isExpressCheckoutEnabledForStore, isNewAddressEnabledForCart, isRemoveAddressEnabledForCart, isTaxEstimationEnabledForCart, performExpressCheckout
-
Methods 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
-
-
-
-
Method Detail
-
setTaxInvoice
public boolean setTaxInvoice(TaxInvoiceData data)
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
public boolean removeTaxInvoice(java.lang.String code)
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
public java.util.List<InvoiceRecipientType> getTaxInvoiceRecipientTypes()
Description copied from interface:TaxInvoiceCheckoutFacadeGets all InvoiceRecipientType.- Specified by:
getTaxInvoiceRecipientTypesin interfaceTaxInvoiceCheckoutFacade- Returns:
- all tax invoice recipient types
-
getTaxInvoiceService
protected TaxInvoiceService getTaxInvoiceService()
-
setTaxInvoiceService
public void setTaxInvoiceService(TaxInvoiceService taxInvoiceService)
-
getTaxInvoiceReverseConverter
protected Converter<TaxInvoiceData,TaxInvoiceModel> getTaxInvoiceReverseConverter()
-
setTaxInvoiceReverseConverter
public void setTaxInvoiceReverseConverter(Converter<TaxInvoiceData,TaxInvoiceModel> taxInvoiceReverseConverter)
-
-