syntax = "proto3";

package treasurer;

option go_package = "./treasurer";

message MainPaymentSettings {
  string Currency = 1;
  int64 Amount = 2;
  repeated string CallbackHostGRPC = 3;
  string ReturnURL = 4;
	string UserID = 5;
	string ClientIP = 6;
	Customer Customer = 7;
	repeated Item Items = 8;
}

message Customer {
	string FullName = 1;
	string INN = 2;
	string Email = 3;
	string Phone = 4;
}

message Item {
	string Description = 1;
	string Measure = 2;
	string Quantity = 3;
	string Money = 4;
	string Currency = 5;
	}
