Skip to content

Commit

Permalink
Update November 29, 2024 (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
diPhantxm authored Dec 27, 2024
1 parent 2f4d207 commit 7f71ed6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 20 deletions.
12 changes: 0 additions & 12 deletions ozon/fbo.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,6 @@ type GetFBOShipmentsListResultAdditionalData struct {
}

type GetFBOShipmentsListResultAnalyticsData struct {
// Delivery city
City string `json:"city"`

// Delivery method
DeliveryType string `json:"delivery_type"`

Expand All @@ -118,9 +115,6 @@ type GetFBOShipmentsListResultAnalyticsData struct {
// Payment method
PaymentTypeGroupName PaymentTypeGroupName `json:"payment_type_group_name"`

// Delivery region
Region string `json:"region"`

// Warehouse identifier
WarehouseId int64 `json:"warehouse_id"`

Expand Down Expand Up @@ -247,9 +241,6 @@ type GetShipmentDetailsResultAdditionalData struct {
}

type GetShipmentDetailsResultAnalyticsData struct {
// Delivery city
City string `json:"city"`

// Delivery method
DeliveryType string `json:"delivery_type"`

Expand All @@ -264,9 +255,6 @@ type GetShipmentDetailsResultAnalyticsData struct {
// Payment method
PaymentTypeGroupName string `json:"payment_type_group_name"`

// Delivery region
Region string `json:"region"`

// Warehouse identifier
WarehouseId int64 `json:"warehouse_id"`

Expand Down
4 changes: 0 additions & 4 deletions ozon/fbo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ func TestGetFBOShipmentsList(t *testing.T) {
}
],
"analytics_data": {
"region": "РОСТОВСКАЯ ОБЛАСТЬ",
"city": "Ростов-на-Дону",
"delivery_type": "PVZ",
"is_premium": false,
"payment_type_group_name": "Карты оплаты",
Expand Down Expand Up @@ -191,8 +189,6 @@ func TestGetShipmentDetails(t *testing.T) {
}
],
"analytics_data": {
"region": "МОСКВА",
"city": "Москва",
"delivery_type": "Courier",
"is_premium": false,
"payment_type_group_name": "Карты оплаты",
Expand Down
8 changes: 4 additions & 4 deletions ozon/fbs.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ type FBSPostingAddressee struct {
}

type FBSPostingAnalyticsData struct {
// Delivery city
// Delivery city. Only for rFBS shipments
City string `json:"city"`

// Delivery start date and time
Expand All @@ -261,7 +261,7 @@ type FBSPostingAnalyticsData struct {
// Payment method
PaymentTypeGroupName PaymentTypeGroupName `json:"payment_type_group_name"`

// Delivery region
// Delivery region. Only for rFBS shipments
Region string `json:"region"`

// Delivery service
Expand Down Expand Up @@ -1077,7 +1077,7 @@ type GetShipmentDataByIdentifierResultAddressee struct {
}

type GetShipmentDataByIdentifierResultAnalyticsData struct {
// Delivery city
// Delivery city. Only for rFBS shipments
City string `json:"city"`

// Delivery start date and time
Expand All @@ -1100,7 +1100,7 @@ type GetShipmentDataByIdentifierResultAnalyticsData struct {
// Payment method
PaymentTypeGroupName string `json:"payment_type_group_name"`

// Delivery region
// Delivery region. Only for rFBS shipments
Region string `json:"region"`

// Delivery service
Expand Down

0 comments on commit 7f71ed6

Please sign in to comment.