Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Invoice-BillingProvider has wrong Enum value #47

@Viotcy

Description

@Viotcy

Steps to reproduce

Calling partnerOperations.getInvoices().get() occurs error , because data can't deserialize.

Original data : "billingProvider": "one_time" and BillingProvider's value are not consistent.

  /**
  * Bill is provided for one time purchases.
  */
  ONE_TIME("oneTime")

Expected behavior

Get all invoices' detail data

Actual behavior

Could not deserialize response. Detailed message: Cannot deserialize value of type
com.microsoft.store.partnercenter.models.invoices.BillingProvider from String "one_time":
value not one of declared Enum instance names: [all, oneTime, none, marketplace, office, azure]

Environment

Partner-Center 1.13.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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