Update March 29, 2024 (#74)

This commit is contained in:
Kirill
2024-03-31 16:51:47 +03:00
committed by GitHub
parent f02e71d17e
commit 97a9d2aba5
2 changed files with 2 additions and 15 deletions

View File

@@ -226,9 +226,6 @@ type ProductDetails struct {
// Use PriceIndexes instead
PriceIndex string `json:"price_index"`
// Product price suggested by the system based on similar offers
RecommendedPrice string `json:"recommended_price"`
// Product state description
Status ProductDetailStatus `json:"status"`
@@ -258,9 +255,6 @@ type ProductDetailCommission struct {
// Delivery cost
DeliveryAmount float64 `json:"deliveryAmount"`
// Minimum commission fee
MinValue float64 `json:"minValue"`
// Commission percentage
Percent float64 `json:"percent"`
@@ -1927,7 +1921,7 @@ type GetProductPriceInfoResponse struct {
type GetProductPriceInfoResult struct {
// Products list
Items []GetPRoductPriceInfoResultItem `json:"items"`
Items []GetProductPriceInfoResultItem `json:"items"`
// Identifier of the last value on page. Leave this field blank in the first request.
//
@@ -1938,7 +1932,7 @@ type GetProductPriceInfoResult struct {
Total int32 `json:"total"`
}
type GetPRoductPriceInfoResultItem struct {
type GetProductPriceInfoResultItem struct {
// Maximum acquiring fee
Acquiring int32 `json:"acquiring"`
@@ -2081,9 +2075,6 @@ type GetProductPriceInfoResultItemPrice struct {
// Product price including discounts. This value is shown on the product description page
Price string `json:"price"`
// Product price suggested by the system based on similar offers
RecommendedPrice string `json:"recommended_price"`
// Retailer price
RetailPrice string `json:"retail_price"`

View File

@@ -147,7 +147,6 @@ func TestGetProductDetails(t *testing.T) {
"old_price": "",
"premium_price": "",
"price": "590.0000",
"recommended_price": "",
"sources": [
{
"is_enabled": true,
@@ -1395,7 +1394,6 @@ func TestListProductsByIDs(t *testing.T) {
"old_price": "1000.0000",
"premium_price": "590.0000",
"price": "690.0000",
"recommended_price": "",
"sources": [
{
"is_enabled": true,
@@ -1472,7 +1470,6 @@ func TestListProductsByIDs(t *testing.T) {
"old_price": "12200.0000",
"premium_price": "5490.0000",
"price": "6100.0000",
"recommended_price": "",
"sources": [
{
"is_enabled": true,
@@ -2357,7 +2354,6 @@ func TestGetProductPriceInfo(t *testing.T) {
"price": "499.0000",
"old_price": "579.0000",
"premium_price": "",
"recommended_price": "",
"retail_price": "",
"vat": "0.200000",
"min_ozon_price": "",