// Generated by Create API
// https://github.com/CreateAPI/CreateAPI

import Foundation
import Get
import URLQueryEncoder

extension Paths.Billing {
    public var eligibleDiscounts: EligibleDiscounts {
        EligibleDiscounts(path: path + "/eligible-discounts")
    }

    public struct EligibleDiscounts {
        /// Path: `/api/billing/eligible-discounts`
        public let path: String

        /// Get Eligible Discounts Endpoint
        ///
        /// Get eligible discount coupons by plan and subscription period.
        public var get: Request<GenAPI.EligibleDiscountsResponse> {
            Request(path: path, method: "GET", id: "studio_api_bots_billing_api_get_eligible_discounts_endpoint")
        }
    }
}
