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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Billing {
    public var getDiscountOffer: GetDiscountOffer {
        GetDiscountOffer(path: path + "/get-discount-offer")
    }

    public struct GetDiscountOffer {
        /// Path: `/api/billing/get-discount-offer`
        public let path: String

        /// Get Discount Offer
        ///
        /// Get the subscription retention offer (panic offer) for when a user tries to unsubscribe.
        /// 
        /// This endpoint returns a discount offer that can be presented to users when they attempt
        /// to cancel their subscription, in an effort to retain them as paying customers.
        public var get: Request<GenAPI.GetDiscountOfferResponse> {
            Request(path: path, method: "GET", id: "studio_api_bots_billing_api_get_discount_offer")
        }
    }
}
