initial
This commit is contained in:
22
paymentapis/payment/v1/payment.proto
Normal file
22
paymentapis/payment/v1/payment.proto
Normal file
@@ -0,0 +1,22 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package payment.v1;
|
||||
|
||||
import "google/type/money.proto";
|
||||
|
||||
// PaymentProvider represents the supported set
|
||||
// of payment providers.
|
||||
enum PaymentProvider {
|
||||
PAYMENT_PROVIDER_UNSPECIFIED = 0;
|
||||
PAYMENT_PROVIDER_STRIPE = 1;
|
||||
PAYMENT_PROVIDER_PAYPAL = 2;
|
||||
PAYMENT_PROVIDER_APPLE = 3;
|
||||
}
|
||||
|
||||
// Order represents a monetary order.
|
||||
message Order {
|
||||
string order_id = 1;
|
||||
string recipient_id = 2;
|
||||
google.type.Money amount = 3;
|
||||
PaymentProvider payment_provider = 4;
|
||||
}
|
||||
Reference in New Issue
Block a user