public void MergeFrom(CardCaptureReportingSvcGetOpenClosedTransactionsRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.cardMerchant_ != null)
     {
         if (cardMerchant_ == null)
         {
             cardMerchant_ = new global::HOLMS.Types.Money.Cards.CardMerchantIndicator();
         }
         CardMerchant.MergeFrom(other.CardMerchant);
     }
     if (other.CardNumber.Length != 0)
     {
         CardNumber = other.CardNumber;
     }
     if (other.searchRange_ != null)
     {
         if (searchRange_ == null)
         {
             searchRange_ = new global::HOLMS.Types.Primitive.PbInterval();
         }
         SearchRange.MergeFrom(other.SearchRange);
     }
 }
Пример #2
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (merchant_ == null)
                    {
                        merchant_ = new global::HOLMS.Types.Money.Cards.CardMerchantIndicator();
                    }
                    input.ReadMessage(merchant_);
                    break;
                }

                case 18: {
                    if (batchClosureDateRange_ == null)
                    {
                        batchClosureDateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveCalendarDateRange();
                    }
                    input.ReadMessage(batchClosureDateRange_);
                    break;
                }
                }
            }
        }
Пример #3
0
 public void MergeFrom(PaymentCardRefund other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Money.Cards.Transactions.PaymentCardRefundIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.merchantId_ != null)
     {
         if (merchantId_ == null)
         {
             merchantId_ = new global::HOLMS.Types.Money.Cards.CardMerchantIndicator();
         }
         MerchantId.MergeFrom(other.MerchantId);
     }
     if (other.refundedAmount_ != null)
     {
         if (refundedAmount_ == null)
         {
             refundedAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         RefundedAmount.MergeFrom(other.RefundedAmount);
     }
     if (other.HostReferenceNumber.Length != 0)
     {
         HostReferenceNumber = other.HostReferenceNumber;
     }
     if (other.FolioBookingNumber.Length != 0)
     {
         FolioBookingNumber = other.FolioBookingNumber;
     }
     if (other.paymentCard_ != null)
     {
         if (paymentCard_ == null)
         {
             paymentCard_ = new global::HOLMS.Types.Money.Cards.GuestPaymentCard();
         }
         PaymentCard.MergeFrom(other.PaymentCard);
     }
     if (other.postedAt_ != null)
     {
         if (postedAt_ == null)
         {
             postedAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         PostedAt.MergeFrom(other.PostedAt);
     }
     if (other.State != 0)
     {
         State = other.State;
     }
 }
Пример #4
0
 public void MergeFrom(ClosedMerchantBatch other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Money.Cards.Transactions.ClosedMerchantBatchIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.merchantId_ != null)
     {
         if (merchantId_ == null)
         {
             merchantId_ = new global::HOLMS.Types.Money.Cards.CardMerchantIndicator();
         }
         MerchantId.MergeFrom(other.MerchantId);
     }
     if (other.MerchantName.Length != 0)
     {
         MerchantName = other.MerchantName;
     }
     if (other.Result != 0)
     {
         Result = other.Result;
     }
     if (other.ProcessorBatchId != 0)
     {
         ProcessorBatchId = other.ProcessorBatchId;
     }
     if (other.TransactionCount != 0)
     {
         TransactionCount = other.TransactionCount;
     }
     if (other.totalAmount_ != null)
     {
         if (totalAmount_ == null)
         {
             totalAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         TotalAmount.MergeFrom(other.TotalAmount);
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             createdAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     captures_.Add(other.captures_);
     refunds_.Add(other.refunds_);
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (entityId_ == null)
                    {
                        entityId_ = new global::HOLMS.Types.Money.Cards.CardTerminalIndicator();
                    }
                    input.ReadMessage(entityId_);
                    break;
                }

                case 18: {
                    if (merchantId_ == null)
                    {
                        merchantId_ = new global::HOLMS.Types.Money.Cards.CardMerchantIndicator();
                    }
                    input.ReadMessage(merchantId_);
                    break;
                }

                case 26: {
                    if (stationId_ == null)
                    {
                        stationId_ = new global::HOLMS.Types.IAM.ClientInstance();
                    }
                    input.ReadMessage(stationId_);
                    break;
                }

                case 34: {
                    Name = input.ReadString();
                    break;
                }

                case 42: {
                    IpAddress = input.ReadString();
                    break;
                }

                case 48: {
                    Port = input.ReadInt32();
                    break;
                }
                }
            }
        }
 public void MergeFrom(CardCaptureReportingSvcGetPendingTransactionsRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.cardMerchant_ != null)
     {
         if (cardMerchant_ == null)
         {
             cardMerchant_ = new global::HOLMS.Types.Money.Cards.CardMerchantIndicator();
         }
         CardMerchant.MergeFrom(other.CardMerchant);
     }
 }
 public void MergeFrom(CardTerminal other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Money.Cards.CardTerminalIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.merchantId_ != null)
     {
         if (merchantId_ == null)
         {
             merchantId_ = new global::HOLMS.Types.Money.Cards.CardMerchantIndicator();
         }
         MerchantId.MergeFrom(other.MerchantId);
     }
     if (other.stationId_ != null)
     {
         if (stationId_ == null)
         {
             stationId_ = new global::HOLMS.Types.IAM.ClientInstance();
         }
         StationId.MergeFrom(other.StationId);
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.IpAddress.Length != 0)
     {
         IpAddress = other.IpAddress;
     }
     if (other.Port != 0)
     {
         Port = other.Port;
     }
 }
 public void MergeFrom(CardCaptureReportSvcGetSettledTransactionsRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.cardMerchant_ != null)
     {
         if (cardMerchant_ == null)
         {
             cardMerchant_ = new global::HOLMS.Types.Money.Cards.CardMerchantIndicator();
         }
         CardMerchant.MergeFrom(other.CardMerchant);
     }
     if (other.dateRange_ != null)
     {
         if (dateRange_ == null)
         {
             dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveCalendarDateRange();
         }
         DateRange.MergeFrom(other.DateRange);
     }
 }
Пример #9
0
 public void MergeFrom(CardProcessingSvcSearchHistoricalBatchesRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.merchant_ != null)
     {
         if (merchant_ == null)
         {
             merchant_ = new global::HOLMS.Types.Money.Cards.CardMerchantIndicator();
         }
         Merchant.MergeFrom(other.Merchant);
     }
     if (other.batchClosureDateRange_ != null)
     {
         if (batchClosureDateRange_ == null)
         {
             batchClosureDateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveCalendarDateRange();
         }
         BatchClosureDateRange.MergeFrom(other.BatchClosureDateRange);
     }
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (cardMerchant_ == null)
                    {
                        cardMerchant_ = new global::HOLMS.Types.Money.Cards.CardMerchantIndicator();
                    }
                    input.ReadMessage(cardMerchant_);
                    break;
                }
                }
            }
        }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (cardMerchant_ == null)
                    {
                        cardMerchant_ = new global::HOLMS.Types.Money.Cards.CardMerchantIndicator();
                    }
                    input.ReadMessage(cardMerchant_);
                    break;
                }

                case 18: {
                    CardNumber = input.ReadString();
                    break;
                }

                case 26: {
                    if (searchRange_ == null)
                    {
                        searchRange_ = new global::HOLMS.Types.Primitive.PbInterval();
                    }
                    input.ReadMessage(searchRange_);
                    break;
                }
                }
            }
        }
Пример #12
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (entityId_ == null)
                    {
                        entityId_ = new global::HOLMS.Types.Money.Cards.Transactions.PaymentCardRefundIndicator();
                    }
                    input.ReadMessage(entityId_);
                    break;
                }

                case 18: {
                    if (merchantId_ == null)
                    {
                        merchantId_ = new global::HOLMS.Types.Money.Cards.CardMerchantIndicator();
                    }
                    input.ReadMessage(merchantId_);
                    break;
                }

                case 26: {
                    if (refundedAmount_ == null)
                    {
                        refundedAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
                    }
                    input.ReadMessage(refundedAmount_);
                    break;
                }

                case 34: {
                    HostReferenceNumber = input.ReadString();
                    break;
                }

                case 42: {
                    FolioBookingNumber = input.ReadString();
                    break;
                }

                case 50: {
                    if (paymentCard_ == null)
                    {
                        paymentCard_ = new global::HOLMS.Types.Money.Cards.GuestPaymentCard();
                    }
                    input.ReadMessage(paymentCard_);
                    break;
                }

                case 58: {
                    if (postedAt_ == null)
                    {
                        postedAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(postedAt_);
                    break;
                }

                case 64: {
                    state_ = (global::HOLMS.Types.Money.Cards.Transactions.CardRefundState)input.ReadEnum();
                    break;
                }
                }
            }
        }
Пример #13
0
 public void MergeFrom(PaymentCardSaleCapture other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Money.Cards.Transactions.PaymentCardSaleCaptureIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.merchantId_ != null)
     {
         if (merchantId_ == null)
         {
             merchantId_ = new global::HOLMS.Types.Money.Cards.CardMerchantIndicator();
         }
         MerchantId.MergeFrom(other.MerchantId);
     }
     if (other.capturedAmount_ != null)
     {
         if (capturedAmount_ == null)
         {
             capturedAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         CapturedAmount.MergeFrom(other.CapturedAmount);
     }
     if (other.HostReferenceNumber.Length != 0)
     {
         HostReferenceNumber = other.HostReferenceNumber;
     }
     if (other.FolioBookingNumber.Length != 0)
     {
         FolioBookingNumber = other.FolioBookingNumber;
     }
     if (other.paymentCard_ != null)
     {
         if (paymentCard_ == null)
         {
             paymentCard_ = new global::HOLMS.Types.Money.Cards.GuestPaymentCard();
         }
         PaymentCard.MergeFrom(other.PaymentCard);
     }
     if (other.AuthorizationApprovalCode.Length != 0)
     {
         AuthorizationApprovalCode = other.AuthorizationApprovalCode;
     }
     if (other.AuthorizationHostReferenceNumber.Length != 0)
     {
         AuthorizationHostReferenceNumber = other.AuthorizationHostReferenceNumber;
     }
     if (other.authorizationAmount_ != null)
     {
         if (authorizationAmount_ == null)
         {
             authorizationAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         AuthorizationAmount.MergeFrom(other.AuthorizationAmount);
     }
     if (other.postedAt_ != null)
     {
         if (postedAt_ == null)
         {
             postedAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         PostedAt.MergeFrom(other.PostedAt);
     }
     if (other.sale_ != null)
     {
         if (sale_ == null)
         {
             sale_ = new global::HOLMS.Types.Money.Cards.Transactions.PaymentCardSaleIndicator();
         }
         Sale.MergeFrom(other.Sale);
     }
     if (other.SaleState != 0)
     {
         SaleState = other.SaleState;
     }
 }
 public virtual global::HOLMS.Types.Money.RPC.CardTerminalSvcAllResponse AllFromMerchant(global::HOLMS.Types.Money.Cards.CardMerchantIndicator request, grpc::CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_AllFromMerchant, null, options, request));
 }
 /// <summary>
 ///  Batches
 ///  Get info about batches
 /// </summary>
 public virtual AsyncUnaryCall <global::HOLMS.Types.Money.Cards.Transactions.GetOpenBatchStateResponse> GetCurrentBatchStateAsync(global::HOLMS.Types.Money.Cards.CardMerchantIndicator request, CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_GetCurrentBatchState, null, options, request));
 }
 /// <summary>
 /// Batches
 /// Get info about batches
 /// </summary>
 /// <param name="request">The request to send to the server.</param>
 /// <param name="options">The options for the call.</param>
 /// <returns>The response received from the server.</returns>
 public virtual global::HOLMS.Types.Money.Cards.Transactions.GetOpenBatchStateResponse GetCurrentBatchState(global::HOLMS.Types.Money.Cards.CardMerchantIndicator request, grpc::CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_GetCurrentBatchState, null, options, request));
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (entityId_ == null)
                    {
                        entityId_ = new global::HOLMS.Types.Money.Cards.CardMerchantIndicator();
                    }
                    input.ReadMessage(entityId_);
                    break;
                }

                case 18: {
                    Name = input.ReadString();
                    break;
                }

                case 24: {
                    cardProcessor_ = (global::HOLMS.Types.Money.Cards.CardProcessorIndicator)input.ReadEnum();
                    break;
                }

                case 34: {
                    CardAgreement = input.ReadString();
                    break;
                }

                case 40: {
                    LicenseId = input.ReadInt32();
                    break;
                }

                case 48: {
                    SiteId = input.ReadInt32();
                    break;
                }

                case 56: {
                    DeviceId = input.ReadInt32();
                    break;
                }

                case 66: {
                    Username = input.ReadString();
                    break;
                }

                case 74: {
                    Password = input.ReadString();
                    break;
                }

                case 82: {
                    ServiceURI = input.ReadString();
                    break;
                }

                case 88: {
                    DebugLoggingEnabled = input.ReadBool();
                    break;
                }

                case 98: {
                    PorticoDeveloperId = input.ReadString();
                    break;
                }

                case 106: {
                    PorticoVersionNumber = input.ReadString();
                    break;
                }
                }
            }
        }
Пример #18
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (entityId_ == null)
                    {
                        entityId_ = new global::HOLMS.Types.Money.Cards.Transactions.PaymentCardSaleIndicator();
                    }
                    input.ReadMessage(entityId_);
                    break;
                }

                case 18: {
                    if (merchantId_ == null)
                    {
                        merchantId_ = new global::HOLMS.Types.Money.Cards.CardMerchantIndicator();
                    }
                    input.ReadMessage(merchantId_);
                    break;
                }

                case 26: {
                    if (paymentCard_ == null)
                    {
                        paymentCard_ = new global::HOLMS.Types.Money.Cards.GuestPaymentCard();
                    }
                    input.ReadMessage(paymentCard_);
                    break;
                }

                case 34: {
                    if (authorizedAmount_ == null)
                    {
                        authorizedAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
                    }
                    input.ReadMessage(authorizedAmount_);
                    break;
                }

                case 42: {
                    if (capturedAmount_ == null)
                    {
                        capturedAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
                    }
                    input.ReadMessage(capturedAmount_);
                    break;
                }

                case 50: {
                    HostReferenceNumber = input.ReadString();
                    break;
                }

                case 56: {
                    entryMethod_ = (global::HOLMS.Types.Money.Cards.Transactions.AuthorizationEntryMethod)input.ReadEnum();
                    break;
                }

                case 66: {
                    if (authorization_ == null)
                    {
                        authorization_ = new global::HOLMS.Types.Money.Cards.Transactions.PaymentCardAuthorization();
                    }
                    input.ReadMessage(authorization_);
                    break;
                }

                case 72: {
                    state_ = (global::HOLMS.Types.Money.Cards.Transactions.CardSaleState)input.ReadEnum();
                    break;
                }

                case 82: {
                    increases_.AddEntriesFrom(input, _repeated_increases_codec);
                    break;
                }

                case 90: {
                    reversals_.AddEntriesFrom(input, _repeated_reversals_codec);
                    break;
                }

                case 98: {
                    captures_.AddEntriesFrom(input, _repeated_captures_codec);
                    break;
                }

                case 106: {
                    voids_.AddEntriesFrom(input, _repeated_voids_codec);
                    break;
                }
                }
            }
        }
 public virtual AsyncUnaryCall <global::HOLMS.Types.Money.RPC.CardTerminalSvcAllResponse> AllFromMerchantAsync(global::HOLMS.Types.Money.Cards.CardMerchantIndicator request, CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_AllFromMerchant, null, options, request));
 }
 /// <summary>
 ///  Batches
 ///  Get info about batches
 /// </summary>
 public virtual global::System.Threading.Tasks.Task <global::HOLMS.Types.Money.Cards.Transactions.GetOpenBatchStateResponse> GetCurrentBatchState(global::HOLMS.Types.Money.Cards.CardMerchantIndicator request, ServerCallContext context)
 {
     throw new RpcException(new Status(StatusCode.Unimplemented, ""));
 }
 /// <summary>
 ///  Request batch closure
 /// </summary>
 public virtual AsyncUnaryCall <global::HOLMS.Types.Money.Cards.Transactions.ClosedMerchantBatch> CloseProcessorBatchAsync(global::HOLMS.Types.Money.Cards.CardMerchantIndicator request, CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_CloseProcessorBatch, null, options, request));
 }
 /// <summary>
 ///  Request batch closure
 /// </summary>
 public virtual AsyncUnaryCall <global::HOLMS.Types.Money.Cards.Transactions.ClosedMerchantBatch> CloseProcessorBatchAsync(global::HOLMS.Types.Money.Cards.CardMerchantIndicator request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(CloseProcessorBatchAsync(request, new CallOptions(headers, deadline, cancellationToken)));
 }
 /// <summary>
 /// Request batch closure
 /// </summary>
 /// <param name="request">The request to send to the server.</param>
 /// <param name="options">The options for the call.</param>
 /// <returns>The response received from the server.</returns>
 public virtual global::HOLMS.Types.Money.Cards.Transactions.ClosedMerchantBatch CloseProcessorBatch(global::HOLMS.Types.Money.Cards.CardMerchantIndicator request, grpc::CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_CloseProcessorBatch, null, options, request));
 }
 /// <summary>
 ///  Request batch closure
 /// </summary>
 public virtual global::System.Threading.Tasks.Task <global::HOLMS.Types.Money.Cards.Transactions.ClosedMerchantBatch> CloseProcessorBatch(global::HOLMS.Types.Money.Cards.CardMerchantIndicator request, ServerCallContext context)
 {
     throw new RpcException(new Status(StatusCode.Unimplemented, ""));
 }
Пример #25
0
 public void MergeFrom(PaymentCardSale other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Money.Cards.Transactions.PaymentCardSaleIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.merchantId_ != null)
     {
         if (merchantId_ == null)
         {
             merchantId_ = new global::HOLMS.Types.Money.Cards.CardMerchantIndicator();
         }
         MerchantId.MergeFrom(other.MerchantId);
     }
     if (other.paymentCard_ != null)
     {
         if (paymentCard_ == null)
         {
             paymentCard_ = new global::HOLMS.Types.Money.Cards.GuestPaymentCard();
         }
         PaymentCard.MergeFrom(other.PaymentCard);
     }
     if (other.authorizedAmount_ != null)
     {
         if (authorizedAmount_ == null)
         {
             authorizedAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         AuthorizedAmount.MergeFrom(other.AuthorizedAmount);
     }
     if (other.capturedAmount_ != null)
     {
         if (capturedAmount_ == null)
         {
             capturedAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         CapturedAmount.MergeFrom(other.CapturedAmount);
     }
     if (other.HostReferenceNumber.Length != 0)
     {
         HostReferenceNumber = other.HostReferenceNumber;
     }
     if (other.EntryMethod != 0)
     {
         EntryMethod = other.EntryMethod;
     }
     if (other.authorization_ != null)
     {
         if (authorization_ == null)
         {
             authorization_ = new global::HOLMS.Types.Money.Cards.Transactions.PaymentCardAuthorization();
         }
         Authorization.MergeFrom(other.Authorization);
     }
     if (other.State != 0)
     {
         State = other.State;
     }
     increases_.Add(other.increases_);
     reversals_.Add(other.reversals_);
     captures_.Add(other.captures_);
     voids_.Add(other.voids_);
 }
 /// <summary>
 ///  Batches
 ///  Get info about batches
 /// </summary>
 public virtual AsyncUnaryCall <global::HOLMS.Types.Money.Cards.Transactions.GetOpenBatchStateResponse> GetCurrentBatchStateAsync(global::HOLMS.Types.Money.Cards.CardMerchantIndicator request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(GetCurrentBatchStateAsync(request, new CallOptions(headers, deadline, cancellationToken)));
 }
 public virtual AsyncUnaryCall <global::HOLMS.Types.Money.RPC.CardTerminalSvcAllResponse> AllFromMerchantAsync(global::HOLMS.Types.Money.Cards.CardMerchantIndicator request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(AllFromMerchantAsync(request, new CallOptions(headers, deadline, cancellationToken)));
 }
Пример #28
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (entityId_ == null)
                    {
                        entityId_ = new global::HOLMS.Types.Money.Cards.Transactions.ClosedMerchantBatchIndicator();
                    }
                    input.ReadMessage(entityId_);
                    break;
                }

                case 18: {
                    if (merchantId_ == null)
                    {
                        merchantId_ = new global::HOLMS.Types.Money.Cards.CardMerchantIndicator();
                    }
                    input.ReadMessage(merchantId_);
                    break;
                }

                case 26: {
                    MerchantName = input.ReadString();
                    break;
                }

                case 32: {
                    result_ = (global::HOLMS.Types.Money.Cards.Transactions.ProcessorTransactionResult)input.ReadEnum();
                    break;
                }

                case 40: {
                    ProcessorBatchId = input.ReadInt32();
                    break;
                }

                case 48: {
                    TransactionCount = input.ReadInt32();
                    break;
                }

                case 58: {
                    if (totalAmount_ == null)
                    {
                        totalAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
                    }
                    input.ReadMessage(totalAmount_);
                    break;
                }

                case 66: {
                    if (createdAt_ == null)
                    {
                        createdAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(createdAt_);
                    break;
                }

                case 74: {
                    captures_.AddEntriesFrom(input, _repeated_captures_codec);
                    break;
                }

                case 82: {
                    refunds_.AddEntriesFrom(input, _repeated_refunds_codec);
                    break;
                }
                }
            }
        }
 public virtual global::System.Threading.Tasks.Task <global::HOLMS.Types.Money.RPC.CardTerminalSvcAllResponse> AllFromMerchant(global::HOLMS.Types.Money.Cards.CardMerchantIndicator request, ServerCallContext context)
 {
     throw new RpcException(new Status(StatusCode.Unimplemented, ""));
 }
 public void MergeFrom(CardMerchant other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Money.Cards.CardMerchantIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.CardProcessor != 0)
     {
         CardProcessor = other.CardProcessor;
     }
     if (other.CardAgreement.Length != 0)
     {
         CardAgreement = other.CardAgreement;
     }
     if (other.LicenseId != 0)
     {
         LicenseId = other.LicenseId;
     }
     if (other.SiteId != 0)
     {
         SiteId = other.SiteId;
     }
     if (other.DeviceId != 0)
     {
         DeviceId = other.DeviceId;
     }
     if (other.Username.Length != 0)
     {
         Username = other.Username;
     }
     if (other.Password.Length != 0)
     {
         Password = other.Password;
     }
     if (other.ServiceURI.Length != 0)
     {
         ServiceURI = other.ServiceURI;
     }
     if (other.DebugLoggingEnabled != false)
     {
         DebugLoggingEnabled = other.DebugLoggingEnabled;
     }
     if (other.PorticoDeveloperId.Length != 0)
     {
         PorticoDeveloperId = other.PorticoDeveloperId;
     }
     if (other.PorticoVersionNumber.Length != 0)
     {
         PorticoVersionNumber = other.PorticoVersionNumber;
     }
 }