Class OrderCreateParams

java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.OrderCreateParams

public class OrderCreateParams extends ApiRequestParams
  • Method Details

    • builder

      public static OrderCreateParams.Builder builder()
    • getAutomaticTax

      public OrderCreateParams.AutomaticTax getAutomaticTax()
      Settings for automatic tax calculation for this order.
    • getBillingDetails

      public Object getBillingDetails()
      Billing details for the customer. If a customer is provided, this will be automatically populated with values from that customer if override values are not provided.
    • getCredits

      public Object getCredits()
      The credits to apply to the order, only gift_card currently supported.
    • getCurrency

      public String getCurrency()
      Required. Three-letter ISO currency code, in lowercase. Must be a supported currency.
    • getCustomer

      public String getCustomer()
      The customer associated with this order.
    • getDescription

      public String getDescription()
      An arbitrary string attached to the object. Often useful for displaying to users.
    • getDiscounts

      public Object getDiscounts()
      The coupons, promotion codes, and/or discounts to apply to the order.
    • getExpand

      public List<String> getExpand()
      Specifies which fields in the response should be expanded.
    • getExtraParams

      public Map<String,Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
    • getIpAddress

      public String getIpAddress()
      The IP address of the purchaser for this order.
    • getLineItems

      public List<OrderCreateParams.LineItem> getLineItems()
      Required. A list of line items the customer is ordering. Each line item includes information about the product, the quantity, and the resulting cost.
    • getMetadata

      public Map<String,String> getMetadata()
      Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.
    • getPayment

      public OrderCreateParams.Payment getPayment()
      Payment information associated with the order, including payment settings.
    • getShippingCost

      public Object getShippingCost()
      Settings for the customer cost of shipping for this order.
    • getShippingDetails

      public Object getShippingDetails()
      Shipping details for the order.
    • getTaxDetails

      public OrderCreateParams.TaxDetails getTaxDetails()
      Additional tax details about the purchaser to be used for this order.