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.

InvoiceLineItemConverter cannot deserialize invoice line items with type billing_line_items and billing provider: one_time #144

@vgupta

Description

@vgupta

After upgrading SDK from version 1.14.0 to 1.15.3, I am getting parsing exceptions for billing provider one_time.

Base Description: com.microsoft.store.partnercenter.exception.PartnerResponseParseException: Could not deserialize response. Detailed message: InvoiceLineItemConverter cannot deserialize invoice line items with type billing_line_items and billing provider: one_time (through reference chain: com.microsoft.store.partnercenter.models.ResourceCollection["items"]->java.util.ArrayList[0])

After debugging I found that BillingProvider.ONE_TIME.toString() is returning 'onetime' while it billingprovider value is one_time.

This is show stopper bug. Due to this, I am not able to process onetime invoices.

Check attached screenshot
error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions