Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update March 12, 2024 #73

Merged
merged 1 commit into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ozon/cancellations.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type CancellationInfo struct {
CancellationReasonMessage string `json:"cancellation_reason_message"`

// Delivery service integration type
TPLIntegrationType string `json:"tpl_integration_type"`
TPLIntegrationType TPLIntegrationType `json:"tpl_integration_type"`

// Cancellation request status
State CancellationInfoState `json:"state"`
Expand Down
3 changes: 3 additions & 0 deletions ozon/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,9 @@ const (

// delivery by the seller
NonIntegratedTPLType TPLIntegrationType = "non_integrated"

// Russian Post delivery scheme
HybrydTPLType TPLIntegrationType = "hybryd"
)

type DetailsDeliveryItemName string
Expand Down
2 changes: 1 addition & 1 deletion ozon/fbs.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ type FBSPosting struct {
Substatus string `json:"substatus"`

// Type of integration with the delivery service
TPLIntegrationType string `json:"tpl_integration_type"`
TPLIntegrationType TPLIntegrationType `json:"tpl_integration_type"`

// Shipment tracking number
TrackingNumber string `json:"tracking_number"`
Expand Down
Loading