Amazon and eBay Buy/Sell APIs

This commit is contained in:
Marvin Scham
2023-06-22 16:31:54 +00:00
parent a86ed4c5e0
commit 0be5a5ad40
21 changed files with 980 additions and 7 deletions

View File

@@ -0,0 +1,19 @@
package de.rwu.easydrop.api.client;
import de.rwu.easydrop.api.dto.ProductDTO;
/**
* Abstract construct to provide access to a purchase API.
*
* @since 0.3.0
*/
public abstract class AbstractPurchaser extends AbstractDataWriter {
/**
* Sends a buy request to the Amazon API.
*
* @param dto
*/
public void purchaseProduct(final ProductDTO dto) {
sendPutRequest(dto, "Purchase");
}
}