Interface OrderMessagePayload

All Superinterfaces:
MessagePayload, MessagePayloadMixin
All Known Subinterfaces:
CustomLineItemStateTransitionMessagePayload, DeliveryAddedMessagePayload, DeliveryAddressSetMessagePayload, DeliveryCustomFieldAddedMessagePayload, DeliveryCustomFieldChangedMessagePayload, DeliveryCustomFieldRemovedMessagePayload, DeliveryCustomTypeRemovedMessagePayload, DeliveryCustomTypeSetMessagePayload, DeliveryItemsUpdatedMessagePayload, DeliveryRemovedMessagePayload, LineItemStateTransitionMessagePayload, OrderBillingAddressSetMessagePayload, OrderCreatedMessagePayload, OrderCustomerEmailSetMessagePayload, OrderCustomerGroupSetMessagePayload, OrderCustomerSetMessagePayload, OrderCustomFieldAddedMessagePayload, OrderCustomFieldChangedMessagePayload, OrderCustomFieldRemovedMessagePayload, OrderCustomLineItemAddedMessagePayload, OrderCustomLineItemDiscountSetMessagePayload, OrderCustomLineItemQuantityChangedMessagePayload, OrderCustomLineItemRemovedMessagePayload, OrderCustomTypeRemovedMessagePayload, OrderCustomTypeSetMessagePayload, OrderDeletedMessagePayload, OrderDiscountCodeAddedMessagePayload, OrderDiscountCodeRemovedMessagePayload, OrderDiscountCodeStateSetMessagePayload, OrderEditAppliedMessagePayload, OrderImportedMessagePayload, OrderLineItemAddedMessagePayload, OrderLineItemDiscountSetMessagePayload, OrderLineItemDistributionChannelSetMessagePayload, OrderLineItemRemovedMessagePayload, OrderPaymentStateChangedMessagePayload, OrderPurchaseOrderNumberSetMessagePayload, OrderReturnShipmentStateChangedMessagePayload, OrderShipmentStateChangedMessagePayload, OrderShippingAddressSetMessagePayload, OrderShippingInfoSetMessagePayload, OrderShippingRateInputSetMessagePayload, OrderStateChangedMessagePayload, OrderStateTransitionMessagePayload, OrderStoreSetMessagePayload, ParcelAddedToDeliveryMessagePayload, ParcelItemsUpdatedMessagePayload, ParcelMeasurementsUpdatedMessagePayload, ParcelRemovedFromDeliveryMessagePayload, ParcelTrackingDataUpdatedMessagePayload, ReturnInfoAddedMessagePayload, ReturnInfoSetMessagePayload

public interface OrderMessagePayload extends MessagePayload
OrderMessagePayload
Example to create an instance using the builder pattern

     OrderMessagePayload orderMessagePayload = OrderMessagePayload.builder()
             .build()
 
  • Method Details

    • deepCopy

      factory method to create a deep copy of OrderMessagePayload
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • withOrderMessagePayload

      default <T> T withOrderMessagePayload(Function<OrderMessagePayload,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<OrderMessagePayload> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference