Skip to content

Add missing billing and shipping entities to payment resource - #11

Merged
Dixeat merged 3 commits into
masterfrom
add-billing-shipping
Oct 1, 2020
Merged

Add missing billing and shipping entities to payment resource#11
Dixeat merged 3 commits into
masterfrom
add-billing-shipping

Conversation

@calops

@calops calops commented Sep 29, 2020

Copy link
Copy Markdown
Contributor

This was missing from the previous update that added support for the latest version of our API.

With this PR, the Payment resource can handle both old-school Customer, or Billing and Shipping, depending on the answer from the API. It is however up to the user to know which one of those they need to use, depending on the version of the API they specified. It would be nice someday to fully type the interface into our python classes.

@calops
calops requested a review from Plastocman September 29, 2020 17:49
@Dixeat

Dixeat commented Sep 30, 2020

Copy link
Copy Markdown
Contributor

Thank's, could you just update the Readme to replace Customer by Shipping and Billing Plz.

@Dixeat
Dixeat merged commit 9df15c5 into master Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants