Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing promotionalCredit package in v3.16.1 #42

Open
EdisShabi opened this issue Apr 9, 2024 · 1 comment
Open

Missing promotionalCredit package in v3.16.1 #42

EdisShabi opened this issue Apr 9, 2024 · 1 comment

Comments

@EdisShabi
Copy link

Description of the Bug

I encountered an issue while using the github.com/chargebee/chargebee-go/v3 module. It seems that the promotionalCredit package is missing in version 3.16.1.
Refer: https://apidocs.chargebee.com/docs/api/v1/customers?lang=go#add_account_credits_to_a_customer

Steps to reproduce

  1. Attempt to import github.com/chargebee/chargebee-go/v3/models/promotionalCredit.
  2. Observe the error indicating that the package cannot be found.

Expected Behavior

I got it to work only after I downloaded the chargebee library and noticed that 'promotionalCredit' is actually be written as 'promotionalcredit'.

Code Snippets (if applicable)

No response

Operating System

macOS

Language version

GO 1.21.1

Library version

3.16.1

Additional context

No response

Copy link

github-actions bot commented Apr 9, 2024

Hello @EdisShabi, thank you for raising the issue. Your contribution is greatly appreciated and we look forward to addressing it.

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

No branches or pull requests

1 participant