Click or drag to resize

SubscriptionHelperGetLatestSubscriptionForCustomerWithSameFriendlyId Method

Get the latest subscription which has the same friendly ID and customer as the passed subscription

Namespace:  Atomia.Billing.Core.Sdk.BusinessLogic
Assembly:  Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax
public static Subscription GetLatestSubscriptionForCustomerWithSameFriendlyId(
	Subscription subscription,
	Guid languageId
)

Parameters

subscription
Type: Atomia.Billing.Core.Sdk.BusinessObjectsSubscription
The subscription to fetch renewed subscription for
languageId
Type: SystemGuid
The language id to use with GetSubscriptionById

Return Value

Type: Subscription
The ID of the subscription found, or null if none
See Also