Skip to content

Commit c354c3e

Browse files
committed
fix: add new fields to conversion method
1 parent 46a05ed commit c354c3e

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

openmeter/subscription/subscription.go

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,15 @@ func (s Subscription) AsEntityInput() CreateSubscriptionEntityInput {
3737
NamespacedModel: models.NamespacedModel{
3838
Namespace: s.Namespace,
3939
},
40-
Alignment: s.Alignment,
41-
MetadataModel: s.MetadataModel,
42-
Plan: s.PlanRef,
43-
Name: s.Name,
44-
Description: s.Description,
45-
CustomerId: s.CustomerId,
46-
Currency: s.Currency,
40+
Alignment: s.Alignment,
41+
MetadataModel: s.MetadataModel,
42+
Plan: s.PlanRef,
43+
Name: s.Name,
44+
Description: s.Description,
45+
CustomerId: s.CustomerId,
46+
Currency: s.Currency,
47+
BillingCadence: s.BillingCadence,
48+
ProRatingConfig: s.ProRatingConfig,
4749
}
4850
}
4951

0 commit comments

Comments
 (0)