public class SourceOrderParams implements StripeParamsModel
Information about the items and shipping associated with the source. Required for transactional credit (for example Klarna) sources before you can charge it.
public static com.stripe.android.model.SourceOrderParams.Companion Companion
@JvmOverloads public SourceOrderParams(@Nullable java.util.List<com.stripe.android.model.SourceOrderParams.Item> items, @Nullable com.stripe.android.model.SourceOrderParams.Shipping shipping)
Information about the items and shipping associated with the source. Required for transactional credit (for example Klarna) sources before you can charge it.
items
- List of items constituting the order.shipping
- Shipping address for the order. Required if any of the SKUs are for products that haveshippable
set to true.@JvmOverloads public SourceOrderParams(@Nullable java.util.List<com.stripe.android.model.SourceOrderParams.Item> items)
Information about the items and shipping associated with the source. Required for transactional credit (for example Klarna) sources before you can charge it.
items
- List of items constituting the order.@JvmOverloads public SourceOrderParams()
Information about the items and shipping associated with the source. Required for transactional credit (for example Klarna) sources before you can charge it.
@NotNull public java.util.Map<java.lang.String,java.lang.Object> toParamMap()
@Nullable public java.util.List<com.stripe.android.model.SourceOrderParams.Item> getItems()
List of items constituting the order.
@Nullable public com.stripe.android.model.SourceOrderParams.Shipping getShipping()
Shipping address for the order.
Required if any of the SKUs are for products that haveshippable
set to true.
@Nullable public java.util.List<com.stripe.android.model.SourceOrderParams.Item> component1()
List of items constituting the order.
@Nullable public com.stripe.android.model.SourceOrderParams.Shipping component2()
Shipping address for the order.
Required if any of the SKUs are for products that haveshippable
set to true.
@NotNull public SourceOrderParams copy(@Nullable java.util.List<com.stripe.android.model.SourceOrderParams.Item> items, @Nullable com.stripe.android.model.SourceOrderParams.Shipping shipping)
Information about the items and shipping associated with the source. Required for transactional credit (for example Klarna) sources before you can charge it.
@NotNull public java.lang.String toString()
Information about the items and shipping associated with the source. Required for transactional credit (for example Klarna) sources before you can charge it.
public int hashCode()
Information about the items and shipping associated with the source. Required for transactional credit (for example Klarna) sources before you can charge it.
public boolean equals(@Nullable java.lang.Object p)
Information about the items and shipping associated with the source. Required for transactional credit (for example Klarna) sources before you can charge it.