Package com.hybris.cis.service
Interface CisClientTaxService
-
- All Superinterfaces:
CisClientService
- All Known Implementing Classes:
DefaultCisClientTaxService
public interface CisClientTaxService extends CisClientService
Interface providing Tax services
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CisTaxDocadjust(java.lang.String xClientRef, java.lang.String tenantId, java.net.URI documentLocation, CisOrder order)Adjusts a previously submitted or invoiced tax document.com.hybris.charon.RawResponse<java.lang.String>cancel(java.lang.String xClientRef, java.lang.String tenantId, java.net.URI documentLocation)Cancels a previously submitted or invoiced tax document.com.hybris.charon.RawResponse<java.lang.String>exists(java.lang.String xClientRef, java.lang.String tenantId, java.net.URI documentLocation)Checks if a tax document exists.CisTaxDocinvoice(java.lang.String xClientRef, java.lang.String tenantId, CisOrder order)Creates an invoice based on the provided order details.CisTaxDocpost(java.lang.String xClientRef, java.lang.String tenantId, CisOrder order)Submits taxes for the given order.CisTaxDocquote(java.lang.String xClientRef, java.lang.String tenantId, CisOrder order)Returns a tax quote for the order.-
Methods inherited from interface com.hybris.cis.service.CisClientService
ping
-
-
-
-
Method Detail
-
quote
CisTaxDoc quote(java.lang.String xClientRef, java.lang.String tenantId, CisOrder order)
Returns a tax quote for the order.- Parameters:
xClientRef- client ref to pass in the headertenantId- tenantId to pass in the headerorder- The order details to get the quote for- Returns:
- A tax document
-
post
CisTaxDoc post(java.lang.String xClientRef, java.lang.String tenantId, CisOrder order)
Submits taxes for the given order.
Taxes can be posted when the order is placed, which will create a persisted tax document for later reference.
- Parameters:
xClientRef- client ref to pass in the headertenantId- tenantId to pass in the headerorder- The order details to post taxes for- Returns:
- A tax document
-
invoice
CisTaxDoc invoice(java.lang.String xClientRef, java.lang.String tenantId, CisOrder order)
Creates an invoice based on the provided order details.
Invoiced orders can be adjusted or cancelled.
- Parameters:
xClientRef- client ref to pass in the headertenantId- tenantId to pass in the headerorder- The order details to invoice taxes for- Returns:
- A tax document
-
cancel
com.hybris.charon.RawResponse<java.lang.String> cancel(java.lang.String xClientRef, java.lang.String tenantId, java.net.URI documentLocation)Cancels a previously submitted or invoiced tax document.
- Parameters:
xClientRef- client ref to pass in the headertenantId- tenantId to pass in the headerdocumentLocation- The location URI of the document (can be relative or absolute)
-
adjust
CisTaxDoc adjust(java.lang.String xClientRef, java.lang.String tenantId, java.net.URI documentLocation, CisOrder order)
Adjusts a previously submitted or invoiced tax document.
- Parameters:
xClientRef- client ref to pass in the headertenantId- tenantId to pass in the headerdocumentLocation- The location URI of the document to adjustorder- CisOrder with lineitems to be cancelled- Returns:
- A tax document
-
exists
com.hybris.charon.RawResponse<java.lang.String> exists(java.lang.String xClientRef, java.lang.String tenantId, java.net.URI documentLocation)Checks if a tax document exists.
- Parameters:
xClientRef- client ref to pass in the headertenantId- tenantId to pass in the headerdocumentLocation-
-
-