Skip to content

No Enums in Resource sub-types ? #96

Description

@ychedemois

What problem does your feature request address?

It seems a couple properties (mostly in sub-entities ?) were not converted to Enums :
$subscrption->contract_term->action_at_term_end
$subscrption->subscription_items[N]->item_type
$subscrption->subscription_items[N]->billing_period_unit
$invoice->line_items[N]->entity_type
$invoice->linked_payments[N]->status

I didn't check all other sub-types in detail, but it seems only Resources 1st level properties have been converted to Enums

That's a bit unfortunate, but I'm not sure of the best approach about this, though, since converting them to Enum now would be a BC break 🤔

Describe the desired solution

No response

Alternatives considered

No response

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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