Skip to content

Commit

Permalink
arpc and rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
rogelioLpz committed Apr 13, 2021
1 parent 8df8dd6 commit d8ffee0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
18 changes: 12 additions & 6 deletions cuenca/resources/arpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,25 @@ class ARPC(Creatable):
@classmethod
def create(
cls,
number: str,
arqc: str,
key_derivation_method: str,
arpc_method: str,
txn_data: str,
transaction_data: str,
response_code: str,
transaction_counter: str,
pan_sequence: str,
unique_number: str,
*,
session: Session = global_session,
**data,
) -> 'ARPC':
req = ARPCRequest(
number=number,
arqc=arqc,
key_derivation_method=key_derivation_method,
arpc_method=arpc_method,
txn_data=txn_data,
**data,
transaction_data=transaction_data,
response_code=response_code,
transaction_counter=transaction_counter,
pan_sequence=pan_sequence,
unique_number=unique_number,
)
return cast('ARPC', cls._create(session=session, **req.dict()))
2 changes: 1 addition & 1 deletion cuenca/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '0.7.4'
__version__ = '0.7.5.dev1'
CLIENT_VERSION = __version__
API_VERSION = '2020-03-19'
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
requests==2.25.1
cuenca-validations==0.9.2
cuenca-validations==0.9.3.dev1
dataclasses>=0.7;python_version<"3.7"

0 comments on commit d8ffee0

Please sign in to comment.