Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GiftCardActivity"/> class.
 /// </summary>
 /// <param name="type">type.</param>
 /// <param name="locationId">location_id.</param>
 /// <param name="id">id.</param>
 /// <param name="createdAt">created_at.</param>
 /// <param name="giftCardId">gift_card_id.</param>
 /// <param name="giftCardGan">gift_card_gan.</param>
 /// <param name="giftCardBalanceMoney">gift_card_balance_money.</param>
 /// <param name="loadActivityDetails">load_activity_details.</param>
 /// <param name="activateActivityDetails">activate_activity_details.</param>
 /// <param name="redeemActivityDetails">redeem_activity_details.</param>
 /// <param name="clearBalanceActivityDetails">clear_balance_activity_details.</param>
 /// <param name="deactivateActivityDetails">deactivate_activity_details.</param>
 /// <param name="adjustIncrementActivityDetails">adjust_increment_activity_details.</param>
 /// <param name="adjustDecrementActivityDetails">adjust_decrement_activity_details.</param>
 /// <param name="refundActivityDetails">refund_activity_details.</param>
 /// <param name="unlinkedActivityRefundActivityDetails">unlinked_activity_refund_activity_details.</param>
 /// <param name="importActivityDetails">import_activity_details.</param>
 /// <param name="blockActivityDetails">block_activity_details.</param>
 /// <param name="unblockActivityDetails">unblock_activity_details.</param>
 /// <param name="importReversalActivityDetails">import_reversal_activity_details.</param>
 public GiftCardActivity(
     string type,
     string locationId,
     string id          = null,
     string createdAt   = null,
     string giftCardId  = null,
     string giftCardGan = null,
     Models.Money giftCardBalanceMoney = null,
     Models.GiftCardActivityLoad loadActivityDetails                       = null,
     Models.GiftCardActivityActivate activateActivityDetails               = null,
     Models.GiftCardActivityRedeem redeemActivityDetails                   = null,
     Models.GiftCardActivityClearBalance clearBalanceActivityDetails       = null,
     Models.GiftCardActivityDeactivate deactivateActivityDetails           = null,
     Models.GiftCardActivityAdjustIncrement adjustIncrementActivityDetails = null,
     Models.GiftCardActivityAdjustDecrement adjustDecrementActivityDetails = null,
     Models.GiftCardActivityRefund refundActivityDetails                   = null,
     Models.GiftCardActivityUnlinkedActivityRefund unlinkedActivityRefundActivityDetails = null,
     Models.GiftCardActivityImport importActivityDetails   = null,
     Models.GiftCardActivityBlock blockActivityDetails     = null,
     Models.GiftCardActivityUnblock unblockActivityDetails = null,
     Models.GiftCardActivityImportReversal importReversalActivityDetails = null)
 {
     this.Id                                    = id;
     this.Type                                  = type;
     this.LocationId                            = locationId;
     this.CreatedAt                             = createdAt;
     this.GiftCardId                            = giftCardId;
     this.GiftCardGan                           = giftCardGan;
     this.GiftCardBalanceMoney                  = giftCardBalanceMoney;
     this.LoadActivityDetails                   = loadActivityDetails;
     this.ActivateActivityDetails               = activateActivityDetails;
     this.RedeemActivityDetails                 = redeemActivityDetails;
     this.ClearBalanceActivityDetails           = clearBalanceActivityDetails;
     this.DeactivateActivityDetails             = deactivateActivityDetails;
     this.AdjustIncrementActivityDetails        = adjustIncrementActivityDetails;
     this.AdjustDecrementActivityDetails        = adjustDecrementActivityDetails;
     this.RefundActivityDetails                 = refundActivityDetails;
     this.UnlinkedActivityRefundActivityDetails = unlinkedActivityRefundActivityDetails;
     this.ImportActivityDetails                 = importActivityDetails;
     this.BlockActivityDetails                  = blockActivityDetails;
     this.UnblockActivityDetails                = unblockActivityDetails;
     this.ImportReversalActivityDetails         = importReversalActivityDetails;
 }
Пример #2
0
 /// <summary>
 /// UnlinkedActivityRefundActivityDetails.
 /// </summary>
 /// <param name="unlinkedActivityRefundActivityDetails"> unlinkedActivityRefundActivityDetails. </param>
 /// <returns> Builder. </returns>
 public Builder UnlinkedActivityRefundActivityDetails(Models.GiftCardActivityUnlinkedActivityRefund unlinkedActivityRefundActivityDetails)
 {
     this.unlinkedActivityRefundActivityDetails = unlinkedActivityRefundActivityDetails;
     return(this);
 }