Skip to content

Missing promotionalCredit package in v3.16.1 #42

@EdisShabi

Description

@EdisShabi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions