| Package | Description |
|---|---|
| com.squareup.square.api | |
| com.squareup.square.models |
| Modifier and Type | Method and Description |
|---|---|
CreateOrderResponse |
OrdersApi.createOrder(CreateOrderRequest body)
Creates a new [order]($m/Order) that can include information about products for purchase and
settings to apply to the purchase.
|
CreateOrderResponse |
DefaultOrdersApi.createOrder(CreateOrderRequest body)
Creates a new [order]($m/Order) that can include information about products for purchase and
settings to apply to the purchase.
|
CompletableFuture<CreateOrderResponse> |
OrdersApi.createOrderAsync(CreateOrderRequest body)
Creates a new [order]($m/Order) that can include information about products for purchase and
settings to apply to the purchase.
|
CompletableFuture<CreateOrderResponse> |
DefaultOrdersApi.createOrderAsync(CreateOrderRequest body)
Creates a new [order]($m/Order) that can include information about products for purchase and
settings to apply to the purchase.
|
| Modifier and Type | Method and Description |
|---|---|
CreateOrderRequest |
CreateOrderRequest.Builder.build()
Builds a new
CreateOrderRequest object using the set fields. |
CreateOrderRequest |
CreateCheckoutRequest.getOrder()
Getter for Order.
|
| Modifier and Type | Method and Description |
|---|---|
CreateCheckoutRequest.Builder |
CreateCheckoutRequest.Builder.order(CreateOrderRequest order)
Setter for order.
|
| Constructor and Description |
|---|
Builder(String idempotencyKey,
CreateOrderRequest order)
Initialization constructor.
|
CreateCheckoutRequest(String idempotencyKey,
CreateOrderRequest order,
Boolean askForShippingAddress,
String merchantSupportEmail,
String prePopulateBuyerEmail,
Address prePopulateShippingAddress,
String redirectUrl,
List<ChargeRequestAdditionalRecipient> additionalRecipients,
String note)
Initialization constructor.
|
Copyright © 2022. All rights reserved.