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.Folio.TaxFeeIndicator(); } input.ReadMessage(entityId_); break; } case 18: { Description = input.ReadString(); break; } case 26: { if (taxRate_ == null) { taxRate_ = new global::HOLMS.Types.Primitive.FixedPointRatio(); } input.ReadMessage(taxRate_); break; } case 32: { category_ = (global::HOLMS.Types.Folio.TaxFeeCategory)input.ReadEnum(); break; } case 42: { if (liabilityAccountId_ == null) { liabilityAccountId_ = new global::HOLMS.Types.Money.Accounting.AccountIndicator(); } input.ReadMessage(liabilityAccountId_); break; } } } }
public void MergeFrom(TaxFee other) { if (other == null) { return; } if (other.entityId_ != null) { if (entityId_ == null) { entityId_ = new global::HOLMS.Types.Folio.TaxFeeIndicator(); } EntityId.MergeFrom(other.EntityId); } if (other.Description.Length != 0) { Description = other.Description; } if (other.taxRate_ != null) { if (taxRate_ == null) { taxRate_ = new global::HOLMS.Types.Primitive.FixedPointRatio(); } TaxRate.MergeFrom(other.TaxRate); } if (other.Category != 0) { Category = other.Category; } if (other.liabilityAccountId_ != null) { if (liabilityAccountId_ == null) { liabilityAccountId_ = new global::HOLMS.Types.Money.Accounting.AccountIndicator(); } LiabilityAccountId.MergeFrom(other.LiabilityAccountId); } }
public virtual global::System.Threading.Tasks.Task <global::HOLMS.Types.Folio.TaxFee> GetById(global::HOLMS.Types.Folio.TaxFeeIndicator request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); }
public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.Folio.TaxFee> GetByIdAsync(global::HOLMS.Types.Folio.TaxFeeIndicator request, grpc::CallOptions options) { return(CallInvoker.AsyncUnaryCall(__Method_GetById, null, options, request)); }
public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.Folio.TaxFee> GetByIdAsync(global::HOLMS.Types.Folio.TaxFeeIndicator request, grpc::Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken)) { return(GetByIdAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken))); }
public virtual global::HOLMS.Types.Folio.TaxFee GetById(global::HOLMS.Types.Folio.TaxFeeIndicator request, grpc::CallOptions options) { return(CallInvoker.BlockingUnaryCall(__Method_GetById, null, options, request)); }