# Migration v11

Contains 1 breaking change of the SDK interface.

## Changes

- [Offer Model formatPricing Trial Changes](#offer-model-formatpricing-trial-changes)

### Offer Model formatPricing Trial Changes

- `subscriptionName` of `Trial` will no longer exist in favour of the standard `Monthly`, `Quarterly` and `Annual` names
- `subscriptionCode` will no longer be overwritten to be the `paymentDue.after` property for trials
- A new property `subscriptionPaymentDue` will be populated to contain the `paymentDue.after` property for trials

```patch
- const trialDuration = moment.duration(charge.subscriptionCode);
+ const trialDuration = moment.duration(charge.subscriptionPaymentDue);

- const isTrialCharge = charge.name === 'Trial';
+ const isTrialCharge = offer.isTrial(); // If the offer is a trial all charges will be trial charges
```
