Skip to content
Snippets Groups Projects

DCT-262: Add Purchaser

Merged Ghost User requested to merge DCT-262/add_purchaser into master
1 file
+ 11
0
Compare changes
  • Side-by-side
  • Inline
+ 11
0
@@ -88,6 +88,7 @@ const string AuthMethod_InvoiceTemplateAccessToken = "InvoiceTemplateAccessToken
const string AuthMethod_CustomerAccessToken = "CustomerAccessToken"
const string AuthMethod_P2PTransferTemplateTicket = "P2PTransferTemplateTicket"
const string AuthMethod_P2PTransferTemplateAccessToken = "P2PTransferTemplateAccessToken"
const string AuthMethod_PurchaserAccessToken = "PurchaserAccessToken"
struct AuthScope {
1: optional Entity party
@@ -95,6 +96,7 @@ struct AuthScope {
3: optional Entity invoice
4: optional Entity invoice_template
5: optional Entity customer
6: optional Entity purchaser
}
struct Token {
@@ -156,6 +158,7 @@ struct ContextPaymentProcessing {
1: optional Invoice invoice
2: optional InvoiceTemplate invoice_template
3: optional Customer customer
4: optional Purchaser purchaser
}
struct Invoice {
@@ -183,6 +186,13 @@ struct Customer {
4: optional set<Entity> bindings
}
struct Purchaser {
1: optional string id
2: optional Entity party
3: optional set<Entity> resources
4: optional set<Customer> customers
}
/**
* Контекст, получаемый из сервисов, реализующих протоколы сервиса [вебхуков]
* (https://github.com/valitydev/damsel/tree/master/proto/webhooker.thrift)
@@ -345,6 +355,7 @@ struct CommonAPIOperation {
14: optional Entity claim
15: optional Entity payout
16: optional ClientInfo client_info
17: optional Entity purchaser
}
/*
Loading