@@ -59,13 +59,14 @@ public AccountBillingPlan()
5959 /// <param name="PlanId">PlanId.</param>
6060 /// <param name="PlanName">The name of the Billing Plan..</param>
6161 /// <param name="PlanStartDate">PlanStartDate.</param>
62+ /// <param name="ProductId">ProductId.</param>
6263 /// <param name="RenewalDate">RenewalDate.</param>
6364 /// <param name="RenewalStatus">The renewal status for the account. The acceptable values are: * auto: The account automatically renews. * queued_for_close: Account will be closed at the billingPeriodEndDate. * queued_for_downgrade: Account will be downgraded at the billingPeriodEndDate..</param>
6465 /// <param name="SeatDiscounts"> A complex type that contains any seat discount information. Values are: BeginSeatCount, EndSeatCount, and SeatDiscountPercent. .</param>
6566 /// <param name="SubscriptionStartDate">SubscriptionStartDate.</param>
6667 /// <param name="SupportIncidentFee">The support incident fee charged for each support incident..</param>
6768 /// <param name="SupportPlanFee">The support plan fee charged for this plan..</param>
68- public AccountBillingPlan ( List < AddOn > AddOns = default ( List < AddOn > ) , string AppStoreReceiptExpirationDate = default ( string ) , string AppStoreReceiptPurchaseDate = default ( string ) , string CanCancelRenewal = default ( string ) , string CanUpgrade = default ( string ) , string CurrencyCode = default ( string ) , DowngradePlanUpdateResponse DowngradePlanInformation = default ( DowngradePlanUpdateResponse ) , string EnableSupport = default ( string ) , string IncludedSeats = default ( string ) , string IncrementalSeats = default ( string ) , string IsDowngrade = default ( string ) , string NotificationType = default ( string ) , string OtherDiscountPercent = default ( string ) , string PaymentCycle = default ( string ) , string PaymentMethod = default ( string ) , string PerSeatPrice = default ( string ) , string PlanClassification = default ( string ) , List < FeatureSet > PlanFeatureSets = default ( List < FeatureSet > ) , string PlanId = default ( string ) , string PlanName = default ( string ) , string PlanStartDate = default ( string ) , string RenewalDate = default ( string ) , string RenewalStatus = default ( string ) , List < SeatDiscount > SeatDiscounts = default ( List < SeatDiscount > ) , string SubscriptionStartDate = default ( string ) , string SupportIncidentFee = default ( string ) , string SupportPlanFee = default ( string ) )
69+ public AccountBillingPlan ( List < AddOn > AddOns = default ( List < AddOn > ) , string AppStoreReceiptExpirationDate = default ( string ) , string AppStoreReceiptPurchaseDate = default ( string ) , string CanCancelRenewal = default ( string ) , string CanUpgrade = default ( string ) , string CurrencyCode = default ( string ) , DowngradePlanUpdateResponse DowngradePlanInformation = default ( DowngradePlanUpdateResponse ) , string EnableSupport = default ( string ) , string IncludedSeats = default ( string ) , string IncrementalSeats = default ( string ) , string IsDowngrade = default ( string ) , string NotificationType = default ( string ) , string OtherDiscountPercent = default ( string ) , string PaymentCycle = default ( string ) , string PaymentMethod = default ( string ) , string PerSeatPrice = default ( string ) , string PlanClassification = default ( string ) , List < FeatureSet > PlanFeatureSets = default ( List < FeatureSet > ) , string PlanId = default ( string ) , string PlanName = default ( string ) , string PlanStartDate = default ( string ) , string ProductId = default ( string ) , string RenewalDate = default ( string ) , string RenewalStatus = default ( string ) , List < SeatDiscount > SeatDiscounts = default ( List < SeatDiscount > ) , string SubscriptionStartDate = default ( string ) , string SupportIncidentFee = default ( string ) , string SupportPlanFee = default ( string ) )
6970 {
7071 this . AddOns = AddOns ;
7172 this . AppStoreReceiptExpirationDate = AppStoreReceiptExpirationDate ;
@@ -88,6 +89,7 @@ public AccountBillingPlan()
8889 this . PlanId = PlanId ;
8990 this . PlanName = PlanName ;
9091 this . PlanStartDate = PlanStartDate ;
92+ this . ProductId = ProductId ;
9193 this . RenewalDate = RenewalDate ;
9294 this . RenewalStatus = RenewalStatus ;
9395 this . SeatDiscounts = SeatDiscounts ;
@@ -214,6 +216,11 @@ public AccountBillingPlan()
214216 [ DataMember ( Name = "planStartDate" , EmitDefaultValue = false ) ]
215217 public string PlanStartDate { get ; set ; }
216218 /// <summary>
219+ /// Gets or Sets ProductId
220+ /// </summary>
221+ [ DataMember ( Name = "productId" , EmitDefaultValue = false ) ]
222+ public string ProductId { get ; set ; }
223+ /// <summary>
217224 /// Gets or Sets RenewalDate
218225 /// </summary>
219226 [ DataMember ( Name = "renewalDate" , EmitDefaultValue = false ) ]
@@ -276,6 +283,7 @@ public override string ToString()
276283 sb . Append ( " PlanId: " ) . Append ( PlanId ) . Append ( "\n " ) ;
277284 sb . Append ( " PlanName: " ) . Append ( PlanName ) . Append ( "\n " ) ;
278285 sb . Append ( " PlanStartDate: " ) . Append ( PlanStartDate ) . Append ( "\n " ) ;
286+ sb . Append ( " ProductId: " ) . Append ( ProductId ) . Append ( "\n " ) ;
279287 sb . Append ( " RenewalDate: " ) . Append ( RenewalDate ) . Append ( "\n " ) ;
280288 sb . Append ( " RenewalStatus: " ) . Append ( RenewalStatus ) . Append ( "\n " ) ;
281289 sb . Append ( " SeatDiscounts: " ) . Append ( SeatDiscounts ) . Append ( "\n " ) ;
@@ -423,6 +431,11 @@ public bool Equals(AccountBillingPlan other)
423431 this . PlanStartDate != null &&
424432 this . PlanStartDate . Equals ( other . PlanStartDate )
425433 ) &&
434+ (
435+ this . ProductId == other . ProductId ||
436+ this . ProductId != null &&
437+ this . ProductId . Equals ( other . ProductId )
438+ ) &&
426439 (
427440 this . RenewalDate == other . RenewalDate ||
428441 this . RenewalDate != null &&
@@ -508,6 +521,8 @@ public override int GetHashCode()
508521 hash = hash * 59 + this . PlanName . GetHashCode ( ) ;
509522 if ( this . PlanStartDate != null )
510523 hash = hash * 59 + this . PlanStartDate . GetHashCode ( ) ;
524+ if ( this . ProductId != null )
525+ hash = hash * 59 + this . ProductId . GetHashCode ( ) ;
511526 if ( this . RenewalDate != null )
512527 hash = hash * 59 + this . RenewalDate . GetHashCode ( ) ;
513528 if ( this . RenewalStatus != null )
0 commit comments