Skip to content

Add external_sku to Adjustment#348

Merged
bhelx merged 1 commit into
v2from
dx-994-external-sku
Feb 5, 2020
Merged

Add external_sku to Adjustment#348
bhelx merged 1 commit into
v2from
dx-994-external-sku

Conversation

@joannasese

@joannasese joannasese commented Feb 5, 2020

Copy link
Copy Markdown
Contributor

To fetch external_sku:

charge = recurly.Adjustment(
  unit_amount_in_cents=5000,
  currency='USD',
  item_code='cardigan_bushwick',
)
account.charge(charge)

for adjustment in account.adjustments():
    print('Adjustment: %s' % adjustment.external_sku)

@joannasese joannasese added the V2 V2 Client label Feb 5, 2020
@joannasese joannasese marked this pull request as ready for review February 5, 2020 18:19
@joannasese joannasese requested a review from bhelx February 5, 2020 18:19

@bhelx bhelx left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@bhelx bhelx merged commit 6f731b4 into v2 Feb 5, 2020
@bhelx bhelx deleted the dx-994-external-sku branch February 5, 2020 19:57
@joannasese joannasese mentioned this pull request Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

V2 V2 Client

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants