Interface TaxInvoiceCheckoutFacade
- All Superinterfaces:
AcceleratorCheckoutFacade,CheckoutFacade
- All Known Implementing Classes:
ChineseTaxInvoiceCheckoutFacade
Implementation for
AcceleratorCheckoutFacade. Delivers main functionality for chinese tax invoice checkout.-
Nested Class Summary
Nested classes/interfaces inherited from interface de.hybris.platform.acceleratorfacades.order.AcceleratorCheckoutFacade
AcceleratorCheckoutFacade.ExpressCheckoutResult -
Method Summary
Modifier and TypeMethodDescriptionGets all InvoiceRecipientType.booleanChecks if the current CartModel has an TaxInvoice.booleanremoveTaxInvoice(String code) Removes a TaxInvoiceModel for PK.booleansetTaxInvoice(TaxInvoiceData data) Saves TaxInvoice in AbstractOrderModel.Methods 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
-
Method Details
-
setTaxInvoice
Saves TaxInvoice in AbstractOrderModel.- Parameters:
data- TaxInvoice data.- Returns:
- true if setting TaxInvoiceData successfully, false otherwise
-
removeTaxInvoice
Removes a TaxInvoiceModel for PK.- Parameters:
code- TaxInvoice code(PK)- Returns:
- removes TaxInvoiceData successfully or not
-
hasTaxInvoice
boolean hasTaxInvoice()Checks if the current CartModel has an TaxInvoice.- Returns:
- true if the current CartModel has an tax invoice, false otherwise
-
getTaxInvoiceRecipientTypes
List<InvoiceRecipientType> getTaxInvoiceRecipientTypes()Gets all InvoiceRecipientType.- Returns:
- all tax invoice recipient types
-