View Source ExChargebee.CouponSet (ex_chargebee v0.4.5)
An interface for Interacting with coupon_sets
For More information see Chargebee coupon_set Documentation
Summary
Functions
Perform a add_coupon_codes on individual coupon_set.
Creates a coupon_set.
Perform a delete on individual coupon_set.
Perform a delete_unused_coupon_codes on individual coupon_set.
Returns a list of coupon_sets. Pagination is handled automatically unless the opt paginate
is set to false.
Returns a stream of coupon_sets. Pagination is handled automatically as the stream is consumed.
Updates a coupon_set.
Functions
Perform a add_coupon_codes on individual coupon_set.
Find more information in the Chargebee Documentation
Creates a coupon_set.
Find more information in the Chargebee Documentation
Perform a delete on individual coupon_set.
Find more information in the Chargebee Documentation
delete_unused_coupon_codes(resource_id, params \\ %{}, opts \\ [])
View SourcePerform a delete_unused_coupon_codes on individual coupon_set.
Find more information in the Chargebee Documentation
Returns a list of coupon_sets. Pagination is handled automatically unless the opt paginate
is set to false.
opts:
- site: the site to use for the request. Defaults to the default site.
- paginate: whether to paginate the results. Defaults to false. If false, all results will be returned.
@spec operations() :: Keyword.t()
@spec stream_list( map(), keyword() ) :: Enumerable.t()
Returns a stream of coupon_sets. Pagination is handled automatically as the stream is consumed.
Updates a coupon_set.
Find more information in the Chargebee Documentation