File: price.proto

package info (click to toggle)
golang-github-humanlogio-api 0.0~git20250305.fa41d14-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,352 kB
  • sloc: sh: 45; makefile: 8
file content (22 lines) | stat: -rw-r--r-- 426 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
syntax = "proto3";

package types.v1;

import "google/protobuf/timestamp.proto";

option go_package = "types/v1;typesv1";

message Price {
  google.protobuf.Timestamp created_at = 100;
  message Recurring {
    string interval = 1;
    int64 interval_count = 2;
    int64 trial_period_days = 3;
  }

  string stripe_id = 1;
  string currency = 2;
  int64 unit_amount = 3;
  Recurring recurring = 4;
  string lookup_key = 5;
}