Class ParcelTrackingDataUpdatedMessageBuilder

java.lang.Object
com.commercetools.api.models.message.ParcelTrackingDataUpdatedMessageBuilder
All Implemented Interfaces:
Builder<ParcelTrackingDataUpdatedMessage>

public class ParcelTrackingDataUpdatedMessageBuilder extends Object implements Builder<ParcelTrackingDataUpdatedMessage>
ParcelTrackingDataUpdatedMessageBuilder
Example to create an instance using the builder pattern

     ParcelTrackingDataUpdatedMessage parcelTrackingDataUpdatedMessage = ParcelTrackingDataUpdatedMessage.builder()
             .id("{id}")
             .version(0.3)
             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .sequenceNumber(0.3)
             .resource(resourceBuilder -> resourceBuilder)
             .resourceVersion(0.3)
             .deliveryId("{deliveryId}")
             .parcelId("{parcelId}")
             .build()
 
  • Constructor Details

    • ParcelTrackingDataUpdatedMessageBuilder

      public ParcelTrackingDataUpdatedMessageBuilder()
  • Method Details