Sha256: e8da7e66b03df68c37e9cf14a8d6fb3ca7be288fdfde6884bdb3b83d02eaf46f
Contents?: true
Size: 1.1 KB
Versions: 2
Compression:
Stored size: 1.1 KB
Contents
@namespace("Switchboard") protocol Offer { record Package { /** The primary key */ int id; string name; string short_description; boolean call; int call_duration_in_minutes; boolean document; int max_document_length_in_pages; boolean claim_game; boolean offline; int specialty_id; string micro_description; } /** The main class for this protocol */ record Offer { /** The primary key */ int id; int state_id; int consumer_fee_in_cents; Package package; } record OfferFetchOption { /** Which page of records to fetch */ int page = 1; /** How many records per page */ int per_page = 10; /** The ID of the package this offer is associated with. */ int package_id; /** Enabled meaning it is available for the public to purchase. */ boolean enabled; /** The name of the package this offer is associated with. */ string name; } /** Returns a list of Offers */ array<Offer> index(OfferFetchOption options); /** Return a single Offer */ array<Offer> show(int id); }
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
switchboard-contract-1.9.5 | contracts/3/source/offer.avdl |
switchboard-contract-1.9.5 | contracts/mobile/source/offer.avdl |