public void send_getCoinProductsByPgCode(PaymentType appStoreCode, PaymentPgType pgCode, string country, string language) #endif { oprot_.WriteMessageBegin(new TMessage("getCoinProductsByPgCode", TMessageType.Call, seqid_)); getCoinProductsByPgCode_args args = new getCoinProductsByPgCode_args(); args.AppStoreCode = appStoreCode; args.PgCode = pgCode; args.Country = country; args.Language = language; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void getCoinProductsByPgCode_Process(int seqid, TProtocol iprot, TProtocol oprot) { getCoinProductsByPgCode_args args = new getCoinProductsByPgCode_args(); args.Read(iprot); iprot.ReadMessageEnd(); getCoinProductsByPgCode_result result = new getCoinProductsByPgCode_result(); try { result.Success = iface_.getCoinProductsByPgCode(args.AppStoreCode, args.PgCode, args.Country, args.Language); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("getCoinProductsByPgCode", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }