aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/yandex-cloud-api-protos/yandex/cloud/billing/v1/customer.proto
blob: bf52d826d7ad08c68807e008ad5392bf957c10e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
syntax = "proto3";
package yandex.cloud.billing.v1;

option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/billing/v1;billing";
option java_package = "yandex.cloud.api.billing.v1";


// A Customer resource.
message Customer {

    // ID of the customer.
    string id = 1;

    // ID of the [yandex.cloud.billing.v1.BillingAccount] assigned to the customer.
    string billing_account_id = 2;
}

// Person of the customer. Contains legal information.
message CustomerPerson {

    // Name of the person.
    string name = 1;

    // Long name of the person.
    string longname = 2;

    // Phone of the person.
    string phone = 3;

    // Email of the person.
    string email = 4;

    // Post code of the person.
    string post_code = 5;

    // Post address of the person.
    string post_address = 6;

    // Legal address of the person.
    string legal_address = 7;

    // Tax identification number of the person.
    string tin = 8;
}