123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292 |
-
- using System.Collections.Generic;
- using Senparc.Weixin.MP.AdvancedAPIs.GroupMessage;
- namespace Senparc.Weixin.MP.AdvancedAPIs
- {
-
-
-
- public class InvoiceInfo
- {
-
-
-
- public InvoiceBaseInfo base_info { get; set; }
-
-
-
- public string payee { get; set; }
-
-
-
- public string type { get; set; }
- }
-
-
-
- public class InvoiceBaseInfo
- {
-
-
-
- public string logo_url { get; set; }
-
-
-
- public string title { get; set; }
-
-
-
- public string custom_url_name { get; set; }
-
-
-
- public string custom_url { get; set; }
-
-
-
- public string custom_url_sub_title { get; set; }
-
-
-
- public string promotion_url_name { get; set; }
-
-
-
- public string promotion_url { get; set; }
-
-
-
- public string promotion_url_sub_title { get; set; }
- }
-
-
-
- public class InsertCardToBagData
- {
-
-
-
- public string order_id { get; set; }
-
-
-
- public string card_id { get; set; }
-
-
-
- public string appid { get; set; }
-
-
-
- public CardExtInfo card_ext { get; set; }
- }
-
-
-
- public class CardExtInfo
- {
-
-
-
- public string nonce_str { get; set; }
-
-
-
- public UserCard user_card { get; set; }
- }
-
-
-
- public class UserCard
- {
- public InvoicePlatformUserData invoice_user_data { get; set; }
- }
-
-
-
- public abstract class InvoiceBaseUseData
- {
-
-
-
- public int fee { get; set; }
-
-
-
- public string title { get; set; }
-
-
-
- public int billing_time { get; set; }
-
-
-
- public string billing_no { get; set; }
-
-
-
- public string billing_code { get; set; }
-
-
-
- public List<ProjectInfo> info { get; set; }
-
-
-
- public int fee_without_tax { get; set; }
-
-
-
- public int tax { get; set; }
-
-
-
- public string check_code { get; set; }
-
-
-
- public string buyer_number { get; set; }
-
-
-
- public string buyer_address_and_phone { get; set; }
-
-
-
- public string buyer_bank_account { get; set; }
-
-
-
- public string seller_number { get; set; }
-
-
-
- public string seller_address_and_phone { get; set; }
-
-
-
- public string seller_bank_account { get; set; }
-
-
-
- public string remarks { get; set; }
-
-
-
- public string cashier { get; set; }
-
-
-
- public string maker { get; set; }
- }
-
-
-
- public class InvoicePlatformUserData: InvoiceBaseUseData
- {
-
-
-
- public string s_pdf_media_id { get; set; }
-
-
-
- public string s_trip_pdf_media_id { get; set; }
- }
-
-
-
- public class InvoiceReimburseUserData : InvoiceBaseUseData
- {
-
-
-
- public string pdf_url { get; set; }
-
-
-
- public string trip_pdf_url { get; set; }
-
-
-
- public string reimburse_status { get; set; }
-
-
-
- public Reimburse_Status? Status
- {
- get
- {
- #if !NET35
- if (System.Enum.TryParse(this.reimburse_status, out Reimburse_Status status))
- {
- return status;
- }
- #else
- try
- {
- return (Reimburse_Status)System.Enum.Parse(typeof(Reimburse_Status), this.reimburse_status);
- }
- catch { }
- #endif
- return null;
- }
- }
- }
-
-
-
- public class ProjectInfo
- {
-
-
-
- public string name { get; set; }
-
-
-
- public int num { get; set; }
-
-
-
- public string unit { get; set; }
-
-
-
- public int price { get; set; }
- }
-
-
-
- public class InvoiceItem
- {
-
-
-
- public string card_id { get; set; }
-
-
-
- public string encrypt_code { get; set; }
- }
- }
|