kody-clientsdk-python 1.8.7__tar.gz → 1.8.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/PKG-INFO +1 -1
- kody_clientsdk_python-1.8.9/kody_clientsdk_python/__init__.py +1 -0
- kody_clientsdk_python-1.8.9/kody_clientsdk_python/ecom/v1/ecom_pb2.py +180 -0
- kody_clientsdk_python-1.8.9/kody_clientsdk_python/pay/v1/pay_pb2.py +112 -0
- kody_clientsdk_python-1.8.9/kody_clientsdk_python/pay/v1/token_pb2.py +59 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/preauth/v1/preauth_pb2.py +16 -16
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python.egg-info/PKG-INFO +1 -1
- kody_clientsdk_python-1.8.7/kody_clientsdk_python/__init__.py +0 -1
- kody_clientsdk_python-1.8.7/kody_clientsdk_python/ecom/v1/ecom_pb2.py +0 -180
- kody_clientsdk_python-1.8.7/kody_clientsdk_python/pay/v1/pay_pb2.py +0 -112
- kody_clientsdk_python-1.8.7/kody_clientsdk_python/pay/v1/token_pb2.py +0 -59
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/README.md +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/common/__init__.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/common/enums_pb2.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/common/enums_pb2_grpc.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/ecom/__init__.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/ecom/v1/__init__.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/ecom/v1/ecom_pb2_grpc.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/errors/__init__.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/errors/error_pb2.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/errors/error_pb2_grpc.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/ordering/__init__.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/ordering/v1/__init__.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/ordering/v1/inventory_pb2.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/ordering/v1/inventory_pb2_grpc.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/ordering/v1/order_pb2.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/ordering/v1/order_pb2_grpc.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/pay/__init__.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/pay/v1/__init__.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/pay/v1/pay_pb2_grpc.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/pay/v1/token_pb2_grpc.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/payattable/__init__.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/payattable/v1/__init__.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/payattable/v1/pay_at_table_pb2.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/payattable/v1/pay_at_table_pb2_grpc.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/pci/__init__.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/pci/v1/__init__.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/pci/v1/pci_pb2.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/pci/v1/pci_pb2_grpc.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/poc/__init__.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/poc/poc_pb2.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/poc/poc_pb2_grpc.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/preauth/__init__.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/preauth/v1/__init__.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/preauth/v1/preauth_pb2_grpc.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/utils/__init__.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/utils/v1/__init__.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/utils/v1/logging_pb2.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/utils/v1/logging_pb2_grpc.py +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python.egg-info/SOURCES.txt +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python.egg-info/dependency_links.txt +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python.egg-info/requires.txt +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python.egg-info/top_level.txt +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/setup.cfg +0 -0
- {kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/setup.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '1.8.9'
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: com/kodypay/grpc/ecom/v1/ecom.proto
|
|
5
|
+
# Protobuf Python Version: 5.27.2
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
27,
|
|
16
|
+
2,
|
|
17
|
+
'',
|
|
18
|
+
'com/kodypay/grpc/ecom/v1/ecom.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#com/kodypay/grpc/ecom/v1/ecom.proto\x12\x18\x63om.kodypay.grpc.ecom.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x88\r\n\x18PaymentInitiationRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x19\n\x11payment_reference\x18\x02 \x01(\t\x12\x1a\n\x12\x61mount_minor_units\x18\x03 \x01(\x04\x12\x10\n\x08\x63urrency\x18\x04 \x01(\t\x12\x10\n\x08order_id\x18\x05 \x01(\t\x12\x1b\n\x0eorder_metadata\x18\x06 \x01(\tH\x00\x88\x01\x01\x12\x12\n\nreturn_url\x18\x07 \x01(\t\x12\x1c\n\x0fpayer_statement\x18\x08 \x01(\tH\x01\x88\x01\x01\x12 \n\x13payer_email_address\x18\t \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x10payer_ip_address\x18\n \x01(\tH\x03\x88\x01\x01\x12\x19\n\x0cpayer_locale\x18\x0b \x01(\tH\x04\x88\x01\x01\x12\x1a\n\rtokenise_card\x18\x0c \x01(\x08H\x05\x88\x01\x01\x12V\n\x06\x65xpiry\x18\r \x01(\x0b\x32\x41.com.kodypay.grpc.ecom.v1.PaymentInitiationRequest.ExpirySettingsH\x06\x88\x01\x01\x12\x63\n\x0f\x63\x61pture_options\x18\x0e \x01(\x0b\x32\x41.com.kodypay.grpc.ecom.v1.PaymentInitiationRequest.CaptureOptionsB\x02\x18\x01H\x07\x88\x01\x01\x12$\n\x17is_pay_by_bank_accepted\x18\x0f \x01(\x08H\x08\x88\x01\x01\x12>\n\x0c\x61\x63\x63\x65pts_only\x18\x10 \x03(\x0e\x32(.com.kodypay.grpc.ecom.v1.PaymentMethods\x12\x1c\n\x0fpayer_reference\x18\x11 \x01(\tH\t\x88\x01\x01\x12[\n\x1arecurring_processing_model\x18\x12 \x01(\x0e\x32\x32.com.kodypay.grpc.ecom.v1.RecurringProcessingModelH\n\x88\x01\x01\x12\x1d\n\x10idempotency_uuid\x18\x13 \x01(\tH\x0b\x88\x01\x01\x1a>\n\x0e\x45xpirySettings\x12\x12\n\nshow_timer\x18\x01 \x01(\x08\x12\x18\n\x10\x65xpiring_seconds\x18\x02 \x01(\x04\x1a\xc0\x04\n\x0e\x43\x61ptureOptions\x12k\n\x10\x63\x61pture_settings\x18\x01 \x01(\x0b\x32Q.com.kodypay.grpc.ecom.v1.PaymentInitiationRequest.CaptureOptions.CaptureSettings\x12p\n\x10release_settings\x18\x02 \x01(\x0b\x32Q.com.kodypay.grpc.ecom.v1.PaymentInitiationRequest.CaptureOptions.ReleaseSettingsH\x00\x88\x01\x01\x1a\x99\x01\n\x0f\x43\x61ptureSettings\x12\x17\n\x0f\x64\x65layed_capture\x18\x01 \x01(\x08\x12\'\n\x1a\x61uto_capture_interval_mins\x18\x02 \x01(\x05H\x00\x88\x01\x01\x12%\n\x1d\x61uto_capture_store_close_time\x18\x03 \x01(\x08\x42\x1d\n\x1b_auto_capture_interval_mins\x1a\x99\x01\n\x0fReleaseSettings\x12\x17\n\x0f\x64\x65layed_release\x18\x01 \x01(\x08\x12\'\n\x1a\x61uto_release_interval_mins\x18\x02 \x01(\x05H\x00\x88\x01\x01\x12%\n\x1d\x61uto_release_store_close_time\x18\x03 \x01(\x08\x42\x1d\n\x1b_auto_release_interval_mins:\x02\x18\x01\x42\x13\n\x11_release_settingsB\x11\n\x0f_order_metadataB\x12\n\x10_payer_statementB\x16\n\x14_payer_email_addressB\x13\n\x11_payer_ip_addressB\x0f\n\r_payer_localeB\x10\n\x0e_tokenise_cardB\t\n\x07_expiryB\x12\n\x10_capture_optionsB\x1a\n\x18_is_pay_by_bank_acceptedB\x12\n\x10_payer_referenceB\x1d\n\x1b_recurring_processing_modelB\x13\n\x11_idempotency_uuid\"\xa2\x03\n\x19PaymentInitiationResponse\x12P\n\x08response\x18\x01 \x01(\x0b\x32<.com.kodypay.grpc.ecom.v1.PaymentInitiationResponse.ResponseH\x00\x12J\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x39.com.kodypay.grpc.ecom.v1.PaymentInitiationResponse.ErrorH\x00\x1a\x33\n\x08Response\x12\x12\n\npayment_id\x18\x01 \x01(\t\x12\x13\n\x0bpayment_url\x18\x02 \x01(\t\x1a\xa7\x01\n\x05\x45rror\x12L\n\x04type\x18\x01 \x01(\x0e\x32>.com.kodypay.grpc.ecom.v1.PaymentInitiationResponse.Error.Type\x12\x0f\n\x07message\x18\x02 \x01(\t\"?\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x15\n\x11\x44UPLICATE_ATTEMPT\x10\x01\x12\x13\n\x0fINVALID_REQUEST\x10\x02\x42\x08\n\x06result\"r\n\x15PaymentDetailsRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x14\n\npayment_id\x18\x02 \x01(\tH\x00\x12\x1b\n\x11payment_reference\x18\x03 \x01(\tH\x00\x42\x14\n\x12payment_identifier\"\xb3\x13\n\x16PaymentDetailsResponse\x12S\n\x08response\x18\x01 \x01(\x0b\x32?.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse.PaymentDetailsH\x00\x12G\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x36.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse.ErrorH\x00\x1a\xb3\x01\n\x05\x45rror\x12I\n\x04type\x18\x01 \x01(\x0e\x32;.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse.Error.Type\x12\x0f\n\x07message\x18\x02 \x01(\t\"N\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tNOT_FOUND\x10\x01\x12\x13\n\x0fINVALID_REQUEST\x10\x02\x12\x15\n\x11\x44UPLICATE_ATTEMPT\x10\x03\x1a\xf4\x06\n\x0ePaymentDetails\x12\x12\n\npayment_id\x18\x01 \x01(\t\x12\x1d\n\x11payment_reference\x18\x02 \x01(\tB\x02\x18\x01\x12\x14\n\x08order_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x1f\n\x0eorder_metadata\x18\x04 \x01(\tB\x02\x18\x01H\x00\x88\x01\x01\x12\x37\n\x06status\x18\x05 \x01(\x0e\x32\'.com.kodypay.grpc.ecom.v1.PaymentStatus\x12\"\n\x11payment_data_json\x18\x06 \x01(\tB\x02\x18\x01H\x01\x88\x01\x01\x12\x30\n\x0c\x64\x61te_created\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\tdate_paid\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02\x18\x01H\x02\x88\x01\x01\x12\x1e\n\rpsp_reference\x18\t \x01(\tB\x02\x18\x01H\x03\x88\x01\x01\x12\x1f\n\x0epayment_method\x18\n \x01(\tB\x02\x18\x01H\x04\x88\x01\x01\x12W\n\x0cpayment_data\x18\x0b \x01(\x0b\x32<.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse.PaymentDataH\x05\x88\x01\x01\x12Q\n\tsale_data\x18\x0c \x01(\x0b\x32\x39.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse.SaleDataH\x06\x88\x01\x01\x12O\n\x07refunds\x18\r \x03(\x0b\x32>.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse.RefundDetails\x12(\n\x1b\x61mount_refunded_minor_units\x18\x0e \x01(\x04H\x07\x88\x01\x01\x12\x1b\n\x0e\x66ully_refunded\x18\x0f \x01(\x08H\x08\x88\x01\x01\x42\x11\n\x0f_order_metadataB\x14\n\x12_payment_data_jsonB\x0c\n\n_date_paidB\x10\n\x0e_psp_referenceB\x11\n\x0f_payment_methodB\x0f\n\r_payment_dataB\x0c\n\n_sale_dataB\x1e\n\x1c_amount_refunded_minor_unitsB\x11\n\x0f_fully_refunded\x1a\xeb\x01\n\rRefundDetails\x12\x1e\n\x16payment_transaction_id\x18\x01 \x01(\t\x12!\n\x14refund_psp_reference\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x15\n\rrefund_amount\x18\x03 \x01(\t\x12.\n\nevent_date\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x06status\x18\x05 \x01(\x0e\x32\'.com.kodypay.grpc.ecom.v1.Refund.StatusB\x17\n\x15_refund_psp_reference\x1a\xbd\x06\n\x0bPaymentData\x12\x15\n\rpsp_reference\x18\x01 \x01(\t\x12\x45\n\x0epayment_method\x18\x02 \x01(\x0e\x32(.com.kodypay.grpc.ecom.v1.PaymentMethodsH\x01\x88\x01\x01\x12\x1e\n\x16payment_method_variant\x18\x03 \x01(\t\x12\x63\n\x0b\x61uth_status\x18\x04 \x01(\x0e\x32N.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse.PaymentData.PaymentAuthStatus\x12\x34\n\x10\x61uth_status_date\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12`\n\x0cpayment_card\x18\x06 \x01(\x0b\x32H.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse.PaymentData.PaymentCardH\x00\x12\x64\n\x0epayment_wallet\x18\x07 \x01(\x0b\x32J.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse.PaymentData.PaymentWalletH\x00\x1aW\n\x0bPaymentCard\x12\x1a\n\x12\x63\x61rd_last_4_digits\x18\x01 \x01(\t\x12\x11\n\tauth_code\x18\x02 \x01(\t\x12\x19\n\rpayment_token\x18\x03 \x01(\tB\x02\x18\x01\x1a`\n\rPaymentWallet\x12\x1f\n\x12\x63\x61rd_last_4_digits\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x17\n\x0fpayment_link_id\x18\x02 \x01(\tB\x15\n\x13_card_last_4_digits\"e\n\x11PaymentAuthStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0e\n\nAUTHORISED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\x0c\n\x08\x43\x41PTURED\x10\x03\x12\x0c\n\x08RELEASED\x10\x04\x12\x0b\n\x07\x45XPIRED\x10\x05\x42\x18\n\x16payment_method_detailsB\x11\n\x0f_payment_method\x1a\x95\x01\n\x08SaleData\x12\x1a\n\x12\x61mount_minor_units\x18\x01 \x01(\x04\x12\x10\n\x08\x63urrency\x18\x02 \x01(\t\x12\x10\n\x08order_id\x18\x03 \x01(\t\x12\x19\n\x11payment_reference\x18\x04 \x01(\t\x12\x1b\n\x0eorder_metadata\x18\x05 \x01(\tH\x00\x88\x01\x01\x42\x11\n\x0f_order_metadataB\x08\n\x06result\"\xe2\x02\n\x12GetPaymentsRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12L\n\x0bpage_cursor\x18\x02 \x01(\x0b\x32\x37.com.kodypay.grpc.ecom.v1.GetPaymentsRequest.PageCursor\x12\x43\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x33.com.kodypay.grpc.ecom.v1.GetPaymentsRequest.Filter\x1ax\n\x06\x46ilter\x12\x15\n\x08order_id\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x37\n\x0e\x63reated_before\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x88\x01\x01\x42\x0b\n\t_order_idB\x11\n\x0f_created_before\x1a-\n\nPageCursor\x12\x0c\n\x04page\x18\x01 \x01(\x03\x12\x11\n\tpage_size\x18\x02 \x01(\x03\"\xfe\x07\n\x13GetPaymentsResponse\x12J\n\x08response\x18\x01 \x01(\x0b\x32\x36.com.kodypay.grpc.ecom.v1.GetPaymentsResponse.ResponseH\x00\x12\x44\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x33.com.kodypay.grpc.ecom.v1.GetPaymentsResponse.ErrorH\x00\x1a\xad\x05\n\x08Response\x12p\n\x13\x64\x65precated_payments\x18\x01 \x03(\x0b\x32O.com.kodypay.grpc.ecom.v1.GetPaymentsResponse.Response.DeprecatedPaymentDetailsB\x02\x18\x01\x12\r\n\x05total\x18\x02 \x01(\x03\x12Q\n\x08payments\x18\x03 \x03(\x0b\x32?.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse.PaymentDetails\x1a\xcc\x03\n\x18\x44\x65precatedPaymentDetails\x12\x12\n\npayment_id\x18\x01 \x01(\t\x12\x19\n\x11payment_reference\x18\x02 \x01(\t\x12\x10\n\x08order_id\x18\x03 \x01(\t\x12\x1b\n\x0eorder_metadata\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x37\n\x06status\x18\x05 \x01(\x0e\x32\'.com.kodypay.grpc.ecom.v1.PaymentStatus\x12\x1e\n\x11payment_data_json\x18\x06 \x01(\tH\x01\x88\x01\x01\x12\x30\n\x0c\x64\x61te_created\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\tdate_paid\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02\x88\x01\x01\x12\x1a\n\rpsp_reference\x18\t \x01(\tH\x03\x88\x01\x01\x12\x1b\n\x0epayment_method\x18\n \x01(\tH\x04\x88\x01\x01\x42\x11\n\x0f_order_metadataB\x14\n\x12_payment_data_jsonB\x0c\n\n_date_paidB\x10\n\x0e_psp_referenceB\x11\n\x0f_payment_method\x1a\x9a\x01\n\x05\x45rror\x12\x46\n\x04type\x18\x01 \x01(\x0e\x32\x38.com.kodypay.grpc.ecom.v1.GetPaymentsResponse.Error.Type\x12\x0f\n\x07message\x18\x02 \x01(\t\"8\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tNOT_FOUND\x10\x01\x12\x14\n\x10INVALID_ARGUMENT\x10\x02\x42\x08\n\x06result\"\x96\x01\n\rRefundRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x14\n\npayment_id\x18\x02 \x01(\tH\x00\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x1d\n\x10idempotency_uuid\x18\x05 \x01(\tH\x01\x88\x01\x01\x42\x04\n\x02idB\x13\n\x11_idempotency_uuidJ\x04\x08\x04\x10\x05R\rpsp_reference\"\x97\x03\n\x0eRefundResponse\x12\x45\n\x06status\x18\x01 \x01(\x0e\x32\x35.com.kodypay.grpc.ecom.v1.RefundResponse.RefundStatus\x12\x1b\n\x0e\x66\x61ilure_reason\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x12\n\npayment_id\x18\x03 \x01(\t\x12\x30\n\x0c\x64\x61te_created\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x19\n\x11total_paid_amount\x18\x05 \x01(\t\x12\x1d\n\x15total_amount_refunded\x18\x06 \x01(\t\x12\x18\n\x10remaining_amount\x18\x07 \x01(\t\x12\x1e\n\x16total_amount_requested\x18\x08 \x01(\t\x12\x1c\n\x14paymentTransactionId\x18\t \x01(\t\"6\n\x0cRefundStatus\x12\x0b\n\x07PENDING\x10\x00\x12\r\n\tREQUESTED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x42\x11\n\x0f_failure_reason\"i\n\x06Refund\"_\n\x06Status\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\r\n\tREQUESTED\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\r\n\tCANCELLED\x10\x05\"\x80\x05\n\x12\x43reateTokenRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x18\n\x10idempotency_uuid\x18\x02 \x01(\t\x12\x1c\n\x0ftoken_reference\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x17\n\x0fpayer_reference\x18\x04 \x01(\t\x12\x15\n\x08metadata\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x12\n\nreturn_url\x18\x06 \x01(\t\x12\x1c\n\x0fpayer_statement\x18\x07 \x01(\tH\x02\x88\x01\x01\x12 \n\x13payer_email_address\x18\x08 \x01(\tH\x03\x88\x01\x01\x12\x1f\n\x12payer_phone_number\x18\t \x01(\tH\x04\x88\x01\x01\x12[\n\x1arecurring_processing_model\x18\n \x01(\x0e\x32\x32.com.kodypay.grpc.ecom.v1.RecurringProcessingModelH\x05\x88\x01\x01\x12P\n\x06\x65xpiry\x18\x0b \x01(\x0b\x32;.com.kodypay.grpc.ecom.v1.CreateTokenRequest.ExpirySettingsH\x06\x88\x01\x01\x1a>\n\x0e\x45xpirySettings\x12\x12\n\nshow_timer\x18\x01 \x01(\x08\x12\x18\n\x10\x65xpiring_seconds\x18\x02 \x01(\x04\x42\x12\n\x10_token_referenceB\x0b\n\t_metadataB\x12\n\x10_payer_statementB\x16\n\x14_payer_email_addressB\x15\n\x13_payer_phone_numberB\x1d\n\x1b_recurring_processing_modelB\t\n\x07_expiry\"\x8d\x03\n\x13\x43reateTokenResponse\x12J\n\x08response\x18\x01 \x01(\x0b\x32\x36.com.kodypay.grpc.ecom.v1.CreateTokenResponse.ResponseH\x00\x12\x44\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x33.com.kodypay.grpc.ecom.v1.CreateTokenResponse.ErrorH\x00\x1a\x36\n\x08Response\x12\x10\n\x08token_id\x18\x01 \x01(\t\x12\x18\n\x10\x63reate_token_url\x18\x02 \x01(\t\x1a\xa1\x01\n\x05\x45rror\x12\x46\n\x04type\x18\x01 \x01(\x0e\x32\x38.com.kodypay.grpc.ecom.v1.CreateTokenResponse.Error.Type\x12\x0f\n\x07message\x18\x02 \x01(\t\"?\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x15\n\x11\x44UPLICATE_ATTEMPT\x10\x01\x12\x13\n\x0fINVALID_REQUEST\x10\x02\x42\x08\n\x06result\"j\n\x13GetCardTokenRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x12\n\x08token_id\x18\x02 \x01(\tH\x00\x12\x19\n\x0ftoken_reference\x18\x03 \x01(\tH\x00\x42\x12\n\x10token_identifier\"\xe9\x07\n\x14GetCardTokenResponse\x12K\n\x08response\x18\x01 \x01(\x0b\x32\x37.com.kodypay.grpc.ecom.v1.GetCardTokenResponse.ResponseH\x00\x12\x45\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x34.com.kodypay.grpc.ecom.v1.GetCardTokenResponse.ErrorH\x00\x1a\xb8\x04\n\x08Response\x12\x10\n\x08token_id\x18\x01 \x01(\t\x12\x1c\n\x0ftoken_reference\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x15\n\rpayment_token\x18\x03 \x01(\t\x12\x17\n\x0fpayer_reference\x18\x04 \x01(\t\x12V\n\x1arecurring_processing_model\x18\x05 \x01(\x0e\x32\x32.com.kodypay.grpc.ecom.v1.RecurringProcessingModel\x12N\n\x06status\x18\x06 \x01(\x0e\x32>.com.kodypay.grpc.ecom.v1.GetCardTokenResponse.CardTokenStatus\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x0epayment_method\x18\x08 \x01(\x0e\x32(.com.kodypay.grpc.ecom.v1.PaymentMethodsH\x01\x88\x01\x01\x12\x1e\n\x16payment_method_variant\x18\t \x01(\t\x12\x16\n\x0e\x66unding_source\x18\n \x01(\t\x12\x1a\n\x12\x63\x61rd_last_4_digits\x18\x0b \x01(\t\x12\x1d\n\x10\x63\x61rd_expiry_date\x18\x0c \x01(\tH\x02\x88\x01\x01\x42\x12\n\x10_token_referenceB\x11\n\x0f_payment_methodB\x13\n\x11_card_expiry_date\x1a\x9f\x01\n\x05\x45rror\x12G\n\x04type\x18\x01 \x01(\x0e\x32\x39.com.kodypay.grpc.ecom.v1.GetCardTokenResponse.Error.Type\x12\x0f\n\x07message\x18\x02 \x01(\t\"<\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x12\n\x0ePENDING_CREATE\x10\x01\x12\x13\n\x0fINVALID_REQUEST\x10\x02\"V\n\x0f\x43\x61rdTokenStatus\x12\x0b\n\x07PENDING\x10\x00\x12\n\n\x06\x46\x41ILED\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x03\x12\x12\n\x0ePENDING_DELETE\x10\x04\x42\x08\n\x06result\"m\n\x16\x44\x65leteCardTokenRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x12\n\x08token_id\x18\x02 \x01(\tH\x00\x12\x19\n\x0ftoken_reference\x18\x03 \x01(\tH\x00\x42\x12\n\x10token_identifier\"\xf5\x02\n\x17\x44\x65leteCardTokenResponse\x12N\n\x08response\x18\x01 \x01(\x0b\x32:.com.kodypay.grpc.ecom.v1.DeleteCardTokenResponse.ResponseH\x00\x12H\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x37.com.kodypay.grpc.ecom.v1.DeleteCardTokenResponse.ErrorH\x00\x1a\n\n\x08Response\x1a\xa9\x01\n\x05\x45rror\x12J\n\x04type\x18\x01 \x01(\x0e\x32<.com.kodypay.grpc.ecom.v1.DeleteCardTokenResponse.Error.Type\x12\x0f\n\x07message\x18\x02 \x01(\t\"C\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tNOT_FOUND\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\x13\n\x0fINVALID_REQUEST\x10\x03\x42\x08\n\x06result\"A\n\x14GetCardTokensRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x17\n\x0fpayer_reference\x18\x02 \x01(\t\"\x9b\x03\n\x15GetCardTokensResponse\x12L\n\x08response\x18\x01 \x01(\x0b\x32\x38.com.kodypay.grpc.ecom.v1.GetCardTokensResponse.ResponseH\x00\x12\x46\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x35.com.kodypay.grpc.ecom.v1.GetCardTokensResponse.ErrorH\x00\x1aS\n\x08Response\x12G\n\x06tokens\x18\x01 \x03(\x0b\x32\x37.com.kodypay.grpc.ecom.v1.GetCardTokenResponse.Response\x1a\x8c\x01\n\x05\x45rror\x12H\n\x04type\x18\x01 \x01(\x0e\x32:.com.kodypay.grpc.ecom.v1.GetCardTokensResponse.Error.Type\x12\x0f\n\x07message\x18\x02 \x01(\t\"(\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x13\n\x0fINVALID_REQUEST\x10\x01\x42\x08\n\x06result\"\xa4\x03\n\x17PayWithCardTokenRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x18\n\x10idempotency_uuid\x18\x02 \x01(\t\x12\x15\n\rpayment_token\x18\x03 \x01(\t\x12\x1a\n\x12\x61mount_minor_units\x18\x04 \x01(\x04\x12\x10\n\x08\x63urrency\x18\x05 \x01(\t\x12\x19\n\x11payment_reference\x18\x06 \x01(\t\x12\x15\n\x08order_id\x18\x07 \x01(\tH\x00\x88\x01\x01\x12\x1b\n\x0eorder_metadata\x18\x08 \x01(\tH\x01\x88\x01\x01\x12\x1c\n\x0fpayer_statement\x18\t \x01(\tH\x02\x88\x01\x01\x12\x63\n\x0f\x63\x61pture_options\x18\n \x01(\x0b\x32\x41.com.kodypay.grpc.ecom.v1.PaymentInitiationRequest.CaptureOptionsB\x02\x18\x01H\x03\x88\x01\x01\x42\x0b\n\t_order_idB\x11\n\x0f_order_metadataB\x12\n\x10_payer_statementB\x12\n\x10_capture_options*\xc1\x01\n\x0ePaymentMethods\x12\x08\n\x04VISA\x10\x00\x12\x0e\n\nMASTERCARD\x10\x01\x12\x08\n\x04\x41MEX\x10\x02\x12\x0f\n\x0b\x42\x41N_CONTACT\x10\x03\x12\x13\n\x0f\x43HINA_UNION_PAY\x10\x04\x12\x0b\n\x07MAESTRO\x10\x05\x12\n\n\x06\x44INERS\x10\x06\x12\x0c\n\x08\x44ISCOVER\x10\x07\x12\x07\n\x03JCB\x10\x08\x12\n\n\x06\x41LIPAY\x10\t\x12\n\n\x06WECHAT\x10\n\x12\r\n\tAPPLE_PAY\x10\x0b\x12\x0e\n\nGOOGLE_PAY\x10\x0c*Q\n\rPaymentStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\r\n\tCANCELLED\x10\x03\x12\x0b\n\x07\x45XPIRED\x10\x04*s\n\x18RecurringProcessingModel\x12\x15\n\x11MODEL_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x43\x41RD_ON_FILE\x10\x01\x12\x10\n\x0cSUBSCRIPTION\x10\x02\x12\x1c\n\x18UNSCHEDULED_CARD_ON_FILE\x10\x03\x32\x92\x0b\n\x17KodyEcomPaymentsService\x12z\n\x0fInitiatePayment\x12\x32.com.kodypay.grpc.ecom.v1.PaymentInitiationRequest\x1a\x33.com.kodypay.grpc.ecom.v1.PaymentInitiationResponse\x12\x7f\n\x15InitiatePaymentStream\x12\x32.com.kodypay.grpc.ecom.v1.PaymentInitiationRequest\x1a\x30.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse0\x01\x12s\n\x0ePaymentDetails\x12/.com.kodypay.grpc.ecom.v1.PaymentDetailsRequest\x1a\x30.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse\x12{\n\x14PaymentDetailsStream\x12/.com.kodypay.grpc.ecom.v1.PaymentDetailsRequest\x1a\x30.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse0\x01\x12j\n\x0bGetPayments\x12,.com.kodypay.grpc.ecom.v1.GetPaymentsRequest\x1a-.com.kodypay.grpc.ecom.v1.GetPaymentsResponse\x12]\n\x06Refund\x12\'.com.kodypay.grpc.ecom.v1.RefundRequest\x1a(.com.kodypay.grpc.ecom.v1.RefundResponse0\x01\x12n\n\x0f\x43reateCardToken\x12,.com.kodypay.grpc.ecom.v1.CreateTokenRequest\x1a-.com.kodypay.grpc.ecom.v1.CreateTokenResponse\x12m\n\x0cGetCardToken\x12-.com.kodypay.grpc.ecom.v1.GetCardTokenRequest\x1a..com.kodypay.grpc.ecom.v1.GetCardTokenResponse\x12v\n\x0f\x44\x65leteCardToken\x12\x30.com.kodypay.grpc.ecom.v1.DeleteCardTokenRequest\x1a\x31.com.kodypay.grpc.ecom.v1.DeleteCardTokenResponse\x12p\n\rGetCardTokens\x12..com.kodypay.grpc.ecom.v1.GetCardTokensRequest\x1a/.com.kodypay.grpc.ecom.v1.GetCardTokensResponse\x12w\n\x10PayWithCardToken\x12\x31.com.kodypay.grpc.ecom.v1.PayWithCardTokenRequest\x1a\x30.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse\x12{\n\x16GetTokenPaymentDetails\x12/.com.kodypay.grpc.ecom.v1.PaymentDetailsRequest\x1a\x30.com.kodypay.grpc.ecom.v1.PaymentDetailsResponseB3\n\x18\x63om.kodypay.grpc.ecom.v1B\x15KodyEcomPaymentsProtoP\x01\x62\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'com.kodypay.grpc.ecom.v1.ecom_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\030com.kodypay.grpc.ecom.v1B\025KodyEcomPaymentsProtoP\001'
|
|
36
|
+
_globals['_PAYMENTINITIATIONREQUEST_CAPTUREOPTIONS']._loaded_options = None
|
|
37
|
+
_globals['_PAYMENTINITIATIONREQUEST_CAPTUREOPTIONS']._serialized_options = b'\030\001'
|
|
38
|
+
_globals['_PAYMENTINITIATIONREQUEST'].fields_by_name['capture_options']._loaded_options = None
|
|
39
|
+
_globals['_PAYMENTINITIATIONREQUEST'].fields_by_name['capture_options']._serialized_options = b'\030\001'
|
|
40
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['payment_reference']._loaded_options = None
|
|
41
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['payment_reference']._serialized_options = b'\030\001'
|
|
42
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['order_id']._loaded_options = None
|
|
43
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['order_id']._serialized_options = b'\030\001'
|
|
44
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['order_metadata']._loaded_options = None
|
|
45
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['order_metadata']._serialized_options = b'\030\001'
|
|
46
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['payment_data_json']._loaded_options = None
|
|
47
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['payment_data_json']._serialized_options = b'\030\001'
|
|
48
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['date_paid']._loaded_options = None
|
|
49
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['date_paid']._serialized_options = b'\030\001'
|
|
50
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['psp_reference']._loaded_options = None
|
|
51
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['psp_reference']._serialized_options = b'\030\001'
|
|
52
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['payment_method']._loaded_options = None
|
|
53
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['payment_method']._serialized_options = b'\030\001'
|
|
54
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDATA_PAYMENTCARD'].fields_by_name['payment_token']._loaded_options = None
|
|
55
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDATA_PAYMENTCARD'].fields_by_name['payment_token']._serialized_options = b'\030\001'
|
|
56
|
+
_globals['_GETPAYMENTSRESPONSE_RESPONSE'].fields_by_name['deprecated_payments']._loaded_options = None
|
|
57
|
+
_globals['_GETPAYMENTSRESPONSE_RESPONSE'].fields_by_name['deprecated_payments']._serialized_options = b'\030\001'
|
|
58
|
+
_globals['_PAYWITHCARDTOKENREQUEST'].fields_by_name['capture_options']._loaded_options = None
|
|
59
|
+
_globals['_PAYWITHCARDTOKENREQUEST'].fields_by_name['capture_options']._serialized_options = b'\030\001'
|
|
60
|
+
_globals['_PAYMENTMETHODS']._serialized_start=10395
|
|
61
|
+
_globals['_PAYMENTMETHODS']._serialized_end=10588
|
|
62
|
+
_globals['_PAYMENTSTATUS']._serialized_start=10590
|
|
63
|
+
_globals['_PAYMENTSTATUS']._serialized_end=10671
|
|
64
|
+
_globals['_RECURRINGPROCESSINGMODEL']._serialized_start=10673
|
|
65
|
+
_globals['_RECURRINGPROCESSINGMODEL']._serialized_end=10788
|
|
66
|
+
_globals['_PAYMENTINITIATIONREQUEST']._serialized_start=99
|
|
67
|
+
_globals['_PAYMENTINITIATIONREQUEST']._serialized_end=1771
|
|
68
|
+
_globals['_PAYMENTINITIATIONREQUEST_EXPIRYSETTINGS']._serialized_start=880
|
|
69
|
+
_globals['_PAYMENTINITIATIONREQUEST_EXPIRYSETTINGS']._serialized_end=942
|
|
70
|
+
_globals['_PAYMENTINITIATIONREQUEST_CAPTUREOPTIONS']._serialized_start=945
|
|
71
|
+
_globals['_PAYMENTINITIATIONREQUEST_CAPTUREOPTIONS']._serialized_end=1521
|
|
72
|
+
_globals['_PAYMENTINITIATIONREQUEST_CAPTUREOPTIONS_CAPTURESETTINGS']._serialized_start=1187
|
|
73
|
+
_globals['_PAYMENTINITIATIONREQUEST_CAPTUREOPTIONS_CAPTURESETTINGS']._serialized_end=1340
|
|
74
|
+
_globals['_PAYMENTINITIATIONREQUEST_CAPTUREOPTIONS_RELEASESETTINGS']._serialized_start=1343
|
|
75
|
+
_globals['_PAYMENTINITIATIONREQUEST_CAPTUREOPTIONS_RELEASESETTINGS']._serialized_end=1496
|
|
76
|
+
_globals['_PAYMENTINITIATIONRESPONSE']._serialized_start=1774
|
|
77
|
+
_globals['_PAYMENTINITIATIONRESPONSE']._serialized_end=2192
|
|
78
|
+
_globals['_PAYMENTINITIATIONRESPONSE_RESPONSE']._serialized_start=1961
|
|
79
|
+
_globals['_PAYMENTINITIATIONRESPONSE_RESPONSE']._serialized_end=2012
|
|
80
|
+
_globals['_PAYMENTINITIATIONRESPONSE_ERROR']._serialized_start=2015
|
|
81
|
+
_globals['_PAYMENTINITIATIONRESPONSE_ERROR']._serialized_end=2182
|
|
82
|
+
_globals['_PAYMENTINITIATIONRESPONSE_ERROR_TYPE']._serialized_start=2119
|
|
83
|
+
_globals['_PAYMENTINITIATIONRESPONSE_ERROR_TYPE']._serialized_end=2182
|
|
84
|
+
_globals['_PAYMENTDETAILSREQUEST']._serialized_start=2194
|
|
85
|
+
_globals['_PAYMENTDETAILSREQUEST']._serialized_end=2308
|
|
86
|
+
_globals['_PAYMENTDETAILSRESPONSE']._serialized_start=2311
|
|
87
|
+
_globals['_PAYMENTDETAILSRESPONSE']._serialized_end=4794
|
|
88
|
+
_globals['_PAYMENTDETAILSRESPONSE_ERROR']._serialized_start=2496
|
|
89
|
+
_globals['_PAYMENTDETAILSRESPONSE_ERROR']._serialized_end=2675
|
|
90
|
+
_globals['_PAYMENTDETAILSRESPONSE_ERROR_TYPE']._serialized_start=2597
|
|
91
|
+
_globals['_PAYMENTDETAILSRESPONSE_ERROR_TYPE']._serialized_end=2675
|
|
92
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS']._serialized_start=2678
|
|
93
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS']._serialized_end=3562
|
|
94
|
+
_globals['_PAYMENTDETAILSRESPONSE_REFUNDDETAILS']._serialized_start=3565
|
|
95
|
+
_globals['_PAYMENTDETAILSRESPONSE_REFUNDDETAILS']._serialized_end=3800
|
|
96
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDATA']._serialized_start=3803
|
|
97
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDATA']._serialized_end=4632
|
|
98
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDATA_PAYMENTCARD']._serialized_start=4299
|
|
99
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDATA_PAYMENTCARD']._serialized_end=4386
|
|
100
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDATA_PAYMENTWALLET']._serialized_start=4388
|
|
101
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDATA_PAYMENTWALLET']._serialized_end=4484
|
|
102
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDATA_PAYMENTAUTHSTATUS']._serialized_start=4486
|
|
103
|
+
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDATA_PAYMENTAUTHSTATUS']._serialized_end=4587
|
|
104
|
+
_globals['_PAYMENTDETAILSRESPONSE_SALEDATA']._serialized_start=4635
|
|
105
|
+
_globals['_PAYMENTDETAILSRESPONSE_SALEDATA']._serialized_end=4784
|
|
106
|
+
_globals['_GETPAYMENTSREQUEST']._serialized_start=4797
|
|
107
|
+
_globals['_GETPAYMENTSREQUEST']._serialized_end=5151
|
|
108
|
+
_globals['_GETPAYMENTSREQUEST_FILTER']._serialized_start=4984
|
|
109
|
+
_globals['_GETPAYMENTSREQUEST_FILTER']._serialized_end=5104
|
|
110
|
+
_globals['_GETPAYMENTSREQUEST_PAGECURSOR']._serialized_start=5106
|
|
111
|
+
_globals['_GETPAYMENTSREQUEST_PAGECURSOR']._serialized_end=5151
|
|
112
|
+
_globals['_GETPAYMENTSRESPONSE']._serialized_start=5154
|
|
113
|
+
_globals['_GETPAYMENTSRESPONSE']._serialized_end=6176
|
|
114
|
+
_globals['_GETPAYMENTSRESPONSE_RESPONSE']._serialized_start=5324
|
|
115
|
+
_globals['_GETPAYMENTSRESPONSE_RESPONSE']._serialized_end=6009
|
|
116
|
+
_globals['_GETPAYMENTSRESPONSE_RESPONSE_DEPRECATEDPAYMENTDETAILS']._serialized_start=5549
|
|
117
|
+
_globals['_GETPAYMENTSRESPONSE_RESPONSE_DEPRECATEDPAYMENTDETAILS']._serialized_end=6009
|
|
118
|
+
_globals['_GETPAYMENTSRESPONSE_ERROR']._serialized_start=6012
|
|
119
|
+
_globals['_GETPAYMENTSRESPONSE_ERROR']._serialized_end=6166
|
|
120
|
+
_globals['_GETPAYMENTSRESPONSE_ERROR_TYPE']._serialized_start=6110
|
|
121
|
+
_globals['_GETPAYMENTSRESPONSE_ERROR_TYPE']._serialized_end=6166
|
|
122
|
+
_globals['_REFUNDREQUEST']._serialized_start=6179
|
|
123
|
+
_globals['_REFUNDREQUEST']._serialized_end=6329
|
|
124
|
+
_globals['_REFUNDRESPONSE']._serialized_start=6332
|
|
125
|
+
_globals['_REFUNDRESPONSE']._serialized_end=6739
|
|
126
|
+
_globals['_REFUNDRESPONSE_REFUNDSTATUS']._serialized_start=6666
|
|
127
|
+
_globals['_REFUNDRESPONSE_REFUNDSTATUS']._serialized_end=6720
|
|
128
|
+
_globals['_REFUND']._serialized_start=6741
|
|
129
|
+
_globals['_REFUND']._serialized_end=6846
|
|
130
|
+
_globals['_REFUND_STATUS']._serialized_start=6751
|
|
131
|
+
_globals['_REFUND_STATUS']._serialized_end=6846
|
|
132
|
+
_globals['_CREATETOKENREQUEST']._serialized_start=6849
|
|
133
|
+
_globals['_CREATETOKENREQUEST']._serialized_end=7489
|
|
134
|
+
_globals['_CREATETOKENREQUEST_EXPIRYSETTINGS']._serialized_start=880
|
|
135
|
+
_globals['_CREATETOKENREQUEST_EXPIRYSETTINGS']._serialized_end=942
|
|
136
|
+
_globals['_CREATETOKENRESPONSE']._serialized_start=7492
|
|
137
|
+
_globals['_CREATETOKENRESPONSE']._serialized_end=7889
|
|
138
|
+
_globals['_CREATETOKENRESPONSE_RESPONSE']._serialized_start=7661
|
|
139
|
+
_globals['_CREATETOKENRESPONSE_RESPONSE']._serialized_end=7715
|
|
140
|
+
_globals['_CREATETOKENRESPONSE_ERROR']._serialized_start=7718
|
|
141
|
+
_globals['_CREATETOKENRESPONSE_ERROR']._serialized_end=7879
|
|
142
|
+
_globals['_CREATETOKENRESPONSE_ERROR_TYPE']._serialized_start=2119
|
|
143
|
+
_globals['_CREATETOKENRESPONSE_ERROR_TYPE']._serialized_end=2182
|
|
144
|
+
_globals['_GETCARDTOKENREQUEST']._serialized_start=7891
|
|
145
|
+
_globals['_GETCARDTOKENREQUEST']._serialized_end=7997
|
|
146
|
+
_globals['_GETCARDTOKENRESPONSE']._serialized_start=8000
|
|
147
|
+
_globals['_GETCARDTOKENRESPONSE']._serialized_end=9001
|
|
148
|
+
_globals['_GETCARDTOKENRESPONSE_RESPONSE']._serialized_start=8173
|
|
149
|
+
_globals['_GETCARDTOKENRESPONSE_RESPONSE']._serialized_end=8741
|
|
150
|
+
_globals['_GETCARDTOKENRESPONSE_ERROR']._serialized_start=8744
|
|
151
|
+
_globals['_GETCARDTOKENRESPONSE_ERROR']._serialized_end=8903
|
|
152
|
+
_globals['_GETCARDTOKENRESPONSE_ERROR_TYPE']._serialized_start=8843
|
|
153
|
+
_globals['_GETCARDTOKENRESPONSE_ERROR_TYPE']._serialized_end=8903
|
|
154
|
+
_globals['_GETCARDTOKENRESPONSE_CARDTOKENSTATUS']._serialized_start=8905
|
|
155
|
+
_globals['_GETCARDTOKENRESPONSE_CARDTOKENSTATUS']._serialized_end=8991
|
|
156
|
+
_globals['_DELETECARDTOKENREQUEST']._serialized_start=9003
|
|
157
|
+
_globals['_DELETECARDTOKENREQUEST']._serialized_end=9112
|
|
158
|
+
_globals['_DELETECARDTOKENRESPONSE']._serialized_start=9115
|
|
159
|
+
_globals['_DELETECARDTOKENRESPONSE']._serialized_end=9488
|
|
160
|
+
_globals['_DELETECARDTOKENRESPONSE_RESPONSE']._serialized_start=1961
|
|
161
|
+
_globals['_DELETECARDTOKENRESPONSE_RESPONSE']._serialized_end=1971
|
|
162
|
+
_globals['_DELETECARDTOKENRESPONSE_ERROR']._serialized_start=9309
|
|
163
|
+
_globals['_DELETECARDTOKENRESPONSE_ERROR']._serialized_end=9478
|
|
164
|
+
_globals['_DELETECARDTOKENRESPONSE_ERROR_TYPE']._serialized_start=9411
|
|
165
|
+
_globals['_DELETECARDTOKENRESPONSE_ERROR_TYPE']._serialized_end=9478
|
|
166
|
+
_globals['_GETCARDTOKENSREQUEST']._serialized_start=9490
|
|
167
|
+
_globals['_GETCARDTOKENSREQUEST']._serialized_end=9555
|
|
168
|
+
_globals['_GETCARDTOKENSRESPONSE']._serialized_start=9558
|
|
169
|
+
_globals['_GETCARDTOKENSRESPONSE']._serialized_end=9969
|
|
170
|
+
_globals['_GETCARDTOKENSRESPONSE_RESPONSE']._serialized_start=9733
|
|
171
|
+
_globals['_GETCARDTOKENSRESPONSE_RESPONSE']._serialized_end=9816
|
|
172
|
+
_globals['_GETCARDTOKENSRESPONSE_ERROR']._serialized_start=9819
|
|
173
|
+
_globals['_GETCARDTOKENSRESPONSE_ERROR']._serialized_end=9959
|
|
174
|
+
_globals['_GETCARDTOKENSRESPONSE_ERROR_TYPE']._serialized_start=9919
|
|
175
|
+
_globals['_GETCARDTOKENSRESPONSE_ERROR_TYPE']._serialized_end=9959
|
|
176
|
+
_globals['_PAYWITHCARDTOKENREQUEST']._serialized_start=9972
|
|
177
|
+
_globals['_PAYWITHCARDTOKENREQUEST']._serialized_end=10392
|
|
178
|
+
_globals['_KODYECOMPAYMENTSSERVICE']._serialized_start=10791
|
|
179
|
+
_globals['_KODYECOMPAYMENTSSERVICE']._serialized_end=12217
|
|
180
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: com/kodypay/grpc/pay/v1/pay.proto
|
|
5
|
+
# Protobuf Python Version: 5.27.2
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
27,
|
|
16
|
+
2,
|
|
17
|
+
'',
|
|
18
|
+
'com/kodypay/grpc/pay/v1/pay.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!com/kodypay/grpc/pay/v1/pay.proto\x12\x17\x63om.kodypay.grpc.pay.v1\x1a\x1fgoogle/protobuf/timestamp.proto\";\n\x11\x43loseBatchRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x14\n\x0cterminal_ids\x18\x02 \x03(\t\"\x82\x02\n\x12\x43loseBatchResponse\x12Q\n\x06status\x18\x01 \x01(\x0e\x32<.com.kodypay.grpc.pay.v1.CloseBatchResponse.CloseBatchStatusH\x00\x88\x01\x01\x12\x0f\n\x07message\x18\x02 \x01(\t\x12:\n\x07results\x18\x03 \x03(\x0b\x32).com.kodypay.grpc.pay.v1.CloseBatchResult\"A\n\x10\x43loseBatchStatus\x12\x0b\n\x07SUCCESS\x10\x00\x12\x13\n\x0fPARTIAL_SUCCESS\x10\x01\x12\x0b\n\x07\x46\x41ILURE\x10\x02\x42\t\n\x07_status\"[\n\x10\x43loseBatchResult\x12\x13\n\x0bterminal_id\x18\x01 \x01(\t\x12\x10\n\x08\x62\x61tch_id\x18\x02 \x01(\x05\x12\x0f\n\x07success\x18\x03 \x01(\x08\x12\x0f\n\x07message\x18\x04 \x01(\t\"$\n\x10TerminalsRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\"I\n\x11TerminalsResponse\x12\x34\n\tterminals\x18\x01 \x03(\x0b\x32!.com.kodypay.grpc.pay.v1.Terminal\"/\n\x08Terminal\x12\x13\n\x0bterminal_id\x18\x01 \x01(\t\x12\x0e\n\x06online\x18\x02 \x01(\x08\"\xf3\x04\n\nPayRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\x12\x13\n\x0bterminal_id\x18\x03 \x01(\t\x12\x16\n\tshow_tips\x18\x04 \x01(\x08H\x00\x88\x01\x01\x12\x43\n\x0epayment_method\x18\x05 \x01(\x0b\x32&.com.kodypay.grpc.pay.v1.PaymentMethodH\x01\x88\x01\x01\x12\x1d\n\x10idempotency_uuid\x18\x06 \x01(\tH\x02\x88\x01\x01\x12\x1e\n\x11payment_reference\x18\x07 \x01(\tH\x03\x88\x01\x01\x12\x15\n\x08order_id\x18\x08 \x01(\tH\x04\x88\x01\x01\x12H\n\x0c\x61\x63\x63\x65pts_only\x18\t \x03(\x0e\x32\x32.com.kodypay.grpc.pay.v1.PayRequest.PaymentMethods\x12\x18\n\x0btips_amount\x18\n \x01(\tH\x05\x88\x01\x01\"\xad\x01\n\x0ePaymentMethods\x12\x08\n\x04VISA\x10\x00\x12\x0e\n\nMASTERCARD\x10\x01\x12\x08\n\x04\x41MEX\x10\x02\x12\x0f\n\x0b\x42\x41N_CONTACT\x10\x03\x12\x13\n\x0f\x43HINA_UNION_PAY\x10\x04\x12\x0b\n\x07MAESTRO\x10\x05\x12\n\n\x06\x44INERS\x10\x06\x12\x0c\n\x08\x44ISCOVER\x10\x07\x12\x07\n\x03JCB\x10\x08\x12\n\n\x06\x41LIPAY\x10\t\x12\n\n\x06WECHAT\x10\n\x12\t\n\x05PAYME\x10\x0b\x42\x0c\n\n_show_tipsB\x11\n\x0f_payment_methodB\x13\n\x11_idempotency_uuidB\x14\n\x12_payment_referenceB\x0b\n\t_order_idB\x0e\n\x0c_tips_amount\"\xbf\x01\n\rPaymentMethod\x12L\n\x13payment_method_type\x18\x01 \x01(\x0e\x32*.com.kodypay.grpc.pay.v1.PaymentMethodTypeH\x01\x88\x01\x01\x12\x0f\n\x05token\x18\x02 \x01(\tH\x00\x12\"\n\x18\x61\x63tivate_qr_code_scanner\x18\x03 \x01(\x08H\x00\x42\x13\n\x11verification_modeB\x16\n\x14_payment_method_type\"\x9c\x12\n\x0bPayResponse\x12\x36\n\x06status\x18\x01 \x01(\x0e\x32&.com.kodypay.grpc.pay.v1.PaymentStatus\x12\x1b\n\x0e\x66\x61ilure_reason\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x1d\n\x0creceipt_json\x18\x03 \x01(\tB\x02\x18\x01H\x01\x88\x01\x01\x12\x12\n\npayment_id\x18\x04 \x01(\t\x12\x30\n\x0c\x64\x61te_created\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1e\n\rpsp_reference\x18\x06 \x01(\tB\x02\x18\x01H\x02\x88\x01\x01\x12\x31\n\tdate_paid\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02\x18\x01\x12\x1d\n\x0ctotal_amount\x18\x08 \x01(\tB\x02\x18\x01H\x03\x88\x01\x01\x12\x1c\n\x0bsale_amount\x18\t \x01(\tB\x02\x18\x01H\x04\x88\x01\x01\x12\x1c\n\x0btips_amount\x18\n \x01(\tB\x02\x18\x01H\x05\x88\x01\x01\x12K\n\x0cpayment_data\x18\x0b \x01(\x0b\x32\x30.com.kodypay.grpc.pay.v1.PayResponse.PaymentDataH\x06\x88\x01\x01\x12\x1e\n\x11payment_reference\x18\x0c \x01(\tH\x07\x88\x01\x01\x12\x15\n\x08order_id\x18\r \x01(\tH\x08\x88\x01\x01\x12H\n\x0c\x61\x63\x63\x65pts_only\x18\x0e \x03(\x0e\x32\x32.com.kodypay.grpc.pay.v1.PayRequest.PaymentMethods\x12 \n\x13is_payment_declined\x18\x0f \x01(\x08H\t\x88\x01\x01\x12\x43\n\x07refunds\x18\x10 \x03(\x0b\x32\x32.com.kodypay.grpc.pay.v1.PayResponse.RefundDetails\x12 \n\x13is_payment_captured\x18\x11 \x01(\x08H\n\x88\x01\x01\x12\x1c\n\x0f\x61mount_refunded\x18\x12 \x01(\tH\x0b\x88\x01\x01\x12\x1b\n\x0e\x66ully_refunded\x18\x13 \x01(\x08H\x0c\x88\x01\x01\x1a\xf5\x07\n\x0bPaymentData\x12-\n\tdate_paid\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0ctotal_amount\x18\x02 \x01(\t\x12\x13\n\x0bsale_amount\x18\x03 \x01(\t\x12\x13\n\x0btips_amount\x18\x04 \x01(\t\x12\x14\n\x0creceipt_json\x18\x05 \x01(\t\x12\x15\n\rpsp_reference\x18\x06 \x01(\t\x12L\n\x13payment_method_type\x18\x07 \x01(\x0e\x32*.com.kodypay.grpc.pay.v1.PaymentMethodTypeH\x00\x88\x01\x01\x12\x16\n\x0epayment_method\x18\x08 \x01(\t\x12W\n\x0cpayment_card\x18\t \x01(\x0b\x32<.com.kodypay.grpc.pay.v1.PayResponse.PaymentData.PaymentCardH\x01\x88\x01\x01\x12#\n\x16payment_method_variant\x18\n \x01(\tH\x02\x88\x01\x01\x12\x1e\n\rrefund_amount\x18\x0b \x01(\tB\x02\x18\x01H\x03\x88\x01\x01\x12\x1e\n\x11original_currency\x18\x0c \x01(\tH\x04\x88\x01\x01\x12\x18\n\x0bpaid_amount\x18\r \x01(\tH\x05\x88\x01\x01\x12\x1a\n\rpaid_currency\x18\x0e \x01(\tH\x06\x88\x01\x01\x12\x1a\n\rexchange_rate\x18\x0f \x01(\tH\x07\x88\x01\x01\x12\x15\n\x08\x62\x61tch_id\x18\x10 \x01(\tH\x08\x88\x01\x01\x1a\x8f\x02\n\x0bPaymentCard\x12\x1a\n\x12\x63\x61rd_last_4_digits\x18\x01 \x01(\t\x12\x18\n\x10\x63\x61rd_expiry_date\x18\x02 \x01(\t\x12\x16\n\x0epos_entry_mode\x18\x03 \x01(\t\x12\x15\n\rpayment_token\x18\x04 \x01(\t\x12\x11\n\tauth_code\x18\x05 \x01(\t\x12\x15\n\x08\x63\x61rd_bin\x18\x06 \x01(\tH\x00\x88\x01\x01\x12\x1e\n\x11\x63\x61rd_issuing_bank\x18\x07 \x01(\tH\x01\x88\x01\x01\x12\x1b\n\x0e\x66unding_source\x18\x08 \x01(\tH\x02\x88\x01\x01\x42\x0b\n\t_card_binB\x14\n\x12_card_issuing_bankB\x11\n\x0f_funding_sourceB\x16\n\x14_payment_method_typeB\x0f\n\r_payment_cardB\x19\n\x17_payment_method_variantB\x10\n\x0e_refund_amountB\x14\n\x12_original_currencyB\x0e\n\x0c_paid_amountB\x10\n\x0e_paid_currencyB\x10\n\x0e_exchange_rateB\x0b\n\t_batch_id\x1a\xa8\x02\n\rRefundDetails\x12\x12\n\npayment_id\x18\x01 \x01(\t\x12!\n\x14refund_psp_reference\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x1e\n\x16payment_transaction_id\x18\x03 \x01(\t\x12\x15\n\rrefund_amount\x18\x04 \x01(\t\x12.\n\nevent_date\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x0bterminal_id\x18\x06 \x01(\tH\x01\x88\x01\x01\x12\x36\n\x06status\x18\x07 \x01(\x0e\x32&.com.kodypay.grpc.pay.v1.Refund.StatusB\x17\n\x15_refund_psp_referenceB\x0e\n\x0c_terminal_idB\x11\n\x0f_failure_reasonB\x0f\n\r_receipt_jsonB\x10\n\x0e_psp_referenceB\x0f\n\r_total_amountB\x0e\n\x0c_sale_amountB\x0e\n\x0c_tips_amountB\x0f\n\r_payment_dataB\x14\n\x12_payment_referenceB\x0b\n\t_order_idB\x16\n\x14_is_payment_declinedB\x16\n\x14_is_payment_capturedB\x12\n\x10_amount_refundedB\x11\n\x0f_fully_refunded\"i\n\x06Refund\"_\n\x06Status\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\r\n\tREQUESTED\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\r\n\tCANCELLED\x10\x05\"n\n\rCancelRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\x12\x13\n\x0bterminal_id\x18\x03 \x01(\t\x12\x17\n\npayment_id\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\r\n\x0b_payment_id\"H\n\x0e\x43\x61ncelResponse\x12\x36\n\x06status\x18\x01 \x01(\x0e\x32&.com.kodypay.grpc.pay.v1.PaymentStatus\";\n\x15PaymentDetailsRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x10\n\x08order_id\x18\x02 \x01(\t\"\x85\x02\n\rRefundRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x12\n\npayment_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x1d\n\x10idempotency_uuid\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0bterminal_id\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x1e\n\x11\x65xt_pay_reference\x18\x06 \x01(\tH\x02\x88\x01\x01\x12\x19\n\x0c\x65xt_order_id\x18\x07 \x01(\tH\x03\x88\x01\x01\x42\x13\n\x11_idempotency_uuidB\x0e\n\x0c_terminal_idB\x14\n\x12_ext_pay_referenceB\x0f\n\r_ext_order_id\"\x9c\x04\n\x0eRefundResponse\x12\x44\n\x06status\x18\x01 \x01(\x0e\x32\x34.com.kodypay.grpc.pay.v1.RefundResponse.RefundStatus\x12\x1b\n\x0e\x66\x61ilure_reason\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x12\n\npayment_id\x18\x03 \x01(\t\x12\x30\n\x0c\x64\x61te_created\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x19\n\x11total_paid_amount\x18\x05 \x01(\t\x12\x1d\n\x15total_amount_refunded\x18\x06 \x01(\t\x12\x18\n\x10remaining_amount\x18\x07 \x01(\t\x12\x1e\n\x16total_amount_requested\x18\x08 \x01(\t\x12\x1c\n\x14paymentTransactionId\x18\t \x01(\t\x12\x15\n\x08order_id\x18\n \x01(\tH\x01\x88\x01\x01\x12\x1e\n\x11\x65xt_pay_reference\x18\x0b \x01(\tH\x02\x88\x01\x01\x12\x19\n\x0c\x65xt_order_id\x18\x0c \x01(\tH\x03\x88\x01\x01\"6\n\x0cRefundStatus\x12\x0b\n\x07PENDING\x10\x00\x12\r\n\tREQUESTED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x42\x11\n\x0f_failure_reasonB\x0b\n\t_order_idB\x14\n\x12_ext_pay_referenceB\x0f\n\r_ext_order_id\"\xb2\x01\n\x12VoidPaymentRequest\x12\x14\n\npayment_id\x18\x02 \x01(\tH\x00\x12\x1e\n\x11payment_reference\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x15\n\x08order_id\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x10\n\x08store_id\x18\x05 \x01(\tB\x05\n\x03idsB\x14\n\x12_payment_referenceB\x0b\n\t_order_idJ\x04\x08\x01\x10\x02R\rpsp_reference\"\xd2\x03\n\x13VoidPaymentResponse\x12\x15\n\rpsp_reference\x18\x01 \x01(\t\x12\x12\n\npayment_id\x18\x02 \x01(\t\x12G\n\x06status\x18\x03 \x01(\x0e\x32\x37.com.kodypay.grpc.pay.v1.VoidPaymentResponse.VoidStatus\x12M\n\tsale_data\x18\x04 \x01(\x0b\x32\x35.com.kodypay.grpc.pay.v1.VoidPaymentResponse.SaleDataH\x00\x88\x01\x01\x12/\n\x0b\x64\x61te_voided\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1aw\n\x08SaleData\x12\x14\n\x0ctotal_amount\x18\x01 \x01(\t\x12\x13\n\x0bsale_amount\x18\x02 \x01(\t\x12\x13\n\x0btips_amount\x18\x03 \x01(\t\x12\x10\n\x08order_id\x18\x04 \x01(\t\x12\x19\n\x11payment_reference\x18\x05 \x01(\t\"@\n\nVoidStatus\x12\x0b\n\x07PENDING\x10\x00\x12\r\n\tREQUESTED\x10\x01\x12\n\n\x06VOIDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x42\x0c\n\n_sale_data*8\n\x11PaymentMethodType\x12\x08\n\x04\x43\x41RD\x10\x00\x12\x0c\n\x08\x45_WALLET\x10\x01\x12\x0b\n\x07UNKNOWN\x10\x02*\x84\x01\n\rPaymentStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\r\n\tCANCELLED\x10\x03\x12\x0c\n\x08\x44\x45\x43LINED\x10\x04\x12\x16\n\x0eREFUND_PENDING\x10\x05\x1a\x02\x08\x01\x12\x18\n\x10REFUND_REQUESTED\x10\x06\x1a\x02\x08\x01\x32\xba\x05\n\x16KodyPayTerminalService\x12\x62\n\tTerminals\x12).com.kodypay.grpc.pay.v1.TerminalsRequest\x1a*.com.kodypay.grpc.pay.v1.TerminalsResponse\x12R\n\x03Pay\x12#.com.kodypay.grpc.pay.v1.PayRequest\x1a$.com.kodypay.grpc.pay.v1.PayResponse0\x01\x12Y\n\x06\x43\x61ncel\x12&.com.kodypay.grpc.pay.v1.CancelRequest\x1a\'.com.kodypay.grpc.pay.v1.CancelResponse\x12\x66\n\x0ePaymentDetails\x12..com.kodypay.grpc.pay.v1.PaymentDetailsRequest\x1a$.com.kodypay.grpc.pay.v1.PayResponse\x12[\n\x06Refund\x12&.com.kodypay.grpc.pay.v1.RefundRequest\x1a\'.com.kodypay.grpc.pay.v1.RefundResponse0\x01\x12\x61\n\x04Void\x12+.com.kodypay.grpc.pay.v1.VoidPaymentRequest\x1a,.com.kodypay.grpc.pay.v1.VoidPaymentResponse\x12\x65\n\nCloseBatch\x12*.com.kodypay.grpc.pay.v1.CloseBatchRequest\x1a+.com.kodypay.grpc.pay.v1.CloseBatchResponseB1\n\x17\x63om.kodypay.grpc.pay.v1B\x14KodyPayTerminalProtoP\x01\x62\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'com.kodypay.grpc.pay.v1.pay_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\027com.kodypay.grpc.pay.v1B\024KodyPayTerminalProtoP\001'
|
|
36
|
+
_globals['_PAYMENTSTATUS'].values_by_name["REFUND_PENDING"]._loaded_options = None
|
|
37
|
+
_globals['_PAYMENTSTATUS'].values_by_name["REFUND_PENDING"]._serialized_options = b'\010\001'
|
|
38
|
+
_globals['_PAYMENTSTATUS'].values_by_name["REFUND_REQUESTED"]._loaded_options = None
|
|
39
|
+
_globals['_PAYMENTSTATUS'].values_by_name["REFUND_REQUESTED"]._serialized_options = b'\010\001'
|
|
40
|
+
_globals['_PAYRESPONSE_PAYMENTDATA'].fields_by_name['refund_amount']._loaded_options = None
|
|
41
|
+
_globals['_PAYRESPONSE_PAYMENTDATA'].fields_by_name['refund_amount']._serialized_options = b'\030\001'
|
|
42
|
+
_globals['_PAYRESPONSE'].fields_by_name['receipt_json']._loaded_options = None
|
|
43
|
+
_globals['_PAYRESPONSE'].fields_by_name['receipt_json']._serialized_options = b'\030\001'
|
|
44
|
+
_globals['_PAYRESPONSE'].fields_by_name['psp_reference']._loaded_options = None
|
|
45
|
+
_globals['_PAYRESPONSE'].fields_by_name['psp_reference']._serialized_options = b'\030\001'
|
|
46
|
+
_globals['_PAYRESPONSE'].fields_by_name['date_paid']._loaded_options = None
|
|
47
|
+
_globals['_PAYRESPONSE'].fields_by_name['date_paid']._serialized_options = b'\030\001'
|
|
48
|
+
_globals['_PAYRESPONSE'].fields_by_name['total_amount']._loaded_options = None
|
|
49
|
+
_globals['_PAYRESPONSE'].fields_by_name['total_amount']._serialized_options = b'\030\001'
|
|
50
|
+
_globals['_PAYRESPONSE'].fields_by_name['sale_amount']._loaded_options = None
|
|
51
|
+
_globals['_PAYRESPONSE'].fields_by_name['sale_amount']._serialized_options = b'\030\001'
|
|
52
|
+
_globals['_PAYRESPONSE'].fields_by_name['tips_amount']._loaded_options = None
|
|
53
|
+
_globals['_PAYRESPONSE'].fields_by_name['tips_amount']._serialized_options = b'\030\001'
|
|
54
|
+
_globals['_PAYMENTMETHODTYPE']._serialized_start=5642
|
|
55
|
+
_globals['_PAYMENTMETHODTYPE']._serialized_end=5698
|
|
56
|
+
_globals['_PAYMENTSTATUS']._serialized_start=5701
|
|
57
|
+
_globals['_PAYMENTSTATUS']._serialized_end=5833
|
|
58
|
+
_globals['_CLOSEBATCHREQUEST']._serialized_start=95
|
|
59
|
+
_globals['_CLOSEBATCHREQUEST']._serialized_end=154
|
|
60
|
+
_globals['_CLOSEBATCHRESPONSE']._serialized_start=157
|
|
61
|
+
_globals['_CLOSEBATCHRESPONSE']._serialized_end=415
|
|
62
|
+
_globals['_CLOSEBATCHRESPONSE_CLOSEBATCHSTATUS']._serialized_start=339
|
|
63
|
+
_globals['_CLOSEBATCHRESPONSE_CLOSEBATCHSTATUS']._serialized_end=404
|
|
64
|
+
_globals['_CLOSEBATCHRESULT']._serialized_start=417
|
|
65
|
+
_globals['_CLOSEBATCHRESULT']._serialized_end=508
|
|
66
|
+
_globals['_TERMINALSREQUEST']._serialized_start=510
|
|
67
|
+
_globals['_TERMINALSREQUEST']._serialized_end=546
|
|
68
|
+
_globals['_TERMINALSRESPONSE']._serialized_start=548
|
|
69
|
+
_globals['_TERMINALSRESPONSE']._serialized_end=621
|
|
70
|
+
_globals['_TERMINAL']._serialized_start=623
|
|
71
|
+
_globals['_TERMINAL']._serialized_end=670
|
|
72
|
+
_globals['_PAYREQUEST']._serialized_start=673
|
|
73
|
+
_globals['_PAYREQUEST']._serialized_end=1300
|
|
74
|
+
_globals['_PAYREQUEST_PAYMENTMETHODS']._serialized_start=1022
|
|
75
|
+
_globals['_PAYREQUEST_PAYMENTMETHODS']._serialized_end=1195
|
|
76
|
+
_globals['_PAYMENTMETHOD']._serialized_start=1303
|
|
77
|
+
_globals['_PAYMENTMETHOD']._serialized_end=1494
|
|
78
|
+
_globals['_PAYRESPONSE']._serialized_start=1497
|
|
79
|
+
_globals['_PAYRESPONSE']._serialized_end=3829
|
|
80
|
+
_globals['_PAYRESPONSE_PAYMENTDATA']._serialized_start=2275
|
|
81
|
+
_globals['_PAYRESPONSE_PAYMENTDATA']._serialized_end=3288
|
|
82
|
+
_globals['_PAYRESPONSE_PAYMENTDATA_PAYMENTCARD']._serialized_start=2844
|
|
83
|
+
_globals['_PAYRESPONSE_PAYMENTDATA_PAYMENTCARD']._serialized_end=3115
|
|
84
|
+
_globals['_PAYRESPONSE_REFUNDDETAILS']._serialized_start=3291
|
|
85
|
+
_globals['_PAYRESPONSE_REFUNDDETAILS']._serialized_end=3587
|
|
86
|
+
_globals['_REFUND']._serialized_start=3831
|
|
87
|
+
_globals['_REFUND']._serialized_end=3936
|
|
88
|
+
_globals['_REFUND_STATUS']._serialized_start=3841
|
|
89
|
+
_globals['_REFUND_STATUS']._serialized_end=3936
|
|
90
|
+
_globals['_CANCELREQUEST']._serialized_start=3938
|
|
91
|
+
_globals['_CANCELREQUEST']._serialized_end=4048
|
|
92
|
+
_globals['_CANCELRESPONSE']._serialized_start=4050
|
|
93
|
+
_globals['_CANCELRESPONSE']._serialized_end=4122
|
|
94
|
+
_globals['_PAYMENTDETAILSREQUEST']._serialized_start=4124
|
|
95
|
+
_globals['_PAYMENTDETAILSREQUEST']._serialized_end=4183
|
|
96
|
+
_globals['_REFUNDREQUEST']._serialized_start=4186
|
|
97
|
+
_globals['_REFUNDREQUEST']._serialized_end=4447
|
|
98
|
+
_globals['_REFUNDRESPONSE']._serialized_start=4450
|
|
99
|
+
_globals['_REFUNDRESPONSE']._serialized_end=4990
|
|
100
|
+
_globals['_REFUNDRESPONSE_REFUNDSTATUS']._serialized_start=4865
|
|
101
|
+
_globals['_REFUNDRESPONSE_REFUNDSTATUS']._serialized_end=4919
|
|
102
|
+
_globals['_VOIDPAYMENTREQUEST']._serialized_start=4993
|
|
103
|
+
_globals['_VOIDPAYMENTREQUEST']._serialized_end=5171
|
|
104
|
+
_globals['_VOIDPAYMENTRESPONSE']._serialized_start=5174
|
|
105
|
+
_globals['_VOIDPAYMENTRESPONSE']._serialized_end=5640
|
|
106
|
+
_globals['_VOIDPAYMENTRESPONSE_SALEDATA']._serialized_start=5441
|
|
107
|
+
_globals['_VOIDPAYMENTRESPONSE_SALEDATA']._serialized_end=5560
|
|
108
|
+
_globals['_VOIDPAYMENTRESPONSE_VOIDSTATUS']._serialized_start=5562
|
|
109
|
+
_globals['_VOIDPAYMENTRESPONSE_VOIDSTATUS']._serialized_end=5626
|
|
110
|
+
_globals['_KODYPAYTERMINALSERVICE']._serialized_start=5836
|
|
111
|
+
_globals['_KODYPAYTERMINALSERVICE']._serialized_end=6534
|
|
112
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: com/kodypay/grpc/pay/v1/token.proto
|
|
5
|
+
# Protobuf Python Version: 5.27.2
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
27,
|
|
16
|
+
2,
|
|
17
|
+
'',
|
|
18
|
+
'com/kodypay/grpc/pay/v1/token.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
|
+
from kody_clientsdk_python.common import enums_pb2 as com_dot_kodypay_dot_grpc_dot_common_dot_enums__pb2
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#com/kodypay/grpc/pay/v1/token.proto\x12\x17\x63om.kodypay.grpc.pay.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a#com/kodypay/grpc/common/enums.proto\"\x86\x02\n\x16\x43reateCardTokenRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x13\n\x0bterminal_id\x18\x02 \x01(\t\x12\x18\n\x10idempotency_uuid\x18\x03 \x01(\t\x12\x17\n\x0ftoken_reference\x18\x04 \x01(\t\x12\x17\n\x0fpayer_reference\x18\x05 \x01(\t\x12Z\n\x1arecurring_processing_model\x18\x06 \x01(\x0e\x32\x31.com.kodypay.grpc.common.RecurringProcessingModelH\x00\x88\x01\x01\x42\x1d\n\x1b_recurring_processing_model\"9\n\x13GetCardTokenRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x10\n\x08token_id\x18\x02 \x01(\t\"\xb3\x05\n\x14TokenDetailsResponse\x12\x10\n\x08token_id\x18\x01 \x01(\t\x12\x17\n\x0ftoken_reference\x18\x02 \x01(\t\x12\x1a\n\rpayment_token\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x17\n\x0fpayer_reference\x18\x04 \x01(\t\x12Z\n\x1arecurring_processing_model\x18\x05 \x01(\x0e\x32\x31.com.kodypay.grpc.common.RecurringProcessingModelH\x01\x88\x01\x01\x12\x38\n\x06status\x18\x06 \x01(\x0e\x32(.com.kodypay.grpc.common.CardTokenStatus\x12\x33\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02\x88\x01\x01\x12N\n\tcard_info\x18\x08 \x01(\x0b\x32\x36.com.kodypay.grpc.pay.v1.TokenDetailsResponse.CardInfoH\x03\x88\x01\x01\x1a\xd1\x01\n\x08\x43\x61rdInfo\x12\x44\n\x0epayment_method\x18\x01 \x01(\x0e\x32\'.com.kodypay.grpc.common.PaymentMethodsH\x00\x88\x01\x01\x12\x1e\n\x16payment_method_variant\x18\x02 \x01(\t\x12\x1a\n\x12\x63\x61rd_last_4_digits\x18\x03 \x01(\t\x12\x18\n\x10\x63\x61rd_expiry_date\x18\x04 \x01(\t\x12\x16\n\x0epos_entry_mode\x18\x05 \x01(\tB\x11\n\x0f_payment_methodB\x10\n\x0e_payment_tokenB\x1d\n\x1b_recurring_processing_modelB\r\n\x0b_created_atB\x0c\n\n_card_info\"\xda\x03\n\x17PayWithCardTokenRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\x12\x10\n\x08\x63urrency\x18\x03 \x01(\t\x12\x15\n\rpayment_token\x18\x04 \x01(\t\x12\x13\n\x0b\x65xpiry_date\x18\x05 \x01(\t\x12\x18\n\x10idempotency_uuid\x18\x06 \x01(\t\x12\x1e\n\x11payment_reference\x18\x07 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08order_id\x18\x08 \x01(\tH\x01\x88\x01\x01\x12\x1f\n\x12merchant_reference\x18\t \x01(\tH\x02\x88\x01\x01\x12\x1c\n\x0fpayer_reference\x18\n \x01(\tH\x03\x88\x01\x01\x12P\n\x08metadata\x18\x0b \x03(\x0b\x32>.com.kodypay.grpc.pay.v1.PayWithCardTokenRequest.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x14\n\x12_payment_referenceB\x0b\n\t_order_idB\x15\n\x13_merchant_referenceB\x12\n\x10_payer_reference\"s\n\x16GetTokenPaymentRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x14\n\npayment_id\x18\x02 \x01(\tH\x00\x12\x1b\n\x11payment_reference\x18\x03 \x01(\tH\x00\x42\x14\n\x12payment_identifier\"\xef\x06\n\x14TokenPaymentResponse\x12\x12\n\npayment_id\x18\x01 \x01(\t\x12\x15\n\rpsp_reference\x18\x02 \x01(\t\x12S\n\x0epayment_status\x18\x03 \x01(\x0e\x32;.com.kodypay.grpc.pay.v1.TokenPaymentResponse.PaymentStatus\x12\x13\n\x06\x61mount\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08\x63urrency\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x1e\n\x11payment_reference\x18\x06 \x01(\tH\x02\x88\x01\x01\x12\x15\n\x08order_id\x18\x07 \x01(\tH\x03\x88\x01\x01\x12\x1f\n\x12merchant_reference\x18\x08 \x01(\tH\x04\x88\x01\x01\x12\x35\n\x0cpayment_date\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x05\x88\x01\x01\x12$\n\x17original_card_last_four\x18\n \x01(\tH\x06\x88\x01\x01\x12 \n\x13original_card_brand\x18\x0b \x01(\tH\x07\x88\x01\x01\x12\"\n\x15original_card_variant\x18\x0c \x01(\tH\x08\x88\x01\x01\x12\x16\n\tauth_code\x18\r \x01(\tH\t\x88\x01\x01\x12\x1b\n\x0e\x66\x61ilure_reason\x18\x0e \x01(\tH\n\x88\x01\x01\"\xa8\x01\n\rPaymentStatus\x12\x1e\n\x1aPAYMENT_STATUS_UNSPECIFIED\x10\x00\x12\x07\n\x03NEW\x10\x01\x12\x12\n\x0ePRE_AUTHORISED\x10\x02\x12\x0e\n\nAUTHORISED\x10\x03\x12\r\n\tCANCELLED\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\x0b\n\x07REFUSED\x10\x06\x12\x13\n\x0fPENDING_CAPTURE\x10\x07\x12\x0e\n\nCANCELLING\x10\x08\x42\t\n\x07_amountB\x0b\n\t_currencyB\x14\n\x12_payment_referenceB\x0b\n\t_order_idB\x15\n\x13_merchant_referenceB\x0f\n\r_payment_dateB\x1a\n\x18_original_card_last_fourB\x16\n\x14_original_card_brandB\x18\n\x16_original_card_variantB\x0c\n\n_auth_codeB\x11\n\x0f_failure_reason2\xe4\x03\n\x18KodyTerminalTokenService\x12s\n\x0f\x43reateCardToken\x12/.com.kodypay.grpc.pay.v1.CreateCardTokenRequest\x1a-.com.kodypay.grpc.pay.v1.TokenDetailsResponse0\x01\x12k\n\x0cGetCardToken\x12,.com.kodypay.grpc.pay.v1.GetCardTokenRequest\x1a-.com.kodypay.grpc.pay.v1.TokenDetailsResponse\x12s\n\x10PayWithCardToken\x12\x30.com.kodypay.grpc.pay.v1.PayWithCardTokenRequest\x1a-.com.kodypay.grpc.pay.v1.TokenPaymentResponse\x12q\n\x0fGetTokenPayment\x12/.com.kodypay.grpc.pay.v1.GetTokenPaymentRequest\x1a-.com.kodypay.grpc.pay.v1.TokenPaymentResponseB3\n\x17\x63om.kodypay.grpc.pay.v1B\x16KodyTerminalTokenProtoP\x01\x62\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'com.kodypay.grpc.pay.v1.token_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\027com.kodypay.grpc.pay.v1B\026KodyTerminalTokenProtoP\001'
|
|
37
|
+
_globals['_PAYWITHCARDTOKENREQUEST_METADATAENTRY']._loaded_options = None
|
|
38
|
+
_globals['_PAYWITHCARDTOKENREQUEST_METADATAENTRY']._serialized_options = b'8\001'
|
|
39
|
+
_globals['_CREATECARDTOKENREQUEST']._serialized_start=135
|
|
40
|
+
_globals['_CREATECARDTOKENREQUEST']._serialized_end=397
|
|
41
|
+
_globals['_GETCARDTOKENREQUEST']._serialized_start=399
|
|
42
|
+
_globals['_GETCARDTOKENREQUEST']._serialized_end=456
|
|
43
|
+
_globals['_TOKENDETAILSRESPONSE']._serialized_start=459
|
|
44
|
+
_globals['_TOKENDETAILSRESPONSE']._serialized_end=1150
|
|
45
|
+
_globals['_TOKENDETAILSRESPONSE_CARDINFO']._serialized_start=863
|
|
46
|
+
_globals['_TOKENDETAILSRESPONSE_CARDINFO']._serialized_end=1072
|
|
47
|
+
_globals['_PAYWITHCARDTOKENREQUEST']._serialized_start=1153
|
|
48
|
+
_globals['_PAYWITHCARDTOKENREQUEST']._serialized_end=1627
|
|
49
|
+
_globals['_PAYWITHCARDTOKENREQUEST_METADATAENTRY']._serialized_start=1502
|
|
50
|
+
_globals['_PAYWITHCARDTOKENREQUEST_METADATAENTRY']._serialized_end=1549
|
|
51
|
+
_globals['_GETTOKENPAYMENTREQUEST']._serialized_start=1629
|
|
52
|
+
_globals['_GETTOKENPAYMENTREQUEST']._serialized_end=1744
|
|
53
|
+
_globals['_TOKENPAYMENTRESPONSE']._serialized_start=1747
|
|
54
|
+
_globals['_TOKENPAYMENTRESPONSE']._serialized_end=2626
|
|
55
|
+
_globals['_TOKENPAYMENTRESPONSE_PAYMENTSTATUS']._serialized_start=2248
|
|
56
|
+
_globals['_TOKENPAYMENTRESPONSE_PAYMENTSTATUS']._serialized_end=2416
|
|
57
|
+
_globals['_KODYTERMINALTOKENSERVICE']._serialized_start=2629
|
|
58
|
+
_globals['_KODYTERMINALTOKENSERVICE']._serialized_end=3113
|
|
59
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -26,7 +26,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
26
26
|
from kody_clientsdk_python.common import enums_pb2 as com_dot_kodypay_dot_grpc_dot_common_dot_enums__pb2
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)com/kodypay/grpc/preauth/v1/preauth.proto\x12\x1b\x63om.kodypay.grpc.preauth.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a#com/kodypay/grpc/common/enums.proto\"\xfe\x01\n\x17PreAuthorisationRequest\x12\x18\n\x10idempotency_uuid\x18\x01 \x01(\t\x12\x1a\n\x12pre_auth_reference\x18\x02 \x01(\t\x12\x15\n\x08order_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08store_id\x18\x04 \x01(\t\x12\x13\n\x0bterminal_id\x18\x05 \x01(\t\x12\x1a\n\x12\x61mount_minor_units\x18\x06 \x01(\x04\x12\x10\n\x08\x63urrency\x18\x07 \x01(\t\x12\x1e\n\x11need_tokenisation\x18\x08 \x01(\x08H\x01\x88\x01\x01\x42\x0b\n\t_order_idB\x14\n\x12_need_tokenisation\"\xee\x03\n\x18PreAuthorisationResponse\x12\x1a\n\x12pre_auth_reference\x18\x01 \x01(\t\x12\x15\n\rpsp_reference\x18\x02 \x01(\t\x12\x15\n\x08order_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x0bpre_auth_id\x18\x04 \x01(\t\x12\x43\n\x0c\x63\x61rd_details\x18\x05 \x01(\x0b\x32(.com.kodypay.grpc.preauth.v1.PaymentCardH\x01\x88\x01\x01\x12\x37\n\x06status\x18\x06 \x01(\x0e\x32\'.com.kodypay.grpc.preauth.v1.AuthStatus\x12%\n\x1d\x61uthorised_amount_minor_units\x18\x07 \x01(\x04\x12\x10\n\x08\x63urrency\x18\x08 \x01(\t\x12.\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\rauthorised_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02\x88\x01\x01\x12\x16\n\tauth_code\x18\x0b \x01(\tH\x03\x88\x01\x01\x42\x0b\n\t_order_idB\x0f\n\r_card_detailsB\x10\n\x0e_authorised_atB\x0c\n\n_auth_code\"\x8b\x03\n PreAuthoriseWithCardTokenRequest\x12\x18\n\x10idempotency_uuid\x18\x01 \x01(\t\x12\x1a\n\x12pre_auth_reference\x18\x02 \x01(\t\x12\x15\n\x08order_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08store_id\x18\x04 \x01(\t\x12\x1a\n\x12\x61mount_minor_units\x18\x05 \x01(\x04\x12\x10\n\x08\x63urrency\x18\x06 \x01(\t\x12\x15\n\rpayment_token\x18\x07 \x01(\t\x12\x13\n\x0b\x65xpiry_date\x18\x08 \x01(\t\x12_\n\x0ctoken_source\x18\t \x01(\x0e\x32I.com.kodypay.grpc.preauth.v1.PreAuthoriseWithCardTokenRequest.TokenSource\"@\n\x0bTokenSource\x12\x1c\n\x18TOKEN_SOURCE_UNSPECIFIED\x10\x00\x12\x08\n\x04KODY\x10\x01\x12\t\n\x05\x41\x44YEN\x10\x02\x42\x0b\n\t_order_id\"\xcf\x01\n\x19TopUpAuthorisationRequest\x12\x18\n\x10idempotency_uuid\x18\x01 \x01(\t\x12\x18\n\x10top_up_reference\x18\x02 \x01(\t\x12\x15\n\x08order_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08store_id\x18\x04 \x01(\t\x12\x13\n\x0bpre_auth_id\x18\x05 \x01(\t\x12!\n\x19top_up_amount_minor_units\x18\x06 \x01(\x04\x12\x10\n\x08\x63urrency\x18\x07 \x01(\tB\x0b\n\t_order_id\"\xde\x02\n\x1aTopUpAuthorisationResponse\x12\x18\n\x10top_up_reference\x18\x01 \x01(\t\x12\x15\n\rpsp_reference\x18\x02 \x01(\t\x12\x15\n\x08order_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x30\n#total_authorised_amount_minor_units\x18\x04 \x01(\x04H\x01\x88\x01\x01\x12\x35\n\x0ctopped_up_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02\x88\x01\x01\x12\x37\n\x06status\x18\x06 \x01(\x0e\x32\'.com.kodypay.grpc.preauth.v1.AuthStatus\x12\x10\n\x08topup_id\x18\x07 \x01(\tB\x0b\n\t_order_idB&\n$_total_authorised_amount_minor_unitsB\x0f\n\r_topped_up_at\"\xfd\x01\n\x1b\x43\x61ptureAuthorisationRequest\x12\x18\n\x10idempotency_uuid\x18\x01 \x01(\t\x12\x19\n\x11\x63\x61pture_reference\x18\x02 \x01(\t\x12\x15\n\x08order_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08store_id\x18\x04 \x01(\t\x12\x13\n\x0bpre_auth_id\x18\x05 \x01(\t\x12\"\n\x1a\x63\x61pture_amount_minor_units\x18\x06 \x01(\x04\x12\x10\n\x08\x63urrency\x18\x07 \x01(\t\x12\x18\n\x0bterminal_id\x18\x08 \x01(\tH\x01\x88\x01\x01\x42\x0b\n\t_order_idB\x0e\n\x0c_terminal_id\"\xf2\x01\n\x1c\x43\x61ptureAuthorisationResponse\x12\x19\n\x11\x63\x61pture_reference\x18\x01 \x01(\t\x12\x15\n\rpsp_reference\x18\x02 \x01(\t\x12\x15\n\x08order_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12/\n\x0b\x63\x61ptured_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ncapture_id\x18\x05 \x01(\t\x12\x37\n\x06status\x18\x06 \x01(\x0e\x32\'.com.kodypay.grpc.preauth.v1.AuthStatusB\x0b\n\t_order_id\"\x9d\x01\n\x1bReleaseAuthorisationRequest\x12\x18\n\x10idempotency_uuid\x18\x01 \x01(\t\x12\x19\n\x11release_reference\x18\x02 \x01(\t\x12\x15\n\x08order_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08store_id\x18\x04 \x01(\t\x12\x13\n\x0bpre_auth_id\x18\x05 \x01(\tB\x0b\n\t_order_id\"\xde\x01\n\x1cReleaseAuthorisationResponse\x12\x19\n\x11release_reference\x18\x01 \x01(\t\x12\x15\n\rpsp_reference\x18\x02 \x01(\t\x12\x15\n\x08order_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12/\n\x0breleased_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x06status\x18\x05 \x01(\x0e\x32\'.com.kodypay.grpc.preauth.v1.AuthStatusB\x0b\n\t_order_id\"C\n\x1aGetPreAuthorisationRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x13\n\x0bpre_auth_id\x18\x02 \x01(\t\"\xd2\x06\n\x1bGetPreAuthorisationResponse\x12\x1a\n\x12pre_auth_reference\x18\x01 \x01(\t\x12\x13\n\x0bpre_auth_id\x18\x02 \x01(\t\x12\x1a\n\rpsp_reference\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x37\n\x06status\x18\x04 \x01(\x0e\x32\'.com.kodypay.grpc.preauth.v1.AuthStatus\x12+\n#total_authorised_amount_minor_units\x18\x05 \x01(\x04\x12(\n\x1b\x63\x61ptured_amount_minor_units\x18\x06 \x01(\x04H\x01\x88\x01\x01\x12\x16\n\x0estore_currency\x18\x07 \x01(\t\x12>\n\x0c\x63\x61rd_details\x18\x08 \x01(\x0b\x32(.com.kodypay.grpc.preauth.v1.PaymentCard\x12.\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x11last_topped_up_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02\x88\x01\x01\x12\x34\n\x0b\x63\x61ptured_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x03\x88\x01\x01\x12\x34\n\x0breleased_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x04\x88\x01\x01\x12\x36\n\rauthorised_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x05\x88\x01\x01\x12<\n\x0b\x61\x64justments\x18\x0e \x03(\x0b\x32\'.com.kodypay.grpc.preauth.v1.Adjustment\x12\x36\n\x08\x63\x61ptures\x18\x0f \x03(\x0b\x32$.com.kodypay.grpc.preauth.v1.CaptureB\x10\n\x0e_psp_referenceB\x1e\n\x1c_captured_amount_minor_unitsB\x14\n\x12_last_topped_up_atB\x0e\n\x0c_captured_atB\x0e\n\x0c_released_atB\x10\n\x0e_authorised_at\"\xde\x01\n\x14RefundCaptureRequest\x12\x18\n\x10idempotency_uuid\x18\x01 \x01(\t\x12\x18\n\x10refund_reference\x18\x02 \x01(\t\x12\x15\n\x08order_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08store_id\x18\x04 \x01(\t\x12\x13\n\x0bpre_auth_id\x18\x05 \x01(\t\x12\x12\n\ncapture_id\x18\x06 \x01(\t\x12!\n\x19refund_amount_minor_units\x18\x07 \x01(\x04\x12\x10\n\x08\x63urrency\x18\x08 \x01(\tB\x0b\n\t_order_id\"\x9f\x02\n\x15RefundCaptureResponse\x12\x18\n\x10refund_reference\x18\x01 \x01(\t\x12\x1a\n\rpsp_reference\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08order_id\x18\x03 \x01(\tH\x01\x88\x01\x01\x12/\n\x0brefunded_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x06status\x18\x05 \x01(\x0e\x32).com.kodypay.grpc.preauth.v1.RefundStatus\x12\x1b\n\x0e\x66\x61ilure_reason\x18\x06 \x01(\tH\x02\x88\x01\x01\x42\x10\n\x0e_psp_referenceB\x0b\n\t_order_idB\x11\n\x0f_failure_reason\"\xa2\x02\n\x0bPaymentCard\x12\x1a\n\x12\x63\x61rd_last_4_digits\x18\x01 \x01(\t\x12\x18\n\x10\x63\x61rd_expiry_date\x18\x02 \x01(\t\x12\x1b\n\x0epos_entry_mode\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rpayment_token\x18\x04 \x01(\tH\x01\x88\x01\x01\x12?\n\x0epayment_method\x18\x05 \x01(\x0e\x32\'.com.kodypay.grpc.common.PaymentMethods\x12#\n\x16payment_method_variant\x18\x06 \x01(\tH\x02\x88\x01\x01\x42\x11\n\x0f_pos_entry_modeB\x10\n\x0e_payment_tokenB\x19\n\x17_payment_method_variant\"\xc8\x02\n\nAdjustment\x12\x15\n\radjustment_id\x18\x01 \x01(\t\x12!\n\x14\x61\x64justment_reference\x18\x02 \x01(\tH\x00\x88\x01\x01\x12=\n\x06status\x18\x03 \x01(\x0e\x32-.com.kodypay.grpc.preauth.v1.AdjustmentStatus\x12\x1a\n\x12\x61mount_minor_units\x18\x04 \x01(\x04\x12.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1a\n\rpsp_reference\x18\x07 \x01(\tH\x01\x88\x01\x01\x42\x17\n\x15_adjustment_referenceB\x10\n\x0e_psp_reference\"\xe8\x02\n\x07\x43\x61pture\x12\x12\n\ncapture_id\x18\x01 \x01(\t\x12\x1a\n\x12\x61mount_minor_units\x18\x02 \x01(\x04\x12\x42\n\x06status\x18\x03 \x01(\x0e\x32\x32.com.kodypay.grpc.preauth.v1.Capture.CaptureStatus\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1a\n\rpsp_reference\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05\x65rror\x18\x06 \x01(\tH\x01\x88\x01\x01\"m\n\rCaptureStatus\x12\x1e\n\x1a\x43\x41PTURE_STATUS_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x43\x41PTURE_PENDING\x10\x01\x12\x13\n\x0f\x43\x41PTURE_SUCCESS\x10\x02\x12\x12\n\x0e\x43\x41PTURE_FAILED\x10\x03\x42\x10\n\x0e_psp_referenceB\x08\n\x06_error*\x9f\x02\n\nAuthStatus\x12\x1b\n\x17\x41UTH_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15PENDING_AUTHORISATION\x10\x01\x12\x0e\n\nAUTHORISED\x10\x02\x12\x0c\n\x08\x44\x45\x43LINED\x10\x03\x12\r\n\tCANCELLED\x10\x04\x12\x13\n\x0fPENDING_CAPTURE\x10\x05\x12\x0c\n\x08\x43\x41PTURED\x10\x06\x12\x12\n\x0e\x43\x41PTURE_FAILED\x10\x07\x12\x13\n\x0fPENDING_RELEASE\x10\x08\x12\x0c\n\x08RELEASED\x10\t\x12\x12\n\x0eRELEASE_FAILED\x10\n\x12\x12\n\x0ePENDING_TOP_UP\x10\x0b\x12\x11\n\rTOP_UP_FAILED\x10\x0c\x12\x0b\n\x07\x45XPIRED\x10\r\x12\n\n\x06\x46\x41ILED\x10\x0e*{\n\x10\x41\x64justmentStatus\x12!\n\x1d\x41\x44JUSTMENT_STATUS_UNSPECIFIED\x10\x00\x12\x16\n\x12\x41\x44JUSTMENT_PENDING\x10\x01\x12\x16\n\x12\x41\x44JUSTMENT_SUCCESS\x10\x02\x12\x14\n\x10\x41\x44JUSTMENT_ERROR\x10\x03*j\n\x0cRefundStatus\x12\x1d\n\x19REFUND_STATUS_UNSPECIFIED\x10\x00\x12\x12\n\x0eREFUND_PENDING\x10\x01\x12\x14\n\x10REFUND_REQUESTED\x10\x02\x12\x11\n\rREFUND_FAILED\x10\x03\x32\xda\x07\n\x1aKodyPreAuthTerminalService\x12}\n\x0cPreAuthorise\x12\x34.com.kodypay.grpc.preauth.v1.PreAuthorisationRequest\x1a\x35.com.kodypay.grpc.preauth.v1.PreAuthorisationResponse0\x01\x12\x93\x01\n\x19PreAuthoriseWithCardToken\x12=.com.kodypay.grpc.preauth.v1.PreAuthoriseWithCardTokenRequest\x1a\x35.com.kodypay.grpc.preauth.v1.PreAuthorisationResponse0\x01\x12\x87\x01\n\x12TopUpAuthorisation\x12\x36.com.kodypay.grpc.preauth.v1.TopUpAuthorisationRequest\x1a\x37.com.kodypay.grpc.preauth.v1.TopUpAuthorisationResponse0\x01\x12\x8b\x01\n\x14\x43\x61ptureAuthorisation\x12\x38.com.kodypay.grpc.preauth.v1.CaptureAuthorisationRequest\x1a\x39.com.kodypay.grpc.preauth.v1.CaptureAuthorisationResponse\x12\x8b\x01\n\x14ReleaseAuthorisation\x12\x38.com.kodypay.grpc.preauth.v1.ReleaseAuthorisationRequest\x1a\x39.com.kodypay.grpc.preauth.v1.ReleaseAuthorisationResponse\x12\x88\x01\n\x13GetPreAuthorisation\x12\x37.com.kodypay.grpc.preauth.v1.GetPreAuthorisationRequest\x1a\x38.com.kodypay.grpc.preauth.v1.GetPreAuthorisationResponse\x12v\n\rRefundCapture\x12\x31.com.kodypay.grpc.preauth.v1.RefundCaptureRequest\x1a\x32.com.kodypay.grpc.preauth.v1.RefundCaptureResponseB1\n\x1b\x63om.kodypay.grpc.preauth.v1B\x10KodyPreAuthProtoP\x01\x62\x06proto3')
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)com/kodypay/grpc/preauth/v1/preauth.proto\x12\x1b\x63om.kodypay.grpc.preauth.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a#com/kodypay/grpc/common/enums.proto\"\xfe\x01\n\x17PreAuthorisationRequest\x12\x18\n\x10idempotency_uuid\x18\x01 \x01(\t\x12\x1a\n\x12pre_auth_reference\x18\x02 \x01(\t\x12\x15\n\x08order_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08store_id\x18\x04 \x01(\t\x12\x13\n\x0bterminal_id\x18\x05 \x01(\t\x12\x1a\n\x12\x61mount_minor_units\x18\x06 \x01(\x04\x12\x10\n\x08\x63urrency\x18\x07 \x01(\t\x12\x1e\n\x11need_tokenisation\x18\x08 \x01(\x08H\x01\x88\x01\x01\x42\x0b\n\t_order_idB\x14\n\x12_need_tokenisation\"\xee\x03\n\x18PreAuthorisationResponse\x12\x1a\n\x12pre_auth_reference\x18\x01 \x01(\t\x12\x15\n\rpsp_reference\x18\x02 \x01(\t\x12\x15\n\x08order_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x0bpre_auth_id\x18\x04 \x01(\t\x12\x43\n\x0c\x63\x61rd_details\x18\x05 \x01(\x0b\x32(.com.kodypay.grpc.preauth.v1.PaymentCardH\x01\x88\x01\x01\x12\x37\n\x06status\x18\x06 \x01(\x0e\x32\'.com.kodypay.grpc.preauth.v1.AuthStatus\x12%\n\x1d\x61uthorised_amount_minor_units\x18\x07 \x01(\x04\x12\x10\n\x08\x63urrency\x18\x08 \x01(\t\x12.\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\rauthorised_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02\x88\x01\x01\x12\x16\n\tauth_code\x18\x0b \x01(\tH\x03\x88\x01\x01\x42\x0b\n\t_order_idB\x0f\n\r_card_detailsB\x10\n\x0e_authorised_atB\x0c\n\n_auth_code\"\x8b\x03\n PreAuthoriseWithCardTokenRequest\x12\x18\n\x10idempotency_uuid\x18\x01 \x01(\t\x12\x1a\n\x12pre_auth_reference\x18\x02 \x01(\t\x12\x15\n\x08order_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08store_id\x18\x04 \x01(\t\x12\x1a\n\x12\x61mount_minor_units\x18\x05 \x01(\x04\x12\x10\n\x08\x63urrency\x18\x06 \x01(\t\x12\x15\n\rpayment_token\x18\x07 \x01(\t\x12\x13\n\x0b\x65xpiry_date\x18\x08 \x01(\t\x12_\n\x0ctoken_source\x18\t \x01(\x0e\x32I.com.kodypay.grpc.preauth.v1.PreAuthoriseWithCardTokenRequest.TokenSource\"@\n\x0bTokenSource\x12\x1c\n\x18TOKEN_SOURCE_UNSPECIFIED\x10\x00\x12\x08\n\x04KODY\x10\x01\x12\t\n\x05\x41\x44YEN\x10\x02\x42\x0b\n\t_order_id\"\xcf\x01\n\x19TopUpAuthorisationRequest\x12\x18\n\x10idempotency_uuid\x18\x01 \x01(\t\x12\x18\n\x10top_up_reference\x18\x02 \x01(\t\x12\x15\n\x08order_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08store_id\x18\x04 \x01(\t\x12\x13\n\x0bpre_auth_id\x18\x05 \x01(\t\x12!\n\x19top_up_amount_minor_units\x18\x06 \x01(\x04\x12\x10\n\x08\x63urrency\x18\x07 \x01(\tB\x0b\n\t_order_id\"\xde\x02\n\x1aTopUpAuthorisationResponse\x12\x18\n\x10top_up_reference\x18\x01 \x01(\t\x12\x15\n\rpsp_reference\x18\x02 \x01(\t\x12\x15\n\x08order_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x30\n#total_authorised_amount_minor_units\x18\x04 \x01(\x04H\x01\x88\x01\x01\x12\x35\n\x0ctopped_up_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02\x88\x01\x01\x12\x37\n\x06status\x18\x06 \x01(\x0e\x32\'.com.kodypay.grpc.preauth.v1.AuthStatus\x12\x10\n\x08topup_id\x18\x07 \x01(\tB\x0b\n\t_order_idB&\n$_total_authorised_amount_minor_unitsB\x0f\n\r_topped_up_at\"\xfd\x01\n\x1b\x43\x61ptureAuthorisationRequest\x12\x18\n\x10idempotency_uuid\x18\x01 \x01(\t\x12\x19\n\x11\x63\x61pture_reference\x18\x02 \x01(\t\x12\x15\n\x08order_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08store_id\x18\x04 \x01(\t\x12\x13\n\x0bpre_auth_id\x18\x05 \x01(\t\x12\"\n\x1a\x63\x61pture_amount_minor_units\x18\x06 \x01(\x04\x12\x10\n\x08\x63urrency\x18\x07 \x01(\t\x12\x18\n\x0bterminal_id\x18\x08 \x01(\tH\x01\x88\x01\x01\x42\x0b\n\t_order_idB\x0e\n\x0c_terminal_id\"\xf2\x01\n\x1c\x43\x61ptureAuthorisationResponse\x12\x19\n\x11\x63\x61pture_reference\x18\x01 \x01(\t\x12\x15\n\rpsp_reference\x18\x02 \x01(\t\x12\x15\n\x08order_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12/\n\x0b\x63\x61ptured_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ncapture_id\x18\x05 \x01(\t\x12\x37\n\x06status\x18\x06 \x01(\x0e\x32\'.com.kodypay.grpc.preauth.v1.AuthStatusB\x0b\n\t_order_id\"\x9d\x01\n\x1bReleaseAuthorisationRequest\x12\x18\n\x10idempotency_uuid\x18\x01 \x01(\t\x12\x19\n\x11release_reference\x18\x02 \x01(\t\x12\x15\n\x08order_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08store_id\x18\x04 \x01(\t\x12\x13\n\x0bpre_auth_id\x18\x05 \x01(\tB\x0b\n\t_order_id\"\xde\x01\n\x1cReleaseAuthorisationResponse\x12\x19\n\x11release_reference\x18\x01 \x01(\t\x12\x15\n\rpsp_reference\x18\x02 \x01(\t\x12\x15\n\x08order_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12/\n\x0breleased_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x06status\x18\x05 \x01(\x0e\x32\'.com.kodypay.grpc.preauth.v1.AuthStatusB\x0b\n\t_order_id\"C\n\x1aGetPreAuthorisationRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x13\n\x0bpre_auth_id\x18\x02 \x01(\t\"\xd2\x06\n\x1bGetPreAuthorisationResponse\x12\x1a\n\x12pre_auth_reference\x18\x01 \x01(\t\x12\x13\n\x0bpre_auth_id\x18\x02 \x01(\t\x12\x1a\n\rpsp_reference\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x37\n\x06status\x18\x04 \x01(\x0e\x32\'.com.kodypay.grpc.preauth.v1.AuthStatus\x12+\n#total_authorised_amount_minor_units\x18\x05 \x01(\x04\x12(\n\x1b\x63\x61ptured_amount_minor_units\x18\x06 \x01(\x04H\x01\x88\x01\x01\x12\x16\n\x0estore_currency\x18\x07 \x01(\t\x12>\n\x0c\x63\x61rd_details\x18\x08 \x01(\x0b\x32(.com.kodypay.grpc.preauth.v1.PaymentCard\x12.\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x11last_topped_up_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02\x88\x01\x01\x12\x34\n\x0b\x63\x61ptured_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x03\x88\x01\x01\x12\x34\n\x0breleased_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x04\x88\x01\x01\x12\x36\n\rauthorised_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x05\x88\x01\x01\x12<\n\x0b\x61\x64justments\x18\x0e \x03(\x0b\x32\'.com.kodypay.grpc.preauth.v1.Adjustment\x12\x36\n\x08\x63\x61ptures\x18\x0f \x03(\x0b\x32$.com.kodypay.grpc.preauth.v1.CaptureB\x10\n\x0e_psp_referenceB\x1e\n\x1c_captured_amount_minor_unitsB\x14\n\x12_last_topped_up_atB\x0e\n\x0c_captured_atB\x0e\n\x0c_released_atB\x10\n\x0e_authorised_at\"\xde\x01\n\x14RefundCaptureRequest\x12\x18\n\x10idempotency_uuid\x18\x01 \x01(\t\x12\x18\n\x10refund_reference\x18\x02 \x01(\t\x12\x15\n\x08order_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08store_id\x18\x04 \x01(\t\x12\x13\n\x0bpre_auth_id\x18\x05 \x01(\t\x12\x12\n\ncapture_id\x18\x06 \x01(\t\x12!\n\x19refund_amount_minor_units\x18\x07 \x01(\x04\x12\x10\n\x08\x63urrency\x18\x08 \x01(\tB\x0b\n\t_order_id\"\x9f\x02\n\x15RefundCaptureResponse\x12\x18\n\x10refund_reference\x18\x01 \x01(\t\x12\x1a\n\rpsp_reference\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08order_id\x18\x03 \x01(\tH\x01\x88\x01\x01\x12/\n\x0brefunded_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x06status\x18\x05 \x01(\x0e\x32).com.kodypay.grpc.preauth.v1.RefundStatus\x12\x1b\n\x0e\x66\x61ilure_reason\x18\x06 \x01(\tH\x02\x88\x01\x01\x42\x10\n\x0e_psp_referenceB\x0b\n\t_order_idB\x11\n\x0f_failure_reason\"\xba\x02\n\x0bPaymentCard\x12\x1a\n\x12\x63\x61rd_last_4_digits\x18\x01 \x01(\t\x12\x18\n\x10\x63\x61rd_expiry_date\x18\x02 \x01(\t\x12\x1b\n\x0epos_entry_mode\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rpayment_token\x18\x04 \x01(\tH\x01\x88\x01\x01\x12\x44\n\x0epayment_method\x18\x05 \x01(\x0e\x32\'.com.kodypay.grpc.common.PaymentMethodsH\x02\x88\x01\x01\x12#\n\x16payment_method_variant\x18\x06 \x01(\tH\x03\x88\x01\x01\x42\x11\n\x0f_pos_entry_modeB\x10\n\x0e_payment_tokenB\x11\n\x0f_payment_methodB\x19\n\x17_payment_method_variant\"\xc8\x02\n\nAdjustment\x12\x15\n\radjustment_id\x18\x01 \x01(\t\x12!\n\x14\x61\x64justment_reference\x18\x02 \x01(\tH\x00\x88\x01\x01\x12=\n\x06status\x18\x03 \x01(\x0e\x32-.com.kodypay.grpc.preauth.v1.AdjustmentStatus\x12\x1a\n\x12\x61mount_minor_units\x18\x04 \x01(\x04\x12.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1a\n\rpsp_reference\x18\x07 \x01(\tH\x01\x88\x01\x01\x42\x17\n\x15_adjustment_referenceB\x10\n\x0e_psp_reference\"\xe8\x02\n\x07\x43\x61pture\x12\x12\n\ncapture_id\x18\x01 \x01(\t\x12\x1a\n\x12\x61mount_minor_units\x18\x02 \x01(\x04\x12\x42\n\x06status\x18\x03 \x01(\x0e\x32\x32.com.kodypay.grpc.preauth.v1.Capture.CaptureStatus\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1a\n\rpsp_reference\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05\x65rror\x18\x06 \x01(\tH\x01\x88\x01\x01\"m\n\rCaptureStatus\x12\x1e\n\x1a\x43\x41PTURE_STATUS_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x43\x41PTURE_PENDING\x10\x01\x12\x13\n\x0f\x43\x41PTURE_SUCCESS\x10\x02\x12\x12\n\x0e\x43\x41PTURE_FAILED\x10\x03\x42\x10\n\x0e_psp_referenceB\x08\n\x06_error*\x9f\x02\n\nAuthStatus\x12\x1b\n\x17\x41UTH_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15PENDING_AUTHORISATION\x10\x01\x12\x0e\n\nAUTHORISED\x10\x02\x12\x0c\n\x08\x44\x45\x43LINED\x10\x03\x12\r\n\tCANCELLED\x10\x04\x12\x13\n\x0fPENDING_CAPTURE\x10\x05\x12\x0c\n\x08\x43\x41PTURED\x10\x06\x12\x12\n\x0e\x43\x41PTURE_FAILED\x10\x07\x12\x13\n\x0fPENDING_RELEASE\x10\x08\x12\x0c\n\x08RELEASED\x10\t\x12\x12\n\x0eRELEASE_FAILED\x10\n\x12\x12\n\x0ePENDING_TOP_UP\x10\x0b\x12\x11\n\rTOP_UP_FAILED\x10\x0c\x12\x0b\n\x07\x45XPIRED\x10\r\x12\n\n\x06\x46\x41ILED\x10\x0e*{\n\x10\x41\x64justmentStatus\x12!\n\x1d\x41\x44JUSTMENT_STATUS_UNSPECIFIED\x10\x00\x12\x16\n\x12\x41\x44JUSTMENT_PENDING\x10\x01\x12\x16\n\x12\x41\x44JUSTMENT_SUCCESS\x10\x02\x12\x14\n\x10\x41\x44JUSTMENT_ERROR\x10\x03*j\n\x0cRefundStatus\x12\x1d\n\x19REFUND_STATUS_UNSPECIFIED\x10\x00\x12\x12\n\x0eREFUND_PENDING\x10\x01\x12\x14\n\x10REFUND_REQUESTED\x10\x02\x12\x11\n\rREFUND_FAILED\x10\x03\x32\xda\x07\n\x1aKodyPreAuthTerminalService\x12}\n\x0cPreAuthorise\x12\x34.com.kodypay.grpc.preauth.v1.PreAuthorisationRequest\x1a\x35.com.kodypay.grpc.preauth.v1.PreAuthorisationResponse0\x01\x12\x93\x01\n\x19PreAuthoriseWithCardToken\x12=.com.kodypay.grpc.preauth.v1.PreAuthoriseWithCardTokenRequest\x1a\x35.com.kodypay.grpc.preauth.v1.PreAuthorisationResponse0\x01\x12\x87\x01\n\x12TopUpAuthorisation\x12\x36.com.kodypay.grpc.preauth.v1.TopUpAuthorisationRequest\x1a\x37.com.kodypay.grpc.preauth.v1.TopUpAuthorisationResponse0\x01\x12\x8b\x01\n\x14\x43\x61ptureAuthorisation\x12\x38.com.kodypay.grpc.preauth.v1.CaptureAuthorisationRequest\x1a\x39.com.kodypay.grpc.preauth.v1.CaptureAuthorisationResponse\x12\x8b\x01\n\x14ReleaseAuthorisation\x12\x38.com.kodypay.grpc.preauth.v1.ReleaseAuthorisationRequest\x1a\x39.com.kodypay.grpc.preauth.v1.ReleaseAuthorisationResponse\x12\x88\x01\n\x13GetPreAuthorisation\x12\x37.com.kodypay.grpc.preauth.v1.GetPreAuthorisationRequest\x1a\x38.com.kodypay.grpc.preauth.v1.GetPreAuthorisationResponse\x12v\n\rRefundCapture\x12\x31.com.kodypay.grpc.preauth.v1.RefundCaptureRequest\x1a\x32.com.kodypay.grpc.preauth.v1.RefundCaptureResponseB1\n\x1b\x63om.kodypay.grpc.preauth.v1B\x10KodyPreAuthProtoP\x01\x62\x06proto3')
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
32
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -34,12 +34,12 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'com.kodypay.grpc.preauth.v1
|
|
|
34
34
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
35
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
36
|
_globals['DESCRIPTOR']._serialized_options = b'\n\033com.kodypay.grpc.preauth.v1B\020KodyPreAuthProtoP\001'
|
|
37
|
-
_globals['_AUTHSTATUS']._serialized_start=
|
|
38
|
-
_globals['_AUTHSTATUS']._serialized_end=
|
|
39
|
-
_globals['_ADJUSTMENTSTATUS']._serialized_start=
|
|
40
|
-
_globals['_ADJUSTMENTSTATUS']._serialized_end=
|
|
41
|
-
_globals['_REFUNDSTATUS']._serialized_start=
|
|
42
|
-
_globals['_REFUNDSTATUS']._serialized_end=
|
|
37
|
+
_globals['_AUTHSTATUS']._serialized_start=5194
|
|
38
|
+
_globals['_AUTHSTATUS']._serialized_end=5481
|
|
39
|
+
_globals['_ADJUSTMENTSTATUS']._serialized_start=5483
|
|
40
|
+
_globals['_ADJUSTMENTSTATUS']._serialized_end=5606
|
|
41
|
+
_globals['_REFUNDSTATUS']._serialized_start=5608
|
|
42
|
+
_globals['_REFUNDSTATUS']._serialized_end=5714
|
|
43
43
|
_globals['_PREAUTHORISATIONREQUEST']._serialized_start=145
|
|
44
44
|
_globals['_PREAUTHORISATIONREQUEST']._serialized_end=399
|
|
45
45
|
_globals['_PREAUTHORISATIONRESPONSE']._serialized_start=402
|
|
@@ -69,13 +69,13 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
69
69
|
_globals['_REFUNDCAPTURERESPONSE']._serialized_start=3893
|
|
70
70
|
_globals['_REFUNDCAPTURERESPONSE']._serialized_end=4180
|
|
71
71
|
_globals['_PAYMENTCARD']._serialized_start=4183
|
|
72
|
-
_globals['_PAYMENTCARD']._serialized_end=
|
|
73
|
-
_globals['_ADJUSTMENT']._serialized_start=
|
|
74
|
-
_globals['_ADJUSTMENT']._serialized_end=
|
|
75
|
-
_globals['_CAPTURE']._serialized_start=
|
|
76
|
-
_globals['_CAPTURE']._serialized_end=
|
|
77
|
-
_globals['_CAPTURE_CAPTURESTATUS']._serialized_start=
|
|
78
|
-
_globals['_CAPTURE_CAPTURESTATUS']._serialized_end=
|
|
79
|
-
_globals['_KODYPREAUTHTERMINALSERVICE']._serialized_start=
|
|
80
|
-
_globals['_KODYPREAUTHTERMINALSERVICE']._serialized_end=
|
|
72
|
+
_globals['_PAYMENTCARD']._serialized_end=4497
|
|
73
|
+
_globals['_ADJUSTMENT']._serialized_start=4500
|
|
74
|
+
_globals['_ADJUSTMENT']._serialized_end=4828
|
|
75
|
+
_globals['_CAPTURE']._serialized_start=4831
|
|
76
|
+
_globals['_CAPTURE']._serialized_end=5191
|
|
77
|
+
_globals['_CAPTURE_CAPTURESTATUS']._serialized_start=5054
|
|
78
|
+
_globals['_CAPTURE_CAPTURESTATUS']._serialized_end=5163
|
|
79
|
+
_globals['_KODYPREAUTHTERMINALSERVICE']._serialized_start=5717
|
|
80
|
+
_globals['_KODYPREAUTHTERMINALSERVICE']._serialized_end=6703
|
|
81
81
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '1.8.7'
|
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
-
# source: com/kodypay/grpc/ecom/v1/ecom.proto
|
|
5
|
-
# Protobuf Python Version: 5.27.2
|
|
6
|
-
"""Generated protocol buffer code."""
|
|
7
|
-
from google.protobuf import descriptor as _descriptor
|
|
8
|
-
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
-
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
-
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
-
from google.protobuf.internal import builder as _builder
|
|
12
|
-
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
-
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
5,
|
|
15
|
-
27,
|
|
16
|
-
2,
|
|
17
|
-
'',
|
|
18
|
-
'com/kodypay/grpc/ecom/v1/ecom.proto'
|
|
19
|
-
)
|
|
20
|
-
# @@protoc_insertion_point(imports)
|
|
21
|
-
|
|
22
|
-
_sym_db = _symbol_database.Default()
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#com/kodypay/grpc/ecom/v1/ecom.proto\x12\x18\x63om.kodypay.grpc.ecom.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x88\r\n\x18PaymentInitiationRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x19\n\x11payment_reference\x18\x02 \x01(\t\x12\x1a\n\x12\x61mount_minor_units\x18\x03 \x01(\x04\x12\x10\n\x08\x63urrency\x18\x04 \x01(\t\x12\x10\n\x08order_id\x18\x05 \x01(\t\x12\x1b\n\x0eorder_metadata\x18\x06 \x01(\tH\x00\x88\x01\x01\x12\x12\n\nreturn_url\x18\x07 \x01(\t\x12\x1c\n\x0fpayer_statement\x18\x08 \x01(\tH\x01\x88\x01\x01\x12 \n\x13payer_email_address\x18\t \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x10payer_ip_address\x18\n \x01(\tH\x03\x88\x01\x01\x12\x19\n\x0cpayer_locale\x18\x0b \x01(\tH\x04\x88\x01\x01\x12\x1a\n\rtokenise_card\x18\x0c \x01(\x08H\x05\x88\x01\x01\x12V\n\x06\x65xpiry\x18\r \x01(\x0b\x32\x41.com.kodypay.grpc.ecom.v1.PaymentInitiationRequest.ExpirySettingsH\x06\x88\x01\x01\x12\x63\n\x0f\x63\x61pture_options\x18\x0e \x01(\x0b\x32\x41.com.kodypay.grpc.ecom.v1.PaymentInitiationRequest.CaptureOptionsB\x02\x18\x01H\x07\x88\x01\x01\x12$\n\x17is_pay_by_bank_accepted\x18\x0f \x01(\x08H\x08\x88\x01\x01\x12>\n\x0c\x61\x63\x63\x65pts_only\x18\x10 \x03(\x0e\x32(.com.kodypay.grpc.ecom.v1.PaymentMethods\x12\x1c\n\x0fpayer_reference\x18\x11 \x01(\tH\t\x88\x01\x01\x12[\n\x1arecurring_processing_model\x18\x12 \x01(\x0e\x32\x32.com.kodypay.grpc.ecom.v1.RecurringProcessingModelH\n\x88\x01\x01\x12\x1d\n\x10idempotency_uuid\x18\x13 \x01(\tH\x0b\x88\x01\x01\x1a>\n\x0e\x45xpirySettings\x12\x12\n\nshow_timer\x18\x01 \x01(\x08\x12\x18\n\x10\x65xpiring_seconds\x18\x02 \x01(\x04\x1a\xc0\x04\n\x0e\x43\x61ptureOptions\x12k\n\x10\x63\x61pture_settings\x18\x01 \x01(\x0b\x32Q.com.kodypay.grpc.ecom.v1.PaymentInitiationRequest.CaptureOptions.CaptureSettings\x12p\n\x10release_settings\x18\x02 \x01(\x0b\x32Q.com.kodypay.grpc.ecom.v1.PaymentInitiationRequest.CaptureOptions.ReleaseSettingsH\x00\x88\x01\x01\x1a\x99\x01\n\x0f\x43\x61ptureSettings\x12\x17\n\x0f\x64\x65layed_capture\x18\x01 \x01(\x08\x12\'\n\x1a\x61uto_capture_interval_mins\x18\x02 \x01(\x05H\x00\x88\x01\x01\x12%\n\x1d\x61uto_capture_store_close_time\x18\x03 \x01(\x08\x42\x1d\n\x1b_auto_capture_interval_mins\x1a\x99\x01\n\x0fReleaseSettings\x12\x17\n\x0f\x64\x65layed_release\x18\x01 \x01(\x08\x12\'\n\x1a\x61uto_release_interval_mins\x18\x02 \x01(\x05H\x00\x88\x01\x01\x12%\n\x1d\x61uto_release_store_close_time\x18\x03 \x01(\x08\x42\x1d\n\x1b_auto_release_interval_mins:\x02\x18\x01\x42\x13\n\x11_release_settingsB\x11\n\x0f_order_metadataB\x12\n\x10_payer_statementB\x16\n\x14_payer_email_addressB\x13\n\x11_payer_ip_addressB\x0f\n\r_payer_localeB\x10\n\x0e_tokenise_cardB\t\n\x07_expiryB\x12\n\x10_capture_optionsB\x1a\n\x18_is_pay_by_bank_acceptedB\x12\n\x10_payer_referenceB\x1d\n\x1b_recurring_processing_modelB\x13\n\x11_idempotency_uuid\"\xa2\x03\n\x19PaymentInitiationResponse\x12P\n\x08response\x18\x01 \x01(\x0b\x32<.com.kodypay.grpc.ecom.v1.PaymentInitiationResponse.ResponseH\x00\x12J\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x39.com.kodypay.grpc.ecom.v1.PaymentInitiationResponse.ErrorH\x00\x1a\x33\n\x08Response\x12\x12\n\npayment_id\x18\x01 \x01(\t\x12\x13\n\x0bpayment_url\x18\x02 \x01(\t\x1a\xa7\x01\n\x05\x45rror\x12L\n\x04type\x18\x01 \x01(\x0e\x32>.com.kodypay.grpc.ecom.v1.PaymentInitiationResponse.Error.Type\x12\x0f\n\x07message\x18\x02 \x01(\t\"?\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x15\n\x11\x44UPLICATE_ATTEMPT\x10\x01\x12\x13\n\x0fINVALID_REQUEST\x10\x02\x42\x08\n\x06result\"r\n\x15PaymentDetailsRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x14\n\npayment_id\x18\x02 \x01(\tH\x00\x12\x1b\n\x11payment_reference\x18\x03 \x01(\tH\x00\x42\x14\n\x12payment_identifier\"\xde\x12\n\x16PaymentDetailsResponse\x12S\n\x08response\x18\x01 \x01(\x0b\x32?.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse.PaymentDetailsH\x00\x12G\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x36.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse.ErrorH\x00\x1a\xb3\x01\n\x05\x45rror\x12I\n\x04type\x18\x01 \x01(\x0e\x32;.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse.Error.Type\x12\x0f\n\x07message\x18\x02 \x01(\t\"N\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tNOT_FOUND\x10\x01\x12\x13\n\x0fINVALID_REQUEST\x10\x02\x12\x15\n\x11\x44UPLICATE_ATTEMPT\x10\x03\x1a\xb7\x06\n\x0ePaymentDetails\x12\x12\n\npayment_id\x18\x01 \x01(\t\x12\x1d\n\x11payment_reference\x18\x02 \x01(\tB\x02\x18\x01\x12\x14\n\x08order_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x1f\n\x0eorder_metadata\x18\x04 \x01(\tB\x02\x18\x01H\x00\x88\x01\x01\x12\x37\n\x06status\x18\x05 \x01(\x0e\x32\'.com.kodypay.grpc.ecom.v1.PaymentStatus\x12\"\n\x11payment_data_json\x18\x06 \x01(\tB\x02\x18\x01H\x01\x88\x01\x01\x12\x30\n\x0c\x64\x61te_created\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\tdate_paid\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02\x18\x01H\x02\x88\x01\x01\x12\x1e\n\rpsp_reference\x18\t \x01(\tB\x02\x18\x01H\x03\x88\x01\x01\x12\x1f\n\x0epayment_method\x18\n \x01(\tB\x02\x18\x01H\x04\x88\x01\x01\x12W\n\x0cpayment_data\x18\x0b \x01(\x0b\x32<.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse.PaymentDataH\x05\x88\x01\x01\x12Q\n\tsale_data\x18\x0c \x01(\x0b\x32\x39.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse.SaleDataH\x06\x88\x01\x01\x12O\n\x07refunds\x18\r \x03(\x0b\x32>.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse.RefundDetails\x12#\n\x1b\x61mount_refunded_minor_units\x18\x0e \x01(\x04\x12\x16\n\x0e\x66ully_refunded\x18\x0f \x01(\x08\x42\x11\n\x0f_order_metadataB\x14\n\x12_payment_data_jsonB\x0c\n\n_date_paidB\x10\n\x0e_psp_referenceB\x11\n\x0f_payment_methodB\x0f\n\r_payment_dataB\x0c\n\n_sale_data\x1a\xeb\x01\n\rRefundDetails\x12\x1e\n\x16payment_transaction_id\x18\x01 \x01(\t\x12!\n\x14refund_psp_reference\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x15\n\rrefund_amount\x18\x03 \x01(\t\x12.\n\nevent_date\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x06status\x18\x05 \x01(\x0e\x32\'.com.kodypay.grpc.ecom.v1.Refund.StatusB\x17\n\x15_refund_psp_reference\x1a\xa5\x06\n\x0bPaymentData\x12\x15\n\rpsp_reference\x18\x01 \x01(\t\x12@\n\x0epayment_method\x18\x02 \x01(\x0e\x32(.com.kodypay.grpc.ecom.v1.PaymentMethods\x12\x1e\n\x16payment_method_variant\x18\x03 \x01(\t\x12\x63\n\x0b\x61uth_status\x18\x04 \x01(\x0e\x32N.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse.PaymentData.PaymentAuthStatus\x12\x34\n\x10\x61uth_status_date\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12`\n\x0cpayment_card\x18\x06 \x01(\x0b\x32H.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse.PaymentData.PaymentCardH\x00\x12\x64\n\x0epayment_wallet\x18\x07 \x01(\x0b\x32J.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse.PaymentData.PaymentWalletH\x00\x1aW\n\x0bPaymentCard\x12\x1a\n\x12\x63\x61rd_last_4_digits\x18\x01 \x01(\t\x12\x11\n\tauth_code\x18\x02 \x01(\t\x12\x19\n\rpayment_token\x18\x03 \x01(\tB\x02\x18\x01\x1a`\n\rPaymentWallet\x12\x1f\n\x12\x63\x61rd_last_4_digits\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x17\n\x0fpayment_link_id\x18\x02 \x01(\tB\x15\n\x13_card_last_4_digits\"e\n\x11PaymentAuthStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0e\n\nAUTHORISED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\x0c\n\x08\x43\x41PTURED\x10\x03\x12\x0c\n\x08RELEASED\x10\x04\x12\x0b\n\x07\x45XPIRED\x10\x05\x42\x18\n\x16payment_method_details\x1a\x95\x01\n\x08SaleData\x12\x1a\n\x12\x61mount_minor_units\x18\x01 \x01(\x04\x12\x10\n\x08\x63urrency\x18\x02 \x01(\t\x12\x10\n\x08order_id\x18\x03 \x01(\t\x12\x19\n\x11payment_reference\x18\x04 \x01(\t\x12\x1b\n\x0eorder_metadata\x18\x05 \x01(\tH\x00\x88\x01\x01\x42\x11\n\x0f_order_metadataB\x08\n\x06result\"\xe2\x02\n\x12GetPaymentsRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12L\n\x0bpage_cursor\x18\x02 \x01(\x0b\x32\x37.com.kodypay.grpc.ecom.v1.GetPaymentsRequest.PageCursor\x12\x43\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x33.com.kodypay.grpc.ecom.v1.GetPaymentsRequest.Filter\x1ax\n\x06\x46ilter\x12\x15\n\x08order_id\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x37\n\x0e\x63reated_before\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x88\x01\x01\x42\x0b\n\t_order_idB\x11\n\x0f_created_before\x1a-\n\nPageCursor\x12\x0c\n\x04page\x18\x01 \x01(\x03\x12\x11\n\tpage_size\x18\x02 \x01(\x03\"\xfe\x07\n\x13GetPaymentsResponse\x12J\n\x08response\x18\x01 \x01(\x0b\x32\x36.com.kodypay.grpc.ecom.v1.GetPaymentsResponse.ResponseH\x00\x12\x44\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x33.com.kodypay.grpc.ecom.v1.GetPaymentsResponse.ErrorH\x00\x1a\xad\x05\n\x08Response\x12p\n\x13\x64\x65precated_payments\x18\x01 \x03(\x0b\x32O.com.kodypay.grpc.ecom.v1.GetPaymentsResponse.Response.DeprecatedPaymentDetailsB\x02\x18\x01\x12\r\n\x05total\x18\x02 \x01(\x03\x12Q\n\x08payments\x18\x03 \x03(\x0b\x32?.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse.PaymentDetails\x1a\xcc\x03\n\x18\x44\x65precatedPaymentDetails\x12\x12\n\npayment_id\x18\x01 \x01(\t\x12\x19\n\x11payment_reference\x18\x02 \x01(\t\x12\x10\n\x08order_id\x18\x03 \x01(\t\x12\x1b\n\x0eorder_metadata\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x37\n\x06status\x18\x05 \x01(\x0e\x32\'.com.kodypay.grpc.ecom.v1.PaymentStatus\x12\x1e\n\x11payment_data_json\x18\x06 \x01(\tH\x01\x88\x01\x01\x12\x30\n\x0c\x64\x61te_created\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\tdate_paid\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02\x88\x01\x01\x12\x1a\n\rpsp_reference\x18\t \x01(\tH\x03\x88\x01\x01\x12\x1b\n\x0epayment_method\x18\n \x01(\tH\x04\x88\x01\x01\x42\x11\n\x0f_order_metadataB\x14\n\x12_payment_data_jsonB\x0c\n\n_date_paidB\x10\n\x0e_psp_referenceB\x11\n\x0f_payment_method\x1a\x9a\x01\n\x05\x45rror\x12\x46\n\x04type\x18\x01 \x01(\x0e\x32\x38.com.kodypay.grpc.ecom.v1.GetPaymentsResponse.Error.Type\x12\x0f\n\x07message\x18\x02 \x01(\t\"8\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tNOT_FOUND\x10\x01\x12\x14\n\x10INVALID_ARGUMENT\x10\x02\x42\x08\n\x06result\"\x96\x01\n\rRefundRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x14\n\npayment_id\x18\x02 \x01(\tH\x00\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x1d\n\x10idempotency_uuid\x18\x05 \x01(\tH\x01\x88\x01\x01\x42\x04\n\x02idB\x13\n\x11_idempotency_uuidJ\x04\x08\x04\x10\x05R\rpsp_reference\"\x97\x03\n\x0eRefundResponse\x12\x45\n\x06status\x18\x01 \x01(\x0e\x32\x35.com.kodypay.grpc.ecom.v1.RefundResponse.RefundStatus\x12\x1b\n\x0e\x66\x61ilure_reason\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x12\n\npayment_id\x18\x03 \x01(\t\x12\x30\n\x0c\x64\x61te_created\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x19\n\x11total_paid_amount\x18\x05 \x01(\t\x12\x1d\n\x15total_amount_refunded\x18\x06 \x01(\t\x12\x18\n\x10remaining_amount\x18\x07 \x01(\t\x12\x1e\n\x16total_amount_requested\x18\x08 \x01(\t\x12\x1c\n\x14paymentTransactionId\x18\t \x01(\t\"6\n\x0cRefundStatus\x12\x0b\n\x07PENDING\x10\x00\x12\r\n\tREQUESTED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x42\x11\n\x0f_failure_reason\"i\n\x06Refund\"_\n\x06Status\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\r\n\tREQUESTED\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\r\n\tCANCELLED\x10\x05\"\x80\x05\n\x12\x43reateTokenRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x18\n\x10idempotency_uuid\x18\x02 \x01(\t\x12\x1c\n\x0ftoken_reference\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x17\n\x0fpayer_reference\x18\x04 \x01(\t\x12\x15\n\x08metadata\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x12\n\nreturn_url\x18\x06 \x01(\t\x12\x1c\n\x0fpayer_statement\x18\x07 \x01(\tH\x02\x88\x01\x01\x12 \n\x13payer_email_address\x18\x08 \x01(\tH\x03\x88\x01\x01\x12\x1f\n\x12payer_phone_number\x18\t \x01(\tH\x04\x88\x01\x01\x12[\n\x1arecurring_processing_model\x18\n \x01(\x0e\x32\x32.com.kodypay.grpc.ecom.v1.RecurringProcessingModelH\x05\x88\x01\x01\x12P\n\x06\x65xpiry\x18\x0b \x01(\x0b\x32;.com.kodypay.grpc.ecom.v1.CreateTokenRequest.ExpirySettingsH\x06\x88\x01\x01\x1a>\n\x0e\x45xpirySettings\x12\x12\n\nshow_timer\x18\x01 \x01(\x08\x12\x18\n\x10\x65xpiring_seconds\x18\x02 \x01(\x04\x42\x12\n\x10_token_referenceB\x0b\n\t_metadataB\x12\n\x10_payer_statementB\x16\n\x14_payer_email_addressB\x15\n\x13_payer_phone_numberB\x1d\n\x1b_recurring_processing_modelB\t\n\x07_expiry\"\x8d\x03\n\x13\x43reateTokenResponse\x12J\n\x08response\x18\x01 \x01(\x0b\x32\x36.com.kodypay.grpc.ecom.v1.CreateTokenResponse.ResponseH\x00\x12\x44\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x33.com.kodypay.grpc.ecom.v1.CreateTokenResponse.ErrorH\x00\x1a\x36\n\x08Response\x12\x10\n\x08token_id\x18\x01 \x01(\t\x12\x18\n\x10\x63reate_token_url\x18\x02 \x01(\t\x1a\xa1\x01\n\x05\x45rror\x12\x46\n\x04type\x18\x01 \x01(\x0e\x32\x38.com.kodypay.grpc.ecom.v1.CreateTokenResponse.Error.Type\x12\x0f\n\x07message\x18\x02 \x01(\t\"?\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x15\n\x11\x44UPLICATE_ATTEMPT\x10\x01\x12\x13\n\x0fINVALID_REQUEST\x10\x02\x42\x08\n\x06result\"j\n\x13GetCardTokenRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x12\n\x08token_id\x18\x02 \x01(\tH\x00\x12\x19\n\x0ftoken_reference\x18\x03 \x01(\tH\x00\x42\x12\n\x10token_identifier\"\xd1\x07\n\x14GetCardTokenResponse\x12K\n\x08response\x18\x01 \x01(\x0b\x32\x37.com.kodypay.grpc.ecom.v1.GetCardTokenResponse.ResponseH\x00\x12\x45\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x34.com.kodypay.grpc.ecom.v1.GetCardTokenResponse.ErrorH\x00\x1a\xa0\x04\n\x08Response\x12\x10\n\x08token_id\x18\x01 \x01(\t\x12\x1c\n\x0ftoken_reference\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x15\n\rpayment_token\x18\x03 \x01(\t\x12\x17\n\x0fpayer_reference\x18\x04 \x01(\t\x12V\n\x1arecurring_processing_model\x18\x05 \x01(\x0e\x32\x32.com.kodypay.grpc.ecom.v1.RecurringProcessingModel\x12N\n\x06status\x18\x06 \x01(\x0e\x32>.com.kodypay.grpc.ecom.v1.GetCardTokenResponse.CardTokenStatus\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x0epayment_method\x18\x08 \x01(\x0e\x32(.com.kodypay.grpc.ecom.v1.PaymentMethods\x12\x1e\n\x16payment_method_variant\x18\t \x01(\t\x12\x16\n\x0e\x66unding_source\x18\n \x01(\t\x12\x1a\n\x12\x63\x61rd_last_4_digits\x18\x0b \x01(\t\x12\x1d\n\x10\x63\x61rd_expiry_date\x18\x0c \x01(\tH\x01\x88\x01\x01\x42\x12\n\x10_token_referenceB\x13\n\x11_card_expiry_date\x1a\x9f\x01\n\x05\x45rror\x12G\n\x04type\x18\x01 \x01(\x0e\x32\x39.com.kodypay.grpc.ecom.v1.GetCardTokenResponse.Error.Type\x12\x0f\n\x07message\x18\x02 \x01(\t\"<\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x12\n\x0ePENDING_CREATE\x10\x01\x12\x13\n\x0fINVALID_REQUEST\x10\x02\"V\n\x0f\x43\x61rdTokenStatus\x12\x0b\n\x07PENDING\x10\x00\x12\n\n\x06\x46\x41ILED\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x03\x12\x12\n\x0ePENDING_DELETE\x10\x04\x42\x08\n\x06result\"m\n\x16\x44\x65leteCardTokenRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x12\n\x08token_id\x18\x02 \x01(\tH\x00\x12\x19\n\x0ftoken_reference\x18\x03 \x01(\tH\x00\x42\x12\n\x10token_identifier\"\xf5\x02\n\x17\x44\x65leteCardTokenResponse\x12N\n\x08response\x18\x01 \x01(\x0b\x32:.com.kodypay.grpc.ecom.v1.DeleteCardTokenResponse.ResponseH\x00\x12H\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x37.com.kodypay.grpc.ecom.v1.DeleteCardTokenResponse.ErrorH\x00\x1a\n\n\x08Response\x1a\xa9\x01\n\x05\x45rror\x12J\n\x04type\x18\x01 \x01(\x0e\x32<.com.kodypay.grpc.ecom.v1.DeleteCardTokenResponse.Error.Type\x12\x0f\n\x07message\x18\x02 \x01(\t\"C\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tNOT_FOUND\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\x13\n\x0fINVALID_REQUEST\x10\x03\x42\x08\n\x06result\"A\n\x14GetCardTokensRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x17\n\x0fpayer_reference\x18\x02 \x01(\t\"\x9b\x03\n\x15GetCardTokensResponse\x12L\n\x08response\x18\x01 \x01(\x0b\x32\x38.com.kodypay.grpc.ecom.v1.GetCardTokensResponse.ResponseH\x00\x12\x46\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x35.com.kodypay.grpc.ecom.v1.GetCardTokensResponse.ErrorH\x00\x1aS\n\x08Response\x12G\n\x06tokens\x18\x01 \x03(\x0b\x32\x37.com.kodypay.grpc.ecom.v1.GetCardTokenResponse.Response\x1a\x8c\x01\n\x05\x45rror\x12H\n\x04type\x18\x01 \x01(\x0e\x32:.com.kodypay.grpc.ecom.v1.GetCardTokensResponse.Error.Type\x12\x0f\n\x07message\x18\x02 \x01(\t\"(\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x13\n\x0fINVALID_REQUEST\x10\x01\x42\x08\n\x06result\"\xa4\x03\n\x17PayWithCardTokenRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x18\n\x10idempotency_uuid\x18\x02 \x01(\t\x12\x15\n\rpayment_token\x18\x03 \x01(\t\x12\x1a\n\x12\x61mount_minor_units\x18\x04 \x01(\x04\x12\x10\n\x08\x63urrency\x18\x05 \x01(\t\x12\x19\n\x11payment_reference\x18\x06 \x01(\t\x12\x15\n\x08order_id\x18\x07 \x01(\tH\x00\x88\x01\x01\x12\x1b\n\x0eorder_metadata\x18\x08 \x01(\tH\x01\x88\x01\x01\x12\x1c\n\x0fpayer_statement\x18\t \x01(\tH\x02\x88\x01\x01\x12\x63\n\x0f\x63\x61pture_options\x18\n \x01(\x0b\x32\x41.com.kodypay.grpc.ecom.v1.PaymentInitiationRequest.CaptureOptionsB\x02\x18\x01H\x03\x88\x01\x01\x42\x0b\n\t_order_idB\x11\n\x0f_order_metadataB\x12\n\x10_payer_statementB\x12\n\x10_capture_options*\xc1\x01\n\x0ePaymentMethods\x12\x08\n\x04VISA\x10\x00\x12\x0e\n\nMASTERCARD\x10\x01\x12\x08\n\x04\x41MEX\x10\x02\x12\x0f\n\x0b\x42\x41N_CONTACT\x10\x03\x12\x13\n\x0f\x43HINA_UNION_PAY\x10\x04\x12\x0b\n\x07MAESTRO\x10\x05\x12\n\n\x06\x44INERS\x10\x06\x12\x0c\n\x08\x44ISCOVER\x10\x07\x12\x07\n\x03JCB\x10\x08\x12\n\n\x06\x41LIPAY\x10\t\x12\n\n\x06WECHAT\x10\n\x12\r\n\tAPPLE_PAY\x10\x0b\x12\x0e\n\nGOOGLE_PAY\x10\x0c*Q\n\rPaymentStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\r\n\tCANCELLED\x10\x03\x12\x0b\n\x07\x45XPIRED\x10\x04*s\n\x18RecurringProcessingModel\x12\x15\n\x11MODEL_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x43\x41RD_ON_FILE\x10\x01\x12\x10\n\x0cSUBSCRIPTION\x10\x02\x12\x1c\n\x18UNSCHEDULED_CARD_ON_FILE\x10\x03\x32\x92\x0b\n\x17KodyEcomPaymentsService\x12z\n\x0fInitiatePayment\x12\x32.com.kodypay.grpc.ecom.v1.PaymentInitiationRequest\x1a\x33.com.kodypay.grpc.ecom.v1.PaymentInitiationResponse\x12\x7f\n\x15InitiatePaymentStream\x12\x32.com.kodypay.grpc.ecom.v1.PaymentInitiationRequest\x1a\x30.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse0\x01\x12s\n\x0ePaymentDetails\x12/.com.kodypay.grpc.ecom.v1.PaymentDetailsRequest\x1a\x30.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse\x12{\n\x14PaymentDetailsStream\x12/.com.kodypay.grpc.ecom.v1.PaymentDetailsRequest\x1a\x30.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse0\x01\x12j\n\x0bGetPayments\x12,.com.kodypay.grpc.ecom.v1.GetPaymentsRequest\x1a-.com.kodypay.grpc.ecom.v1.GetPaymentsResponse\x12]\n\x06Refund\x12\'.com.kodypay.grpc.ecom.v1.RefundRequest\x1a(.com.kodypay.grpc.ecom.v1.RefundResponse0\x01\x12n\n\x0f\x43reateCardToken\x12,.com.kodypay.grpc.ecom.v1.CreateTokenRequest\x1a-.com.kodypay.grpc.ecom.v1.CreateTokenResponse\x12m\n\x0cGetCardToken\x12-.com.kodypay.grpc.ecom.v1.GetCardTokenRequest\x1a..com.kodypay.grpc.ecom.v1.GetCardTokenResponse\x12v\n\x0f\x44\x65leteCardToken\x12\x30.com.kodypay.grpc.ecom.v1.DeleteCardTokenRequest\x1a\x31.com.kodypay.grpc.ecom.v1.DeleteCardTokenResponse\x12p\n\rGetCardTokens\x12..com.kodypay.grpc.ecom.v1.GetCardTokensRequest\x1a/.com.kodypay.grpc.ecom.v1.GetCardTokensResponse\x12w\n\x10PayWithCardToken\x12\x31.com.kodypay.grpc.ecom.v1.PayWithCardTokenRequest\x1a\x30.com.kodypay.grpc.ecom.v1.PaymentDetailsResponse\x12{\n\x16GetTokenPaymentDetails\x12/.com.kodypay.grpc.ecom.v1.PaymentDetailsRequest\x1a\x30.com.kodypay.grpc.ecom.v1.PaymentDetailsResponseB3\n\x18\x63om.kodypay.grpc.ecom.v1B\x15KodyEcomPaymentsProtoP\x01\x62\x06proto3')
|
|
29
|
-
|
|
30
|
-
_globals = globals()
|
|
31
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'com.kodypay.grpc.ecom.v1.ecom_pb2', _globals)
|
|
33
|
-
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
-
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
-
_globals['DESCRIPTOR']._serialized_options = b'\n\030com.kodypay.grpc.ecom.v1B\025KodyEcomPaymentsProtoP\001'
|
|
36
|
-
_globals['_PAYMENTINITIATIONREQUEST_CAPTUREOPTIONS']._loaded_options = None
|
|
37
|
-
_globals['_PAYMENTINITIATIONREQUEST_CAPTUREOPTIONS']._serialized_options = b'\030\001'
|
|
38
|
-
_globals['_PAYMENTINITIATIONREQUEST'].fields_by_name['capture_options']._loaded_options = None
|
|
39
|
-
_globals['_PAYMENTINITIATIONREQUEST'].fields_by_name['capture_options']._serialized_options = b'\030\001'
|
|
40
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['payment_reference']._loaded_options = None
|
|
41
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['payment_reference']._serialized_options = b'\030\001'
|
|
42
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['order_id']._loaded_options = None
|
|
43
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['order_id']._serialized_options = b'\030\001'
|
|
44
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['order_metadata']._loaded_options = None
|
|
45
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['order_metadata']._serialized_options = b'\030\001'
|
|
46
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['payment_data_json']._loaded_options = None
|
|
47
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['payment_data_json']._serialized_options = b'\030\001'
|
|
48
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['date_paid']._loaded_options = None
|
|
49
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['date_paid']._serialized_options = b'\030\001'
|
|
50
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['psp_reference']._loaded_options = None
|
|
51
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['psp_reference']._serialized_options = b'\030\001'
|
|
52
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['payment_method']._loaded_options = None
|
|
53
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS'].fields_by_name['payment_method']._serialized_options = b'\030\001'
|
|
54
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDATA_PAYMENTCARD'].fields_by_name['payment_token']._loaded_options = None
|
|
55
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDATA_PAYMENTCARD'].fields_by_name['payment_token']._serialized_options = b'\030\001'
|
|
56
|
-
_globals['_GETPAYMENTSRESPONSE_RESPONSE'].fields_by_name['deprecated_payments']._loaded_options = None
|
|
57
|
-
_globals['_GETPAYMENTSRESPONSE_RESPONSE'].fields_by_name['deprecated_payments']._serialized_options = b'\030\001'
|
|
58
|
-
_globals['_PAYWITHCARDTOKENREQUEST'].fields_by_name['capture_options']._loaded_options = None
|
|
59
|
-
_globals['_PAYWITHCARDTOKENREQUEST'].fields_by_name['capture_options']._serialized_options = b'\030\001'
|
|
60
|
-
_globals['_PAYMENTMETHODS']._serialized_start=10286
|
|
61
|
-
_globals['_PAYMENTMETHODS']._serialized_end=10479
|
|
62
|
-
_globals['_PAYMENTSTATUS']._serialized_start=10481
|
|
63
|
-
_globals['_PAYMENTSTATUS']._serialized_end=10562
|
|
64
|
-
_globals['_RECURRINGPROCESSINGMODEL']._serialized_start=10564
|
|
65
|
-
_globals['_RECURRINGPROCESSINGMODEL']._serialized_end=10679
|
|
66
|
-
_globals['_PAYMENTINITIATIONREQUEST']._serialized_start=99
|
|
67
|
-
_globals['_PAYMENTINITIATIONREQUEST']._serialized_end=1771
|
|
68
|
-
_globals['_PAYMENTINITIATIONREQUEST_EXPIRYSETTINGS']._serialized_start=880
|
|
69
|
-
_globals['_PAYMENTINITIATIONREQUEST_EXPIRYSETTINGS']._serialized_end=942
|
|
70
|
-
_globals['_PAYMENTINITIATIONREQUEST_CAPTUREOPTIONS']._serialized_start=945
|
|
71
|
-
_globals['_PAYMENTINITIATIONREQUEST_CAPTUREOPTIONS']._serialized_end=1521
|
|
72
|
-
_globals['_PAYMENTINITIATIONREQUEST_CAPTUREOPTIONS_CAPTURESETTINGS']._serialized_start=1187
|
|
73
|
-
_globals['_PAYMENTINITIATIONREQUEST_CAPTUREOPTIONS_CAPTURESETTINGS']._serialized_end=1340
|
|
74
|
-
_globals['_PAYMENTINITIATIONREQUEST_CAPTUREOPTIONS_RELEASESETTINGS']._serialized_start=1343
|
|
75
|
-
_globals['_PAYMENTINITIATIONREQUEST_CAPTUREOPTIONS_RELEASESETTINGS']._serialized_end=1496
|
|
76
|
-
_globals['_PAYMENTINITIATIONRESPONSE']._serialized_start=1774
|
|
77
|
-
_globals['_PAYMENTINITIATIONRESPONSE']._serialized_end=2192
|
|
78
|
-
_globals['_PAYMENTINITIATIONRESPONSE_RESPONSE']._serialized_start=1961
|
|
79
|
-
_globals['_PAYMENTINITIATIONRESPONSE_RESPONSE']._serialized_end=2012
|
|
80
|
-
_globals['_PAYMENTINITIATIONRESPONSE_ERROR']._serialized_start=2015
|
|
81
|
-
_globals['_PAYMENTINITIATIONRESPONSE_ERROR']._serialized_end=2182
|
|
82
|
-
_globals['_PAYMENTINITIATIONRESPONSE_ERROR_TYPE']._serialized_start=2119
|
|
83
|
-
_globals['_PAYMENTINITIATIONRESPONSE_ERROR_TYPE']._serialized_end=2182
|
|
84
|
-
_globals['_PAYMENTDETAILSREQUEST']._serialized_start=2194
|
|
85
|
-
_globals['_PAYMENTDETAILSREQUEST']._serialized_end=2308
|
|
86
|
-
_globals['_PAYMENTDETAILSRESPONSE']._serialized_start=2311
|
|
87
|
-
_globals['_PAYMENTDETAILSRESPONSE']._serialized_end=4709
|
|
88
|
-
_globals['_PAYMENTDETAILSRESPONSE_ERROR']._serialized_start=2496
|
|
89
|
-
_globals['_PAYMENTDETAILSRESPONSE_ERROR']._serialized_end=2675
|
|
90
|
-
_globals['_PAYMENTDETAILSRESPONSE_ERROR_TYPE']._serialized_start=2597
|
|
91
|
-
_globals['_PAYMENTDETAILSRESPONSE_ERROR_TYPE']._serialized_end=2675
|
|
92
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS']._serialized_start=2678
|
|
93
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDETAILS']._serialized_end=3501
|
|
94
|
-
_globals['_PAYMENTDETAILSRESPONSE_REFUNDDETAILS']._serialized_start=3504
|
|
95
|
-
_globals['_PAYMENTDETAILSRESPONSE_REFUNDDETAILS']._serialized_end=3739
|
|
96
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDATA']._serialized_start=3742
|
|
97
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDATA']._serialized_end=4547
|
|
98
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDATA_PAYMENTCARD']._serialized_start=4233
|
|
99
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDATA_PAYMENTCARD']._serialized_end=4320
|
|
100
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDATA_PAYMENTWALLET']._serialized_start=4322
|
|
101
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDATA_PAYMENTWALLET']._serialized_end=4418
|
|
102
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDATA_PAYMENTAUTHSTATUS']._serialized_start=4420
|
|
103
|
-
_globals['_PAYMENTDETAILSRESPONSE_PAYMENTDATA_PAYMENTAUTHSTATUS']._serialized_end=4521
|
|
104
|
-
_globals['_PAYMENTDETAILSRESPONSE_SALEDATA']._serialized_start=4550
|
|
105
|
-
_globals['_PAYMENTDETAILSRESPONSE_SALEDATA']._serialized_end=4699
|
|
106
|
-
_globals['_GETPAYMENTSREQUEST']._serialized_start=4712
|
|
107
|
-
_globals['_GETPAYMENTSREQUEST']._serialized_end=5066
|
|
108
|
-
_globals['_GETPAYMENTSREQUEST_FILTER']._serialized_start=4899
|
|
109
|
-
_globals['_GETPAYMENTSREQUEST_FILTER']._serialized_end=5019
|
|
110
|
-
_globals['_GETPAYMENTSREQUEST_PAGECURSOR']._serialized_start=5021
|
|
111
|
-
_globals['_GETPAYMENTSREQUEST_PAGECURSOR']._serialized_end=5066
|
|
112
|
-
_globals['_GETPAYMENTSRESPONSE']._serialized_start=5069
|
|
113
|
-
_globals['_GETPAYMENTSRESPONSE']._serialized_end=6091
|
|
114
|
-
_globals['_GETPAYMENTSRESPONSE_RESPONSE']._serialized_start=5239
|
|
115
|
-
_globals['_GETPAYMENTSRESPONSE_RESPONSE']._serialized_end=5924
|
|
116
|
-
_globals['_GETPAYMENTSRESPONSE_RESPONSE_DEPRECATEDPAYMENTDETAILS']._serialized_start=5464
|
|
117
|
-
_globals['_GETPAYMENTSRESPONSE_RESPONSE_DEPRECATEDPAYMENTDETAILS']._serialized_end=5924
|
|
118
|
-
_globals['_GETPAYMENTSRESPONSE_ERROR']._serialized_start=5927
|
|
119
|
-
_globals['_GETPAYMENTSRESPONSE_ERROR']._serialized_end=6081
|
|
120
|
-
_globals['_GETPAYMENTSRESPONSE_ERROR_TYPE']._serialized_start=6025
|
|
121
|
-
_globals['_GETPAYMENTSRESPONSE_ERROR_TYPE']._serialized_end=6081
|
|
122
|
-
_globals['_REFUNDREQUEST']._serialized_start=6094
|
|
123
|
-
_globals['_REFUNDREQUEST']._serialized_end=6244
|
|
124
|
-
_globals['_REFUNDRESPONSE']._serialized_start=6247
|
|
125
|
-
_globals['_REFUNDRESPONSE']._serialized_end=6654
|
|
126
|
-
_globals['_REFUNDRESPONSE_REFUNDSTATUS']._serialized_start=6581
|
|
127
|
-
_globals['_REFUNDRESPONSE_REFUNDSTATUS']._serialized_end=6635
|
|
128
|
-
_globals['_REFUND']._serialized_start=6656
|
|
129
|
-
_globals['_REFUND']._serialized_end=6761
|
|
130
|
-
_globals['_REFUND_STATUS']._serialized_start=6666
|
|
131
|
-
_globals['_REFUND_STATUS']._serialized_end=6761
|
|
132
|
-
_globals['_CREATETOKENREQUEST']._serialized_start=6764
|
|
133
|
-
_globals['_CREATETOKENREQUEST']._serialized_end=7404
|
|
134
|
-
_globals['_CREATETOKENREQUEST_EXPIRYSETTINGS']._serialized_start=880
|
|
135
|
-
_globals['_CREATETOKENREQUEST_EXPIRYSETTINGS']._serialized_end=942
|
|
136
|
-
_globals['_CREATETOKENRESPONSE']._serialized_start=7407
|
|
137
|
-
_globals['_CREATETOKENRESPONSE']._serialized_end=7804
|
|
138
|
-
_globals['_CREATETOKENRESPONSE_RESPONSE']._serialized_start=7576
|
|
139
|
-
_globals['_CREATETOKENRESPONSE_RESPONSE']._serialized_end=7630
|
|
140
|
-
_globals['_CREATETOKENRESPONSE_ERROR']._serialized_start=7633
|
|
141
|
-
_globals['_CREATETOKENRESPONSE_ERROR']._serialized_end=7794
|
|
142
|
-
_globals['_CREATETOKENRESPONSE_ERROR_TYPE']._serialized_start=2119
|
|
143
|
-
_globals['_CREATETOKENRESPONSE_ERROR_TYPE']._serialized_end=2182
|
|
144
|
-
_globals['_GETCARDTOKENREQUEST']._serialized_start=7806
|
|
145
|
-
_globals['_GETCARDTOKENREQUEST']._serialized_end=7912
|
|
146
|
-
_globals['_GETCARDTOKENRESPONSE']._serialized_start=7915
|
|
147
|
-
_globals['_GETCARDTOKENRESPONSE']._serialized_end=8892
|
|
148
|
-
_globals['_GETCARDTOKENRESPONSE_RESPONSE']._serialized_start=8088
|
|
149
|
-
_globals['_GETCARDTOKENRESPONSE_RESPONSE']._serialized_end=8632
|
|
150
|
-
_globals['_GETCARDTOKENRESPONSE_ERROR']._serialized_start=8635
|
|
151
|
-
_globals['_GETCARDTOKENRESPONSE_ERROR']._serialized_end=8794
|
|
152
|
-
_globals['_GETCARDTOKENRESPONSE_ERROR_TYPE']._serialized_start=8734
|
|
153
|
-
_globals['_GETCARDTOKENRESPONSE_ERROR_TYPE']._serialized_end=8794
|
|
154
|
-
_globals['_GETCARDTOKENRESPONSE_CARDTOKENSTATUS']._serialized_start=8796
|
|
155
|
-
_globals['_GETCARDTOKENRESPONSE_CARDTOKENSTATUS']._serialized_end=8882
|
|
156
|
-
_globals['_DELETECARDTOKENREQUEST']._serialized_start=8894
|
|
157
|
-
_globals['_DELETECARDTOKENREQUEST']._serialized_end=9003
|
|
158
|
-
_globals['_DELETECARDTOKENRESPONSE']._serialized_start=9006
|
|
159
|
-
_globals['_DELETECARDTOKENRESPONSE']._serialized_end=9379
|
|
160
|
-
_globals['_DELETECARDTOKENRESPONSE_RESPONSE']._serialized_start=1961
|
|
161
|
-
_globals['_DELETECARDTOKENRESPONSE_RESPONSE']._serialized_end=1971
|
|
162
|
-
_globals['_DELETECARDTOKENRESPONSE_ERROR']._serialized_start=9200
|
|
163
|
-
_globals['_DELETECARDTOKENRESPONSE_ERROR']._serialized_end=9369
|
|
164
|
-
_globals['_DELETECARDTOKENRESPONSE_ERROR_TYPE']._serialized_start=9302
|
|
165
|
-
_globals['_DELETECARDTOKENRESPONSE_ERROR_TYPE']._serialized_end=9369
|
|
166
|
-
_globals['_GETCARDTOKENSREQUEST']._serialized_start=9381
|
|
167
|
-
_globals['_GETCARDTOKENSREQUEST']._serialized_end=9446
|
|
168
|
-
_globals['_GETCARDTOKENSRESPONSE']._serialized_start=9449
|
|
169
|
-
_globals['_GETCARDTOKENSRESPONSE']._serialized_end=9860
|
|
170
|
-
_globals['_GETCARDTOKENSRESPONSE_RESPONSE']._serialized_start=9624
|
|
171
|
-
_globals['_GETCARDTOKENSRESPONSE_RESPONSE']._serialized_end=9707
|
|
172
|
-
_globals['_GETCARDTOKENSRESPONSE_ERROR']._serialized_start=9710
|
|
173
|
-
_globals['_GETCARDTOKENSRESPONSE_ERROR']._serialized_end=9850
|
|
174
|
-
_globals['_GETCARDTOKENSRESPONSE_ERROR_TYPE']._serialized_start=9810
|
|
175
|
-
_globals['_GETCARDTOKENSRESPONSE_ERROR_TYPE']._serialized_end=9850
|
|
176
|
-
_globals['_PAYWITHCARDTOKENREQUEST']._serialized_start=9863
|
|
177
|
-
_globals['_PAYWITHCARDTOKENREQUEST']._serialized_end=10283
|
|
178
|
-
_globals['_KODYECOMPAYMENTSSERVICE']._serialized_start=10682
|
|
179
|
-
_globals['_KODYECOMPAYMENTSSERVICE']._serialized_end=12108
|
|
180
|
-
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
-
# source: com/kodypay/grpc/pay/v1/pay.proto
|
|
5
|
-
# Protobuf Python Version: 5.27.2
|
|
6
|
-
"""Generated protocol buffer code."""
|
|
7
|
-
from google.protobuf import descriptor as _descriptor
|
|
8
|
-
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
-
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
-
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
-
from google.protobuf.internal import builder as _builder
|
|
12
|
-
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
-
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
5,
|
|
15
|
-
27,
|
|
16
|
-
2,
|
|
17
|
-
'',
|
|
18
|
-
'com/kodypay/grpc/pay/v1/pay.proto'
|
|
19
|
-
)
|
|
20
|
-
# @@protoc_insertion_point(imports)
|
|
21
|
-
|
|
22
|
-
_sym_db = _symbol_database.Default()
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!com/kodypay/grpc/pay/v1/pay.proto\x12\x17\x63om.kodypay.grpc.pay.v1\x1a\x1fgoogle/protobuf/timestamp.proto\";\n\x11\x43loseBatchRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x14\n\x0cterminal_ids\x18\x02 \x03(\t\"\xf2\x01\n\x12\x43loseBatchResponse\x12L\n\x06status\x18\x01 \x01(\x0e\x32<.com.kodypay.grpc.pay.v1.CloseBatchResponse.CloseBatchStatus\x12\x0f\n\x07message\x18\x02 \x01(\t\x12:\n\x07results\x18\x03 \x03(\x0b\x32).com.kodypay.grpc.pay.v1.CloseBatchResult\"A\n\x10\x43loseBatchStatus\x12\x0b\n\x07SUCCESS\x10\x00\x12\x13\n\x0fPARTIAL_SUCCESS\x10\x01\x12\x0b\n\x07\x46\x41ILURE\x10\x02\"[\n\x10\x43loseBatchResult\x12\x13\n\x0bterminal_id\x18\x01 \x01(\t\x12\x10\n\x08\x62\x61tch_id\x18\x02 \x01(\x05\x12\x0f\n\x07success\x18\x03 \x01(\x08\x12\x0f\n\x07message\x18\x04 \x01(\t\"$\n\x10TerminalsRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\"I\n\x11TerminalsResponse\x12\x34\n\tterminals\x18\x01 \x03(\x0b\x32!.com.kodypay.grpc.pay.v1.Terminal\"/\n\x08Terminal\x12\x13\n\x0bterminal_id\x18\x01 \x01(\t\x12\x0e\n\x06online\x18\x02 \x01(\x08\"\xf3\x04\n\nPayRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\x12\x13\n\x0bterminal_id\x18\x03 \x01(\t\x12\x16\n\tshow_tips\x18\x04 \x01(\x08H\x00\x88\x01\x01\x12\x43\n\x0epayment_method\x18\x05 \x01(\x0b\x32&.com.kodypay.grpc.pay.v1.PaymentMethodH\x01\x88\x01\x01\x12\x1d\n\x10idempotency_uuid\x18\x06 \x01(\tH\x02\x88\x01\x01\x12\x1e\n\x11payment_reference\x18\x07 \x01(\tH\x03\x88\x01\x01\x12\x15\n\x08order_id\x18\x08 \x01(\tH\x04\x88\x01\x01\x12H\n\x0c\x61\x63\x63\x65pts_only\x18\t \x03(\x0e\x32\x32.com.kodypay.grpc.pay.v1.PayRequest.PaymentMethods\x12\x18\n\x0btips_amount\x18\n \x01(\tH\x05\x88\x01\x01\"\xad\x01\n\x0ePaymentMethods\x12\x08\n\x04VISA\x10\x00\x12\x0e\n\nMASTERCARD\x10\x01\x12\x08\n\x04\x41MEX\x10\x02\x12\x0f\n\x0b\x42\x41N_CONTACT\x10\x03\x12\x13\n\x0f\x43HINA_UNION_PAY\x10\x04\x12\x0b\n\x07MAESTRO\x10\x05\x12\n\n\x06\x44INERS\x10\x06\x12\x0c\n\x08\x44ISCOVER\x10\x07\x12\x07\n\x03JCB\x10\x08\x12\n\n\x06\x41LIPAY\x10\t\x12\n\n\x06WECHAT\x10\n\x12\t\n\x05PAYME\x10\x0b\x42\x0c\n\n_show_tipsB\x11\n\x0f_payment_methodB\x13\n\x11_idempotency_uuidB\x14\n\x12_payment_referenceB\x0b\n\t_order_idB\x0e\n\x0c_tips_amount\"\xbf\x01\n\rPaymentMethod\x12L\n\x13payment_method_type\x18\x01 \x01(\x0e\x32*.com.kodypay.grpc.pay.v1.PaymentMethodTypeH\x01\x88\x01\x01\x12\x0f\n\x05token\x18\x02 \x01(\tH\x00\x12\"\n\x18\x61\x63tivate_qr_code_scanner\x18\x03 \x01(\x08H\x00\x42\x13\n\x11verification_modeB\x16\n\x14_payment_method_type\"\xff\x11\n\x0bPayResponse\x12\x36\n\x06status\x18\x01 \x01(\x0e\x32&.com.kodypay.grpc.pay.v1.PaymentStatus\x12\x1b\n\x0e\x66\x61ilure_reason\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x1d\n\x0creceipt_json\x18\x03 \x01(\tB\x02\x18\x01H\x01\x88\x01\x01\x12\x12\n\npayment_id\x18\x04 \x01(\t\x12\x30\n\x0c\x64\x61te_created\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1e\n\rpsp_reference\x18\x06 \x01(\tB\x02\x18\x01H\x02\x88\x01\x01\x12\x31\n\tdate_paid\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02\x18\x01\x12\x1d\n\x0ctotal_amount\x18\x08 \x01(\tB\x02\x18\x01H\x03\x88\x01\x01\x12\x1c\n\x0bsale_amount\x18\t \x01(\tB\x02\x18\x01H\x04\x88\x01\x01\x12\x1c\n\x0btips_amount\x18\n \x01(\tB\x02\x18\x01H\x05\x88\x01\x01\x12K\n\x0cpayment_data\x18\x0b \x01(\x0b\x32\x30.com.kodypay.grpc.pay.v1.PayResponse.PaymentDataH\x06\x88\x01\x01\x12\x1e\n\x11payment_reference\x18\x0c \x01(\tH\x07\x88\x01\x01\x12\x15\n\x08order_id\x18\r \x01(\tH\x08\x88\x01\x01\x12H\n\x0c\x61\x63\x63\x65pts_only\x18\x0e \x03(\x0e\x32\x32.com.kodypay.grpc.pay.v1.PayRequest.PaymentMethods\x12 \n\x13is_payment_declined\x18\x0f \x01(\x08H\t\x88\x01\x01\x12\x43\n\x07refunds\x18\x10 \x03(\x0b\x32\x32.com.kodypay.grpc.pay.v1.PayResponse.RefundDetails\x12 \n\x13is_payment_captured\x18\x11 \x01(\x08H\n\x88\x01\x01\x12\x1c\n\x0f\x61mount_refunded\x18\x12 \x01(\tH\x0b\x88\x01\x01\x12\x1b\n\x0e\x66ully_refunded\x18\x13 \x01(\x08H\x0c\x88\x01\x01\x1a\xd8\x07\n\x0bPaymentData\x12-\n\tdate_paid\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0ctotal_amount\x18\x02 \x01(\t\x12\x13\n\x0bsale_amount\x18\x03 \x01(\t\x12\x13\n\x0btips_amount\x18\x04 \x01(\t\x12\x14\n\x0creceipt_json\x18\x05 \x01(\t\x12\x15\n\rpsp_reference\x18\x06 \x01(\t\x12G\n\x13payment_method_type\x18\x07 \x01(\x0e\x32*.com.kodypay.grpc.pay.v1.PaymentMethodType\x12\x16\n\x0epayment_method\x18\x08 \x01(\t\x12W\n\x0cpayment_card\x18\t \x01(\x0b\x32<.com.kodypay.grpc.pay.v1.PayResponse.PaymentData.PaymentCardH\x00\x88\x01\x01\x12#\n\x16payment_method_variant\x18\n \x01(\tH\x01\x88\x01\x01\x12\x1e\n\rrefund_amount\x18\x0b \x01(\tB\x02\x18\x01H\x02\x88\x01\x01\x12\x1e\n\x11original_currency\x18\x0c \x01(\tH\x03\x88\x01\x01\x12\x18\n\x0bpaid_amount\x18\r \x01(\tH\x04\x88\x01\x01\x12\x1a\n\rpaid_currency\x18\x0e \x01(\tH\x05\x88\x01\x01\x12\x1a\n\rexchange_rate\x18\x0f \x01(\tH\x06\x88\x01\x01\x12\x15\n\x08\x62\x61tch_id\x18\x10 \x01(\tH\x07\x88\x01\x01\x1a\x8f\x02\n\x0bPaymentCard\x12\x1a\n\x12\x63\x61rd_last_4_digits\x18\x01 \x01(\t\x12\x18\n\x10\x63\x61rd_expiry_date\x18\x02 \x01(\t\x12\x16\n\x0epos_entry_mode\x18\x03 \x01(\t\x12\x15\n\rpayment_token\x18\x04 \x01(\t\x12\x11\n\tauth_code\x18\x05 \x01(\t\x12\x15\n\x08\x63\x61rd_bin\x18\x06 \x01(\tH\x00\x88\x01\x01\x12\x1e\n\x11\x63\x61rd_issuing_bank\x18\x07 \x01(\tH\x01\x88\x01\x01\x12\x1b\n\x0e\x66unding_source\x18\x08 \x01(\tH\x02\x88\x01\x01\x42\x0b\n\t_card_binB\x14\n\x12_card_issuing_bankB\x11\n\x0f_funding_sourceB\x0f\n\r_payment_cardB\x19\n\x17_payment_method_variantB\x10\n\x0e_refund_amountB\x14\n\x12_original_currencyB\x0e\n\x0c_paid_amountB\x10\n\x0e_paid_currencyB\x10\n\x0e_exchange_rateB\x0b\n\t_batch_id\x1a\xa8\x02\n\rRefundDetails\x12\x12\n\npayment_id\x18\x01 \x01(\t\x12!\n\x14refund_psp_reference\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x1e\n\x16payment_transaction_id\x18\x03 \x01(\t\x12\x15\n\rrefund_amount\x18\x04 \x01(\t\x12.\n\nevent_date\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x0bterminal_id\x18\x06 \x01(\tH\x01\x88\x01\x01\x12\x36\n\x06status\x18\x07 \x01(\x0e\x32&.com.kodypay.grpc.pay.v1.Refund.StatusB\x17\n\x15_refund_psp_referenceB\x0e\n\x0c_terminal_idB\x11\n\x0f_failure_reasonB\x0f\n\r_receipt_jsonB\x10\n\x0e_psp_referenceB\x0f\n\r_total_amountB\x0e\n\x0c_sale_amountB\x0e\n\x0c_tips_amountB\x0f\n\r_payment_dataB\x14\n\x12_payment_referenceB\x0b\n\t_order_idB\x16\n\x14_is_payment_declinedB\x16\n\x14_is_payment_capturedB\x12\n\x10_amount_refundedB\x11\n\x0f_fully_refunded\"i\n\x06Refund\"_\n\x06Status\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\r\n\tREQUESTED\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\r\n\tCANCELLED\x10\x05\"n\n\rCancelRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\x12\x13\n\x0bterminal_id\x18\x03 \x01(\t\x12\x17\n\npayment_id\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\r\n\x0b_payment_id\"H\n\x0e\x43\x61ncelResponse\x12\x36\n\x06status\x18\x01 \x01(\x0e\x32&.com.kodypay.grpc.pay.v1.PaymentStatus\";\n\x15PaymentDetailsRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x10\n\x08order_id\x18\x02 \x01(\t\"\x85\x02\n\rRefundRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x12\n\npayment_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x1d\n\x10idempotency_uuid\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0bterminal_id\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x1e\n\x11\x65xt_pay_reference\x18\x06 \x01(\tH\x02\x88\x01\x01\x12\x19\n\x0c\x65xt_order_id\x18\x07 \x01(\tH\x03\x88\x01\x01\x42\x13\n\x11_idempotency_uuidB\x0e\n\x0c_terminal_idB\x14\n\x12_ext_pay_referenceB\x0f\n\r_ext_order_id\"\x9c\x04\n\x0eRefundResponse\x12\x44\n\x06status\x18\x01 \x01(\x0e\x32\x34.com.kodypay.grpc.pay.v1.RefundResponse.RefundStatus\x12\x1b\n\x0e\x66\x61ilure_reason\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x12\n\npayment_id\x18\x03 \x01(\t\x12\x30\n\x0c\x64\x61te_created\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x19\n\x11total_paid_amount\x18\x05 \x01(\t\x12\x1d\n\x15total_amount_refunded\x18\x06 \x01(\t\x12\x18\n\x10remaining_amount\x18\x07 \x01(\t\x12\x1e\n\x16total_amount_requested\x18\x08 \x01(\t\x12\x1c\n\x14paymentTransactionId\x18\t \x01(\t\x12\x15\n\x08order_id\x18\n \x01(\tH\x01\x88\x01\x01\x12\x1e\n\x11\x65xt_pay_reference\x18\x0b \x01(\tH\x02\x88\x01\x01\x12\x19\n\x0c\x65xt_order_id\x18\x0c \x01(\tH\x03\x88\x01\x01\"6\n\x0cRefundStatus\x12\x0b\n\x07PENDING\x10\x00\x12\r\n\tREQUESTED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x42\x11\n\x0f_failure_reasonB\x0b\n\t_order_idB\x14\n\x12_ext_pay_referenceB\x0f\n\r_ext_order_id\"\xb2\x01\n\x12VoidPaymentRequest\x12\x14\n\npayment_id\x18\x02 \x01(\tH\x00\x12\x1e\n\x11payment_reference\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x15\n\x08order_id\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x10\n\x08store_id\x18\x05 \x01(\tB\x05\n\x03idsB\x14\n\x12_payment_referenceB\x0b\n\t_order_idJ\x04\x08\x01\x10\x02R\rpsp_reference\"\xd2\x03\n\x13VoidPaymentResponse\x12\x15\n\rpsp_reference\x18\x01 \x01(\t\x12\x12\n\npayment_id\x18\x02 \x01(\t\x12G\n\x06status\x18\x03 \x01(\x0e\x32\x37.com.kodypay.grpc.pay.v1.VoidPaymentResponse.VoidStatus\x12M\n\tsale_data\x18\x04 \x01(\x0b\x32\x35.com.kodypay.grpc.pay.v1.VoidPaymentResponse.SaleDataH\x00\x88\x01\x01\x12/\n\x0b\x64\x61te_voided\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1aw\n\x08SaleData\x12\x14\n\x0ctotal_amount\x18\x01 \x01(\t\x12\x13\n\x0bsale_amount\x18\x02 \x01(\t\x12\x13\n\x0btips_amount\x18\x03 \x01(\t\x12\x10\n\x08order_id\x18\x04 \x01(\t\x12\x19\n\x11payment_reference\x18\x05 \x01(\t\"@\n\nVoidStatus\x12\x0b\n\x07PENDING\x10\x00\x12\r\n\tREQUESTED\x10\x01\x12\n\n\x06VOIDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x42\x0c\n\n_sale_data*8\n\x11PaymentMethodType\x12\x08\n\x04\x43\x41RD\x10\x00\x12\x0c\n\x08\x45_WALLET\x10\x01\x12\x0b\n\x07UNKNOWN\x10\x02*\x84\x01\n\rPaymentStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\r\n\tCANCELLED\x10\x03\x12\x0c\n\x08\x44\x45\x43LINED\x10\x04\x12\x16\n\x0eREFUND_PENDING\x10\x05\x1a\x02\x08\x01\x12\x18\n\x10REFUND_REQUESTED\x10\x06\x1a\x02\x08\x01\x32\xba\x05\n\x16KodyPayTerminalService\x12\x62\n\tTerminals\x12).com.kodypay.grpc.pay.v1.TerminalsRequest\x1a*.com.kodypay.grpc.pay.v1.TerminalsResponse\x12R\n\x03Pay\x12#.com.kodypay.grpc.pay.v1.PayRequest\x1a$.com.kodypay.grpc.pay.v1.PayResponse0\x01\x12Y\n\x06\x43\x61ncel\x12&.com.kodypay.grpc.pay.v1.CancelRequest\x1a\'.com.kodypay.grpc.pay.v1.CancelResponse\x12\x66\n\x0ePaymentDetails\x12..com.kodypay.grpc.pay.v1.PaymentDetailsRequest\x1a$.com.kodypay.grpc.pay.v1.PayResponse\x12[\n\x06Refund\x12&.com.kodypay.grpc.pay.v1.RefundRequest\x1a\'.com.kodypay.grpc.pay.v1.RefundResponse0\x01\x12\x61\n\x04Void\x12+.com.kodypay.grpc.pay.v1.VoidPaymentRequest\x1a,.com.kodypay.grpc.pay.v1.VoidPaymentResponse\x12\x65\n\nCloseBatch\x12*.com.kodypay.grpc.pay.v1.CloseBatchRequest\x1a+.com.kodypay.grpc.pay.v1.CloseBatchResponseB1\n\x17\x63om.kodypay.grpc.pay.v1B\x14KodyPayTerminalProtoP\x01\x62\x06proto3')
|
|
29
|
-
|
|
30
|
-
_globals = globals()
|
|
31
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'com.kodypay.grpc.pay.v1.pay_pb2', _globals)
|
|
33
|
-
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
-
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
-
_globals['DESCRIPTOR']._serialized_options = b'\n\027com.kodypay.grpc.pay.v1B\024KodyPayTerminalProtoP\001'
|
|
36
|
-
_globals['_PAYMENTSTATUS'].values_by_name["REFUND_PENDING"]._loaded_options = None
|
|
37
|
-
_globals['_PAYMENTSTATUS'].values_by_name["REFUND_PENDING"]._serialized_options = b'\010\001'
|
|
38
|
-
_globals['_PAYMENTSTATUS'].values_by_name["REFUND_REQUESTED"]._loaded_options = None
|
|
39
|
-
_globals['_PAYMENTSTATUS'].values_by_name["REFUND_REQUESTED"]._serialized_options = b'\010\001'
|
|
40
|
-
_globals['_PAYRESPONSE_PAYMENTDATA'].fields_by_name['refund_amount']._loaded_options = None
|
|
41
|
-
_globals['_PAYRESPONSE_PAYMENTDATA'].fields_by_name['refund_amount']._serialized_options = b'\030\001'
|
|
42
|
-
_globals['_PAYRESPONSE'].fields_by_name['receipt_json']._loaded_options = None
|
|
43
|
-
_globals['_PAYRESPONSE'].fields_by_name['receipt_json']._serialized_options = b'\030\001'
|
|
44
|
-
_globals['_PAYRESPONSE'].fields_by_name['psp_reference']._loaded_options = None
|
|
45
|
-
_globals['_PAYRESPONSE'].fields_by_name['psp_reference']._serialized_options = b'\030\001'
|
|
46
|
-
_globals['_PAYRESPONSE'].fields_by_name['date_paid']._loaded_options = None
|
|
47
|
-
_globals['_PAYRESPONSE'].fields_by_name['date_paid']._serialized_options = b'\030\001'
|
|
48
|
-
_globals['_PAYRESPONSE'].fields_by_name['total_amount']._loaded_options = None
|
|
49
|
-
_globals['_PAYRESPONSE'].fields_by_name['total_amount']._serialized_options = b'\030\001'
|
|
50
|
-
_globals['_PAYRESPONSE'].fields_by_name['sale_amount']._loaded_options = None
|
|
51
|
-
_globals['_PAYRESPONSE'].fields_by_name['sale_amount']._serialized_options = b'\030\001'
|
|
52
|
-
_globals['_PAYRESPONSE'].fields_by_name['tips_amount']._loaded_options = None
|
|
53
|
-
_globals['_PAYRESPONSE'].fields_by_name['tips_amount']._serialized_options = b'\030\001'
|
|
54
|
-
_globals['_PAYMENTMETHODTYPE']._serialized_start=5597
|
|
55
|
-
_globals['_PAYMENTMETHODTYPE']._serialized_end=5653
|
|
56
|
-
_globals['_PAYMENTSTATUS']._serialized_start=5656
|
|
57
|
-
_globals['_PAYMENTSTATUS']._serialized_end=5788
|
|
58
|
-
_globals['_CLOSEBATCHREQUEST']._serialized_start=95
|
|
59
|
-
_globals['_CLOSEBATCHREQUEST']._serialized_end=154
|
|
60
|
-
_globals['_CLOSEBATCHRESPONSE']._serialized_start=157
|
|
61
|
-
_globals['_CLOSEBATCHRESPONSE']._serialized_end=399
|
|
62
|
-
_globals['_CLOSEBATCHRESPONSE_CLOSEBATCHSTATUS']._serialized_start=334
|
|
63
|
-
_globals['_CLOSEBATCHRESPONSE_CLOSEBATCHSTATUS']._serialized_end=399
|
|
64
|
-
_globals['_CLOSEBATCHRESULT']._serialized_start=401
|
|
65
|
-
_globals['_CLOSEBATCHRESULT']._serialized_end=492
|
|
66
|
-
_globals['_TERMINALSREQUEST']._serialized_start=494
|
|
67
|
-
_globals['_TERMINALSREQUEST']._serialized_end=530
|
|
68
|
-
_globals['_TERMINALSRESPONSE']._serialized_start=532
|
|
69
|
-
_globals['_TERMINALSRESPONSE']._serialized_end=605
|
|
70
|
-
_globals['_TERMINAL']._serialized_start=607
|
|
71
|
-
_globals['_TERMINAL']._serialized_end=654
|
|
72
|
-
_globals['_PAYREQUEST']._serialized_start=657
|
|
73
|
-
_globals['_PAYREQUEST']._serialized_end=1284
|
|
74
|
-
_globals['_PAYREQUEST_PAYMENTMETHODS']._serialized_start=1006
|
|
75
|
-
_globals['_PAYREQUEST_PAYMENTMETHODS']._serialized_end=1179
|
|
76
|
-
_globals['_PAYMENTMETHOD']._serialized_start=1287
|
|
77
|
-
_globals['_PAYMENTMETHOD']._serialized_end=1478
|
|
78
|
-
_globals['_PAYRESPONSE']._serialized_start=1481
|
|
79
|
-
_globals['_PAYRESPONSE']._serialized_end=3784
|
|
80
|
-
_globals['_PAYRESPONSE_PAYMENTDATA']._serialized_start=2259
|
|
81
|
-
_globals['_PAYRESPONSE_PAYMENTDATA']._serialized_end=3243
|
|
82
|
-
_globals['_PAYRESPONSE_PAYMENTDATA_PAYMENTCARD']._serialized_start=2823
|
|
83
|
-
_globals['_PAYRESPONSE_PAYMENTDATA_PAYMENTCARD']._serialized_end=3094
|
|
84
|
-
_globals['_PAYRESPONSE_REFUNDDETAILS']._serialized_start=3246
|
|
85
|
-
_globals['_PAYRESPONSE_REFUNDDETAILS']._serialized_end=3542
|
|
86
|
-
_globals['_REFUND']._serialized_start=3786
|
|
87
|
-
_globals['_REFUND']._serialized_end=3891
|
|
88
|
-
_globals['_REFUND_STATUS']._serialized_start=3796
|
|
89
|
-
_globals['_REFUND_STATUS']._serialized_end=3891
|
|
90
|
-
_globals['_CANCELREQUEST']._serialized_start=3893
|
|
91
|
-
_globals['_CANCELREQUEST']._serialized_end=4003
|
|
92
|
-
_globals['_CANCELRESPONSE']._serialized_start=4005
|
|
93
|
-
_globals['_CANCELRESPONSE']._serialized_end=4077
|
|
94
|
-
_globals['_PAYMENTDETAILSREQUEST']._serialized_start=4079
|
|
95
|
-
_globals['_PAYMENTDETAILSREQUEST']._serialized_end=4138
|
|
96
|
-
_globals['_REFUNDREQUEST']._serialized_start=4141
|
|
97
|
-
_globals['_REFUNDREQUEST']._serialized_end=4402
|
|
98
|
-
_globals['_REFUNDRESPONSE']._serialized_start=4405
|
|
99
|
-
_globals['_REFUNDRESPONSE']._serialized_end=4945
|
|
100
|
-
_globals['_REFUNDRESPONSE_REFUNDSTATUS']._serialized_start=4820
|
|
101
|
-
_globals['_REFUNDRESPONSE_REFUNDSTATUS']._serialized_end=4874
|
|
102
|
-
_globals['_VOIDPAYMENTREQUEST']._serialized_start=4948
|
|
103
|
-
_globals['_VOIDPAYMENTREQUEST']._serialized_end=5126
|
|
104
|
-
_globals['_VOIDPAYMENTRESPONSE']._serialized_start=5129
|
|
105
|
-
_globals['_VOIDPAYMENTRESPONSE']._serialized_end=5595
|
|
106
|
-
_globals['_VOIDPAYMENTRESPONSE_SALEDATA']._serialized_start=5396
|
|
107
|
-
_globals['_VOIDPAYMENTRESPONSE_SALEDATA']._serialized_end=5515
|
|
108
|
-
_globals['_VOIDPAYMENTRESPONSE_VOIDSTATUS']._serialized_start=5517
|
|
109
|
-
_globals['_VOIDPAYMENTRESPONSE_VOIDSTATUS']._serialized_end=5581
|
|
110
|
-
_globals['_KODYPAYTERMINALSERVICE']._serialized_start=5791
|
|
111
|
-
_globals['_KODYPAYTERMINALSERVICE']._serialized_end=6489
|
|
112
|
-
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
-
# source: com/kodypay/grpc/pay/v1/token.proto
|
|
5
|
-
# Protobuf Python Version: 5.27.2
|
|
6
|
-
"""Generated protocol buffer code."""
|
|
7
|
-
from google.protobuf import descriptor as _descriptor
|
|
8
|
-
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
-
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
-
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
-
from google.protobuf.internal import builder as _builder
|
|
12
|
-
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
-
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
5,
|
|
15
|
-
27,
|
|
16
|
-
2,
|
|
17
|
-
'',
|
|
18
|
-
'com/kodypay/grpc/pay/v1/token.proto'
|
|
19
|
-
)
|
|
20
|
-
# @@protoc_insertion_point(imports)
|
|
21
|
-
|
|
22
|
-
_sym_db = _symbol_database.Default()
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
|
-
from kody_clientsdk_python.common import enums_pb2 as com_dot_kodypay_dot_grpc_dot_common_dot_enums__pb2
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#com/kodypay/grpc/pay/v1/token.proto\x12\x17\x63om.kodypay.grpc.pay.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a#com/kodypay/grpc/common/enums.proto\"\x86\x02\n\x16\x43reateCardTokenRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x13\n\x0bterminal_id\x18\x02 \x01(\t\x12\x18\n\x10idempotency_uuid\x18\x03 \x01(\t\x12\x17\n\x0ftoken_reference\x18\x04 \x01(\t\x12\x17\n\x0fpayer_reference\x18\x05 \x01(\t\x12Z\n\x1arecurring_processing_model\x18\x06 \x01(\x0e\x32\x31.com.kodypay.grpc.common.RecurringProcessingModelH\x00\x88\x01\x01\x42\x1d\n\x1b_recurring_processing_model\"9\n\x13GetCardTokenRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x10\n\x08token_id\x18\x02 \x01(\t\"\x9b\x05\n\x14TokenDetailsResponse\x12\x10\n\x08token_id\x18\x01 \x01(\t\x12\x17\n\x0ftoken_reference\x18\x02 \x01(\t\x12\x1a\n\rpayment_token\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x17\n\x0fpayer_reference\x18\x04 \x01(\t\x12Z\n\x1arecurring_processing_model\x18\x05 \x01(\x0e\x32\x31.com.kodypay.grpc.common.RecurringProcessingModelH\x01\x88\x01\x01\x12\x38\n\x06status\x18\x06 \x01(\x0e\x32(.com.kodypay.grpc.common.CardTokenStatus\x12\x33\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02\x88\x01\x01\x12N\n\tcard_info\x18\x08 \x01(\x0b\x32\x36.com.kodypay.grpc.pay.v1.TokenDetailsResponse.CardInfoH\x03\x88\x01\x01\x1a\xb9\x01\n\x08\x43\x61rdInfo\x12?\n\x0epayment_method\x18\x01 \x01(\x0e\x32\'.com.kodypay.grpc.common.PaymentMethods\x12\x1e\n\x16payment_method_variant\x18\x02 \x01(\t\x12\x1a\n\x12\x63\x61rd_last_4_digits\x18\x03 \x01(\t\x12\x18\n\x10\x63\x61rd_expiry_date\x18\x04 \x01(\t\x12\x16\n\x0epos_entry_mode\x18\x05 \x01(\tB\x10\n\x0e_payment_tokenB\x1d\n\x1b_recurring_processing_modelB\r\n\x0b_created_atB\x0c\n\n_card_info\"\xda\x03\n\x17PayWithCardTokenRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\x12\x10\n\x08\x63urrency\x18\x03 \x01(\t\x12\x15\n\rpayment_token\x18\x04 \x01(\t\x12\x13\n\x0b\x65xpiry_date\x18\x05 \x01(\t\x12\x18\n\x10idempotency_uuid\x18\x06 \x01(\t\x12\x1e\n\x11payment_reference\x18\x07 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08order_id\x18\x08 \x01(\tH\x01\x88\x01\x01\x12\x1f\n\x12merchant_reference\x18\t \x01(\tH\x02\x88\x01\x01\x12\x1c\n\x0fpayer_reference\x18\n \x01(\tH\x03\x88\x01\x01\x12P\n\x08metadata\x18\x0b \x03(\x0b\x32>.com.kodypay.grpc.pay.v1.PayWithCardTokenRequest.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x14\n\x12_payment_referenceB\x0b\n\t_order_idB\x15\n\x13_merchant_referenceB\x12\n\x10_payer_reference\"s\n\x16GetTokenPaymentRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x14\n\npayment_id\x18\x02 \x01(\tH\x00\x12\x1b\n\x11payment_reference\x18\x03 \x01(\tH\x00\x42\x14\n\x12payment_identifier\"\xef\x06\n\x14TokenPaymentResponse\x12\x12\n\npayment_id\x18\x01 \x01(\t\x12\x15\n\rpsp_reference\x18\x02 \x01(\t\x12S\n\x0epayment_status\x18\x03 \x01(\x0e\x32;.com.kodypay.grpc.pay.v1.TokenPaymentResponse.PaymentStatus\x12\x13\n\x06\x61mount\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08\x63urrency\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x1e\n\x11payment_reference\x18\x06 \x01(\tH\x02\x88\x01\x01\x12\x15\n\x08order_id\x18\x07 \x01(\tH\x03\x88\x01\x01\x12\x1f\n\x12merchant_reference\x18\x08 \x01(\tH\x04\x88\x01\x01\x12\x35\n\x0cpayment_date\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x05\x88\x01\x01\x12$\n\x17original_card_last_four\x18\n \x01(\tH\x06\x88\x01\x01\x12 \n\x13original_card_brand\x18\x0b \x01(\tH\x07\x88\x01\x01\x12\"\n\x15original_card_variant\x18\x0c \x01(\tH\x08\x88\x01\x01\x12\x16\n\tauth_code\x18\r \x01(\tH\t\x88\x01\x01\x12\x1b\n\x0e\x66\x61ilure_reason\x18\x0e \x01(\tH\n\x88\x01\x01\"\xa8\x01\n\rPaymentStatus\x12\x1e\n\x1aPAYMENT_STATUS_UNSPECIFIED\x10\x00\x12\x07\n\x03NEW\x10\x01\x12\x12\n\x0ePRE_AUTHORISED\x10\x02\x12\x0e\n\nAUTHORISED\x10\x03\x12\r\n\tCANCELLED\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\x0b\n\x07REFUSED\x10\x06\x12\x13\n\x0fPENDING_CAPTURE\x10\x07\x12\x0e\n\nCANCELLING\x10\x08\x42\t\n\x07_amountB\x0b\n\t_currencyB\x14\n\x12_payment_referenceB\x0b\n\t_order_idB\x15\n\x13_merchant_referenceB\x0f\n\r_payment_dateB\x1a\n\x18_original_card_last_fourB\x16\n\x14_original_card_brandB\x18\n\x16_original_card_variantB\x0c\n\n_auth_codeB\x11\n\x0f_failure_reason2\xe4\x03\n\x18KodyTerminalTokenService\x12s\n\x0f\x43reateCardToken\x12/.com.kodypay.grpc.pay.v1.CreateCardTokenRequest\x1a-.com.kodypay.grpc.pay.v1.TokenDetailsResponse0\x01\x12k\n\x0cGetCardToken\x12,.com.kodypay.grpc.pay.v1.GetCardTokenRequest\x1a-.com.kodypay.grpc.pay.v1.TokenDetailsResponse\x12s\n\x10PayWithCardToken\x12\x30.com.kodypay.grpc.pay.v1.PayWithCardTokenRequest\x1a-.com.kodypay.grpc.pay.v1.TokenPaymentResponse\x12q\n\x0fGetTokenPayment\x12/.com.kodypay.grpc.pay.v1.GetTokenPaymentRequest\x1a-.com.kodypay.grpc.pay.v1.TokenPaymentResponseB3\n\x17\x63om.kodypay.grpc.pay.v1B\x16KodyTerminalTokenProtoP\x01\x62\x06proto3')
|
|
30
|
-
|
|
31
|
-
_globals = globals()
|
|
32
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'com.kodypay.grpc.pay.v1.token_pb2', _globals)
|
|
34
|
-
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
-
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
-
_globals['DESCRIPTOR']._serialized_options = b'\n\027com.kodypay.grpc.pay.v1B\026KodyTerminalTokenProtoP\001'
|
|
37
|
-
_globals['_PAYWITHCARDTOKENREQUEST_METADATAENTRY']._loaded_options = None
|
|
38
|
-
_globals['_PAYWITHCARDTOKENREQUEST_METADATAENTRY']._serialized_options = b'8\001'
|
|
39
|
-
_globals['_CREATECARDTOKENREQUEST']._serialized_start=135
|
|
40
|
-
_globals['_CREATECARDTOKENREQUEST']._serialized_end=397
|
|
41
|
-
_globals['_GETCARDTOKENREQUEST']._serialized_start=399
|
|
42
|
-
_globals['_GETCARDTOKENREQUEST']._serialized_end=456
|
|
43
|
-
_globals['_TOKENDETAILSRESPONSE']._serialized_start=459
|
|
44
|
-
_globals['_TOKENDETAILSRESPONSE']._serialized_end=1126
|
|
45
|
-
_globals['_TOKENDETAILSRESPONSE_CARDINFO']._serialized_start=863
|
|
46
|
-
_globals['_TOKENDETAILSRESPONSE_CARDINFO']._serialized_end=1048
|
|
47
|
-
_globals['_PAYWITHCARDTOKENREQUEST']._serialized_start=1129
|
|
48
|
-
_globals['_PAYWITHCARDTOKENREQUEST']._serialized_end=1603
|
|
49
|
-
_globals['_PAYWITHCARDTOKENREQUEST_METADATAENTRY']._serialized_start=1478
|
|
50
|
-
_globals['_PAYWITHCARDTOKENREQUEST_METADATAENTRY']._serialized_end=1525
|
|
51
|
-
_globals['_GETTOKENPAYMENTREQUEST']._serialized_start=1605
|
|
52
|
-
_globals['_GETTOKENPAYMENTREQUEST']._serialized_end=1720
|
|
53
|
-
_globals['_TOKENPAYMENTRESPONSE']._serialized_start=1723
|
|
54
|
-
_globals['_TOKENPAYMENTRESPONSE']._serialized_end=2602
|
|
55
|
-
_globals['_TOKENPAYMENTRESPONSE_PAYMENTSTATUS']._serialized_start=2224
|
|
56
|
-
_globals['_TOKENPAYMENTRESPONSE_PAYMENTSTATUS']._serialized_end=2392
|
|
57
|
-
_globals['_KODYTERMINALTOKENSERVICE']._serialized_start=2605
|
|
58
|
-
_globals['_KODYTERMINALTOKENSERVICE']._serialized_end=3089
|
|
59
|
-
# @@protoc_insertion_point(module_scope)
|
|
File without changes
|
{kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/common/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/ecom/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/errors/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/pay/__init__.py
RENAMED
|
File without changes
|
{kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/pay/v1/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/pci/__init__.py
RENAMED
|
File without changes
|
{kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/pci/v1/__init__.py
RENAMED
|
File without changes
|
{kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/pci/v1/pci_pb2.py
RENAMED
|
File without changes
|
|
File without changes
|
{kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/poc/__init__.py
RENAMED
|
File without changes
|
{kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/poc/poc_pb2.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kody_clientsdk_python-1.8.7 → kody_clientsdk_python-1.8.9}/kody_clientsdk_python/utils/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|