Skip to content

Commit

Permalink
[Billing] Modify Price for usage pricing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
that-guy-iain committed Aug 17, 2024
1 parent f78a616 commit 861b21b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@
<field name="externalReference" column="external_reference" type="string" nullable="true" />
<field name="paymentProviderDetailsUrl" column="payment_provider_details_url" type="string" nullable="true" />
<many-to-one field="product" target-entity="Parthenon\Billing\Entity\ProductInterface" />
<one-to-many field="tierComponents" target-entity="Parthenon\Billing\Entity\TierComponentInterface" mapped-by="price" />
<one-to-many field="tierComponents" target-entity="Parthenon\Billing\Entity\TierComponentInterface" mapped-by="price" orphan-removal="true">
<cascade>
<cascade-all />
</cascade>
</one-to-many>
<field name="createdAt" column="created_at" type="datetime" nullable="false" />
<field name="deletedAt" column="deleted_at" type="datetime" nullable="true" />
</mapped-superclass>
Expand Down

0 comments on commit 861b21b

Please sign in to comment.