add more payment related shit
This commit is contained in:
@@ -94,13 +94,39 @@ message SubscriptionAdded {
|
||||
string orderReference = 4;
|
||||
}
|
||||
|
||||
message PaymentStarted {
|
||||
string paymentId = 1;
|
||||
uint32 version = 2;
|
||||
int64 amount = 3;
|
||||
string currency = 4;
|
||||
string provider = 5;
|
||||
optional string method = 6;
|
||||
optional google.protobuf.Timestamp startedAt = 7;
|
||||
}
|
||||
|
||||
message PaymentCompleted {
|
||||
string paymentId = 1;
|
||||
string status = 2;
|
||||
int64 amount = 3;
|
||||
string currency = 4;
|
||||
optional string processorReference = 5;
|
||||
optional google.protobuf.Timestamp completedAt = 6;
|
||||
}
|
||||
|
||||
message PaymentDeclined {
|
||||
string message = 1;
|
||||
optional string code = 2;
|
||||
string paymentId = 1;
|
||||
string message = 2;
|
||||
optional string code = 3;
|
||||
}
|
||||
|
||||
message PaymentEvent {
|
||||
string paymentId = 1;
|
||||
string name = 2;
|
||||
google.protobuf.Any data = 3;
|
||||
}
|
||||
|
||||
message ConfirmationViewed {
|
||||
|
||||
google.protobuf.Timestamp viewedAt = 1;
|
||||
}
|
||||
|
||||
message CreateCheckoutOrder {
|
||||
@@ -198,5 +224,8 @@ message Mutation {
|
||||
PreConditionFailed pre_condition_failed = 22;
|
||||
AddGiftcard add_giftcard = 23;
|
||||
RemoveGiftcard remove_giftcard = 24;
|
||||
PaymentStarted payment_started = 25;
|
||||
PaymentCompleted payment_completed = 26;
|
||||
PaymentEvent payment_event = 27;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user