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
)
Public Shared Function GetLatestSubscriptionForCustomerWithSameFriendlyId (
subscription As Subscription,
languageId As Guid
) As Subscription
public:
static Subscription^ GetLatestSubscriptionForCustomerWithSameFriendlyId(
Subscription^ subscription,
Guid languageId
)
static member GetLatestSubscriptionForCustomerWithSameFriendlyId :
subscription : Subscription *
languageId : Guid -> Subscription
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:
SubscriptionThe ID of the subscription found, or null if none
See Also