# frozen_string_literal: true

# This file is generated. Do not edit.

require "peddler/notifications/fulfillment_order_status/fulfillment_return_item"
require "peddler/notifications/fulfillment_order_status/fulfillment_shipment"

module Peddler
  module Notifications
    module FulfillmentOrderStatus
      # Nested notification data
      FulfillmentOrderStatusNotification = Structure.new do
        # @return [String]
        attribute(:event_type, String, from: "EventType")

        # @return [String]
        attribute(:fulfillment_order_status, String, from: "FulfillmentOrderStatus")

        # @return [FulfillmentReturnItem]
        attribute(:fulfillment_return_item, FulfillmentReturnItem, from: "FulfillmentReturnItem")

        # @return [FulfillmentShipment]
        attribute(:fulfillment_shipment, FulfillmentShipment, from: "FulfillmentShipment")

        # @return [String]
        attribute(:seller_fulfillment_order_id, String, from: "SellerFulfillmentOrderId")

        # @return [String]
        attribute(:seller_id, String, from: "SellerId")

        # @return [String]
        attribute(:status_updated_date_time, String, from: "StatusUpdatedDateTime")
      end
    end
  end
end
