我想将信用卡类型添加到销售收据,但是,我在 SR 上看不到信用卡信息。这是我的代码:
//Set Payment Detail in Header
Intuit.Ipp.Data.Qbo.PaymentDetail qboSalesReceiptHeaderPaymentDetail = new Intuit.Ipp.Data.Qbo.PaymentDetail();
CreditCardPayment cc = new CreditCardPayment();
cc.CreditChargeInfo = new CreditChargeInfo();
//to do another credit card type
cc.CreditChargeInfo.Type = CreditCardTypeEnum.OtherCreditCard;
cc.CreditChargeInfo.TypeSpecified = true;
qboSalesReceiptHeaderPaymentDetail.Item = cc;
//qboSalesReceiptHeaderPaymentDetail.Item = new CashPayment { Desc = "Cash Payment Ref #" };
qboSalesReceiptHeader.Detail = qboSalesReceiptHeaderPaymentDetail;
//Set Header
qboSalesReceipt.Header = qboSalesReceiptHeader;