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

io.sphere.sdk.orders.OrderImportDraft Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.orders;

import com.neovisionaries.i18n.CountryCode;
import io.sphere.sdk.carts.TaxedPrice;
import io.sphere.sdk.customergroups.CustomerGroup;
import io.sphere.sdk.models.Address;
import io.sphere.sdk.models.Reference;

import javax.annotation.Nullable;
import javax.money.MonetaryAmount;
import java.time.ZonedDateTime;
import java.util.List;


/**
 * Draft for importing an Order.
 *
 * @see OrderImportDraftBuilder
 */
public interface OrderImportDraft {
    @Nullable
    Address getBillingAddress();

    ZonedDateTime getCompletedAt();

    @Nullable
    CountryCode getCountry();

    @Nullable
    String getCustomerEmail();

    @Nullable
    Reference getCustomerGroup();

    @Nullable
    String getCustomerId();

    List getCustomLineItems();

    List getLineItems();

    @Nullable
    String getOrderNumber();

    OrderState getOrderState();

    @Nullable
    PaymentState getPaymentState();

    @Nullable
    ShipmentState getShipmentState();

    @Nullable
    Address getShippingAddress();

    @Nullable
    OrderShippingInfo getShippingInfo();

    @Nullable
    TaxedPrice getTaxedPrice();

    MonetaryAmount getTotalPrice();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy