Current section

Files

Jump to
ex_chargebee lib ex_chargebee resources coupon_code.ex
Raw

lib/ex_chargebee/resources/coupon_code.ex

defmodule ExChargebee.CouponCode do
@moduledoc """
an interface for interacting with Coupon Codes
Supports:
- List
- Retrieve
"""
use ExChargebee.Resource
def archive(coupon_code, opts \\ []) do
post_resource(coupon_code, "/archive", %{}, opts)
end
end