Sha256: 3f90f6dd489bd15a1bcef2f42a46cdddbc6fd917f06a75cea905038ed766d382

Contents?: true

Size: 320 Bytes

Versions: 1

Compression:

Stored size: 320 Bytes

Contents

@namespace("Switchboard")

protocol Promotion {

  record Promotion {
    int discount_amount_in_cents;
    int new_total_price_in_cents;
  }

  record PromotionFetchOption {
    int page = 1;
    int per_page = 10;
    int offer_id;
    string short_code;
  }

  array<Promotion> index(PromotionFetchOption options);
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
switchboard-contract-1.9.5 contracts/mobile/source/promotion.avdl