All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.logicommerce.sdk.builders.order.ProviderPickupPointPickingDocumentDeliveryBuilder Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version
package com.logicommerce.sdk.builders.order;

import com.logicommerce.sdk.models.order.ProviderPickupPointPickingDocumentDelivery;
import com.logicommerce.sdk.models.order.implementations.ProviderPickupPointPickingDocumentDeliveryImpl;

/**
 * 

ProviderPickupPointPickingDocumentDeliveryBuilder class.

* * @author Logicommerce * @since 1.3.8 */ public class ProviderPickupPointPickingDocumentDeliveryBuilder { private T parentBuilder; private DocumentPickupPointProviderBuilder> provider; private DocumentProviderPickupPointBuilder> pickupPoint; /** *

Constructor for ProviderPickupPointPickingDocumentDeliveryBuilder.

*/ public ProviderPickupPointPickingDocumentDeliveryBuilder() { this.provider = new DocumentPickupPointProviderBuilder<>(this); this.pickupPoint = new DocumentProviderPickupPointBuilder<>(this); } /** *

Constructor for ProviderPickupPointPickingDocumentDeliveryBuilder.

* * @param parentBuilder a T object */ public ProviderPickupPointPickingDocumentDeliveryBuilder(T parentBuilder) { this(); this.parentBuilder = parentBuilder; } /** *

pickupPointProvider.

* * @return a {@link com.logicommerce.sdk.builders.order.DocumentPickupPointProviderBuilder} object */ public DocumentPickupPointProviderBuilder> pickupPointProvider() { DocumentPickupPointProviderBuilder> providerBuild = new DocumentPickupPointProviderBuilder<>(this); this.provider = providerBuild; return providerBuild; } /** *

destinationAddress.

* * @return a {@link com.logicommerce.sdk.builders.order.DocumentProviderPickupPointBuilder} object */ public DocumentProviderPickupPointBuilder> providerPickupPoint() { DocumentProviderPickupPointBuilder> pickupPointBuild = new DocumentProviderPickupPointBuilder<>(this); this.pickupPoint = pickupPointBuild; return pickupPointBuild; } /** *

build.

* * @return a {@link com.logicommerce.sdk.models.order.ProviderPickupPointPickingDocumentDelivery} object */ public ProviderPickupPointPickingDocumentDelivery build() { ProviderPickupPointPickingDocumentDeliveryImpl providerPickupPointPickingDocumentDelivery = new ProviderPickupPointPickingDocumentDeliveryImpl(); providerPickupPointPickingDocumentDelivery.setProvider(provider.build()); providerPickupPointPickingDocumentDelivery.setPickupPoint(pickupPoint.build()); return providerPickupPointPickingDocumentDelivery; } /** *

done.

* * @return a T object */ public T done() { return parentBuilder; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy