Package com.stripe.service.climate
Class OrderService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.climate.OrderService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCancels a Climate order.cancel
(String order, RequestOptions options) Cancels a Climate order.cancel
(String order, OrderCancelParams params) Cancels a Climate order.cancel
(String order, OrderCancelParams params, RequestOptions options) Cancels a Climate order.create
(OrderCreateParams params) Creates a Climate order object for a given Climate product.create
(OrderCreateParams params, RequestOptions options) Creates a Climate order object for a given Climate product.list()
Lists all Climate order objects.list
(RequestOptions options) Lists all Climate order objects.list
(OrderListParams params) Lists all Climate order objects.list
(OrderListParams params, RequestOptions options) Lists all Climate order objects.Retrieves the details of a Climate order object with the given ID.retrieve
(String order, RequestOptions options) Retrieves the details of a Climate order object with the given ID.retrieve
(String order, OrderRetrieveParams params) Retrieves the details of a Climate order object with the given ID.retrieve
(String order, OrderRetrieveParams params, RequestOptions options) Retrieves the details of a Climate order object with the given ID.Updates the specified order by setting the values of the parameters passed.update
(String order, RequestOptions options) Updates the specified order by setting the values of the parameters passed.update
(String order, OrderUpdateParams params) Updates the specified order by setting the values of the parameters passed.update
(String order, OrderUpdateParams params, RequestOptions options) Updates the specified order by setting the values of the parameters passed.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
OrderService
-
-
Method Details
-
list
Lists all Climate order objects. The orders are returned sorted by creation date, with the most recently created orders appearing first.- Throws:
StripeException
-
list
Lists all Climate order objects. The orders are returned sorted by creation date, with the most recently created orders appearing first.- Throws:
StripeException
-
list
Lists all Climate order objects. The orders are returned sorted by creation date, with the most recently created orders appearing first.- Throws:
StripeException
-
list
public StripeCollection<Order> list(OrderListParams params, RequestOptions options) throws StripeException Lists all Climate order objects. The orders are returned sorted by creation date, with the most recently created orders appearing first.- Throws:
StripeException
-
create
Creates a Climate order object for a given Climate product. The order will be processed immediately after creation and payment will be deducted your Stripe balance.- Throws:
StripeException
-
create
Creates a Climate order object for a given Climate product. The order will be processed immediately after creation and payment will be deducted your Stripe balance.- Throws:
StripeException
-
retrieve
Retrieves the details of a Climate order object with the given ID.- Throws:
StripeException
-
retrieve
Retrieves the details of a Climate order object with the given ID.- Throws:
StripeException
-
retrieve
Retrieves the details of a Climate order object with the given ID.- Throws:
StripeException
-
retrieve
public Order retrieve(String order, OrderRetrieveParams params, RequestOptions options) throws StripeException Retrieves the details of a Climate order object with the given ID.- Throws:
StripeException
-
update
Updates the specified order by setting the values of the parameters passed.- Throws:
StripeException
-
update
Updates the specified order by setting the values of the parameters passed.- Throws:
StripeException
-
update
Updates the specified order by setting the values of the parameters passed.- Throws:
StripeException
-
update
public Order update(String order, OrderUpdateParams params, RequestOptions options) throws StripeException Updates the specified order by setting the values of the parameters passed.- Throws:
StripeException
-
cancel
Cancels a Climate order. You can cancel an order within 24 hours of creation. Stripe refunds the reservationamount_subtotal
, but not theamount_fees
for user-triggered cancellations. Frontier might cancel reservations if suppliers fail to deliver. If Frontier cancels the reservation, Stripe provides 90 days advance notice and refunds theamount_total
.- Throws:
StripeException
-
cancel
Cancels a Climate order. You can cancel an order within 24 hours of creation. Stripe refunds the reservationamount_subtotal
, but not theamount_fees
for user-triggered cancellations. Frontier might cancel reservations if suppliers fail to deliver. If Frontier cancels the reservation, Stripe provides 90 days advance notice and refunds theamount_total
.- Throws:
StripeException
-
cancel
Cancels a Climate order. You can cancel an order within 24 hours of creation. Stripe refunds the reservationamount_subtotal
, but not theamount_fees
for user-triggered cancellations. Frontier might cancel reservations if suppliers fail to deliver. If Frontier cancels the reservation, Stripe provides 90 days advance notice and refunds theamount_total
.- Throws:
StripeException
-
cancel
public Order cancel(String order, OrderCancelParams params, RequestOptions options) throws StripeException Cancels a Climate order. You can cancel an order within 24 hours of creation. Stripe refunds the reservationamount_subtotal
, but not theamount_fees
for user-triggered cancellations. Frontier might cancel reservations if suppliers fail to deliver. If Frontier cancels the reservation, Stripe provides 90 days advance notice and refunds theamount_total
.- Throws:
StripeException
-