Update June 27, 2024 (#98)

This commit is contained in:
Kirill
2024-07-29 04:26:59 +03:00
committed by GitHub
parent b0c133ba40
commit dfbb93f438
3 changed files with 28 additions and 4 deletions

View File

@@ -809,3 +809,16 @@ const (
// reissue of returns at the pick-up point
TransactionServiceRedistributionReturnsPVZ TransactionOperationService = "MarketplaceServiceItemRedistributionReturnsPVZ"
)
type PaymentTypeGroupName string
const (
PaymentTypeGroupByCardOnline PaymentTypeGroupName = "by card online"
PaymentTypeGroupOzonCard PaymentTypeGroupName = "Ozon Card"
PaymentTypeGroupOzonCardAtCheckout PaymentTypeGroupName = "Ozon Card at checkout"
PaymentTypeGroupBySavedBankCardUponPickup PaymentTypeGroupName = "by saved bank card upon pick-up"
PaymentTypeGroupFasterPaymentSystem PaymentTypeGroupName = "Faster payment system"
PaymentTypeGroupOzonInstallment PaymentTypeGroupName = "Ozon Installment"
PaymentTypeGroupPaymentToCurrentAccount PaymentTypeGroupName = "payment to current account"
PaymentTypeGroupSberpay PaymentTypeGroupName = "Sberpay"
)

View File

@@ -116,7 +116,7 @@ type GetFBOShipmentsListResultAnalyticsData struct {
IsPremium bool `json:"is_premium"`
// Payment method
PaymentTypeGroupName string `json:"payment_type_group_name"`
PaymentTypeGroupName PaymentTypeGroupName `json:"payment_type_group_name"`
// Delivery region
Region string `json:"region"`

View File

@@ -213,7 +213,7 @@ type FBSPostingAnalyticsData struct {
IsPremium bool `json:"is_premium"`
// Payment method
PaymentTypeGroupName string `json:"payment_type_group_name"`
PaymentTypeGroupName PaymentTypeGroupName `json:"payment_type_group_name"`
// Delivery region
Region string `json:"region"`
@@ -358,7 +358,7 @@ type FBSCustomer struct {
// Customer phone number.
//
// Returns an empty string
// Returns an empty string ""
Phone string `json:"phone"`
}
@@ -563,6 +563,13 @@ type GetFBSShipmentsListFilter struct {
// Warehouse identifier
WarehouseId []int64 `json:"warehouse_id"`
LastChangedStatusDate GetFBSShipmentsListFilterLastChangeDate `json:"last_changed_status_date"`
}
type GetFBSShipmentsListFilterLastChangeDate struct {
From time.Time `json:"from"`
To time.Time `json:"to"`
}
type GetFBSShipmentsListWith struct {
@@ -1006,7 +1013,9 @@ type GetShipmentDataByIdentifierResultAddressee struct {
// Recipient name
Name string `json:"name"`
// Recipient phone number
// Recipient phone number.
//
// Returns an empty string ""
Phone string `json:"phone"`
}
@@ -1061,6 +1070,8 @@ type GetShipmentDataByIdentifierResultCourier struct {
Name string `json:"name"`
// Courier's phone number
//
// Returns an empty string ""
Phone string `json:"phone"`
}