Interface ShippingInfoImportDraft

All Superinterfaces:
io.vrap.rmf.base.client.Draft<ShippingInfoImportDraft>
All Known Implementing Classes:
ShippingInfoImportDraftImpl

public interface ShippingInfoImportDraft extends io.vrap.rmf.base.client.Draft<ShippingInfoImportDraft>

Maps to an order's shippingInfo property. This field is usually populated by the cart assosciated with the order, but when importing orders you must provide a draft representation as a part of the OrderImport.


Example to create an instance using the builder pattern

     ShippingInfoImportDraft shippingInfoImportDraft = ShippingInfoImportDraft.builder()
             .shippingMethodName("{shippingMethodName}")
             .price(priceBuilder -> priceBuilder)
             .shippingRate(shippingRateBuilder -> shippingRateBuilder)
             .build()