Method: Stripe::Climate::Order.create
- Defined in:
- lib/stripe/resources/climate/order.rb
.create(params = {}, opts = {}) ⇒ Object
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.
46 47 48 |
# File 'lib/stripe/resources/climate/order.rb', line 46 def self.create(params = {}, opts = {}) request_stripe_object(method: :post, path: "/v1/climate/orders", params: params, opts: opts) end |