class Stripetease::API::Prices

Overview

Prices define the unit cost, currency, and (optional) billing cycle for both recurring and one-time purchases of products.

Defined in:

stripetease/api/prices.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(session : Session) #

[View source]

Instance Method Detail

def list(active : Bool | Nil = nil, currency : String | Nil = nil, product : String | Nil = nil, type : String | Nil = nil, created : Hash(String, String) | Nil = nil, ending_before : String | Nil = nil, limit : Int32 | Nil = nil, lookup_keys : Array(String) | Nil = nil, recurring : Hash(String, String) | Nil = nil, starting_after : String | Nil = nil) #

Returns a list of your prices.


[View source]