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

Add dependency reservation_price fields mutually exclusive #125

Merged
merged 1 commit into from
May 27, 2024

Conversation

richfab
Copy link
Contributor

@richfab richfab commented May 27, 2024

Context

v3.1-RC adds plans[].reservation_price_per_min and plans[].reservation_price_flat_rate.

The says that the two fields are mutually exclusive (source):

This field MUST NOT be combined in a single pricing plan with reservation_price_per_min.

What's Changed

A dependency was added to make plans[].reservation_price_per_min and plans[].reservation_price_flat_rate mutually exclusive.

This means that either reservation_price_flat_rate OR reservation_price_per_min is present in the same pricing plan but not both of them together.

Copy link
Contributor

@Alessandro100 Alessandro100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@richfab richfab merged commit e050d59 into master May 27, 2024
1 check passed
@richfab richfab deleted the feat/add-dependency-to-v3.1-RC branch May 27, 2024 12:29
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

Successfully merging this pull request may close these issues.

3 participants