Skip to content

Commit 2c5d395

Browse files
author
Aman Aalam
authored
Merge pull request #10 from PaymentRails/analytics-and-rebranding
feat:Analytics and rebranding
2 parents 6df6b82 + 54d6198 commit 2c5d395

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+138
-103
lines changed

ACKNOWLEDGEMENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Acknowledgements
22
----------------
33

4-
The PaymentRails SDK uses code from the following libraries:
4+
The Trolley SDK uses code from the following libraries:
55

66
* [Nose](https://github.com/nose-devs/nose)
77
* [Braintree](https://github.com/braintree/braintree_python), MIT License

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2017 Payment Rails, Inc.
1+
Copyright (c) 2017 Trolley, Inc.
22

33
Permission is hereby granted, free of charge, to any person
44
obtaining a copy of this software and associated documentation

README.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[![Latest Stable Version](https://img.shields.io/pypi/v/paymentrails.svg)](https://pypi.python.org/pypi/paymentrails)
22

33

4-
# Payment Rails[^1] Python SDK
4+
# Trolley Python SDK (Previously Payment Rails[^1])
55

6-
A native Python SDK for the Payment Rails API
6+
A native Python SDK for the Trolley API
77

8-
[^1]: [Payment Rails is now Trolley](https://www.trolley.com/payment-rails-is-now-trolley-series-a), we'll be updating our SDKs to support the new domain during the first half of 2022.
8+
[^1]: [Payment Rails is now Trolley](https://www.trolley.com/payment-rails-is-now-trolley-series-a). We're in the process of updating our SDKs to support the new domain. In this transition phase, you might still see "PaymentRails" at some places.
99

1010
## Installation
1111

@@ -20,6 +20,17 @@ A native Python SDK for the Payment Rails API
2020

2121
* Python
2222
* [requests](http://docs.python-requests.org/en/latest/)
23+
* [Mock](https://pypi.org/project/mock/) - For unit tests
24+
25+
## Running Tests
26+
27+
```
28+
// unit tests
29+
$ python -m unittest test/unit/testBalances.py
30+
31+
//integration tests
32+
$ python test/integration/RecipientTest.py
33+
```
2334

2435
## Getting Started
2536

@@ -37,14 +48,14 @@ print(response.id)
3748

3849
## Documentation for API Endpoints
3950

40-
All URIs are available at http://docs.paymentrails.com/
51+
All URIs are available at https://docs.trolley.com/
4152

42-
All URIs are relative to *https://api.paymentrails.com/v1*
53+
All URIs are relative to *https://api.trolley.com/v1*
4354

4455

4556
### Usage
4657

47-
Methods should all have Python Doc comments to help you understand their usage. As mentioned the [full API documentation](http://docs.paymentrails.com)
58+
Methods should all have Python Doc comments to help you understand their usage. As mentioned the [full API documentation](https://docs.trolley.com)
4859
is the best source of information about the API.
4960

5061
For more information please read the [Python API docs](https://github.com/PaymentRails/python-sdk/tree/master/docs/) is available. The best starting point is:

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22

33

4-
# Payment Rails Python SDK
4+
# Trolley Python SDK
55

66
## Index
77

@@ -33,7 +33,7 @@
3333
---
3434

3535

36-
Create a client for the Payment Rails Python API
36+
Create a client for the Trolley Python API
3737

3838

3939
client = Configuration.gateway("YOUR-PUBLIC-API","YOUR-PRIVATE-API","production")

docs/classes/balancesgateway.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[Payment Rails Python SDK](../README.md) > [balances_gateway](../classes/balances_gateway.md)
1+
[Trolley Python SDK](../README.md) > [balances_gateway](../classes/balances_gateway.md)
22

33

44

docs/classes/batchgateway.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[Payment Rails Python SDK](../README.md) > [batchgateway](../classes/batchgateway.md)
1+
[Trolley Python SDK](../README.md) > [batchgateway](../classes/batchgateway.md)
22

33

44

@@ -94,7 +94,7 @@ Retrieves a batch based on the batch id
9494

9595
| Param | Type | Description |
9696
| ------ | ------ | ------ |
97-
| batchId | `string` | Payment Rails batch id (e.g. "B-xx999bb") |
97+
| batchId | `string` | Trolley batch id (e.g. "B-xx999bb") |
9898

9999

100100

@@ -127,7 +127,7 @@ Generate a FX quote for this batch
127127

128128
| Param | Type | Description |
129129
| ------ | ------ | ------ |
130-
| batchId | `string` | Payment Rails payment id (e.g. "B-xx999bb") |
130+
| batchId | `string` | Trolley payment id (e.g. "B-xx999bb") |
131131

132132

133133

@@ -158,8 +158,8 @@ Delete the given batch
158158

159159
| Param | Type | Description |
160160
| ------ | ------ | ------ |
161-
| batchId | `string` | Payment Rails batch (e.g. "B-xx999bb") |
162-
| batch | `Batch` | Payment Rails batch |
161+
| batchId | `string` | Trolley batch (e.g. "B-xx999bb") |
162+
| batch | `Batch` | Trolley batch |
163163

164164

165165

@@ -226,7 +226,7 @@ Start processing this batch
226226

227227
| Param | Type | Description |
228228
| ------ | ------ | ------ |
229-
| batchId | `string` | Payment Rails batch id (e.g. "B-xx999bb") |
229+
| batchId | `string` | Trolley batch id (e.g. "B-xx999bb") |
230230

231231

232232

@@ -259,7 +259,7 @@ Get a transaction totaled summary for this batch
259259

260260
| Param | Type | Description |
261261
| ------ | ------ | ------ |
262-
| batchId | `string` | Payment Rails payment id (e.g. "B-xx999bb") |
262+
| batchId | `string` | Trolley payment id (e.g. "B-xx999bb") |
263263

264264

265265

docs/classes/configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[Payment Rails Python SDK](../README.md) > [Configuration](../classes/configuration.md)
1+
[Trolley Python SDK](../README.md) > [Configuration](../classes/configuration.md)
22

33

44

@@ -70,7 +70,7 @@ ___
7070

7171

7272

73-
Set the Payment Rails API environment that your using
73+
Set the Trolley API environment that your using
7474

7575

7676
**Parameters:**

docs/classes/exceptions.authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[Payment Rails Python SDK](../README.md) > [Exceptions](../packages/exceptions.md) > [Authentication](../classes/exceptions.authentication.md)
1+
[Trolley Python SDK](../README.md) > [Exceptions](../packages/exceptions.md) > [Authentication](../classes/exceptions.authentication.md)
22

33

44

docs/classes/exceptions.authorization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[Payment Rails Python SDK](../README.md) > [Exceptions](../packages/exceptions.md) > [Authorization](../classes/exceptions.authorization.md)
1+
[Trolley Python SDK](../README.md) > [Exceptions](../packages/exceptions.md) > [Authorization](../classes/exceptions.authorization.md)
22

33

44

docs/classes/exceptions.baseexception.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[Payment Rails Python SDK](../README.md) > [Exceptions](../modules/exceptions.md) > [BaseException](../classes/exceptions.baseexception.md)
1+
[Trolley Python SDK](../README.md) > [Exceptions](../modules/exceptions.md) > [BaseException](../classes/exceptions.baseexception.md)
22

33

44

0 commit comments

Comments
 (0)