コード例 #1
0
ファイル: LoyaltyMemberResponse.cs プロジェクト: radtek/Pos
 internal LoyaltyMemberResponse(bool inSuccesful, string inMessage, string inDescription, LoyaltyResponseCode inResponseCode,
                                MemberInfo inMemberInfo)
     : base(inSuccesful, inMessage, inDescription)
 {
     _responseCode = inResponseCode;
     _memberInfo   = createMemberInfo(inMemberInfo);
 }
コード例 #2
0
ファイル: LoyaltyCompanyResponse.cs プロジェクト: radtek/Pos
 internal LoyaltyCompanyResponse(bool inSuccesful, string inMessage, string inDescription, LoyaltyResponseCode inResponseCode,
                                 CompanyInfo inCompanyInfo)
     : base(inSuccesful, inMessage, inDescription)
 {
     _responseCode = inResponseCode;
     _companyInfo  = CreateCompanyInfo(inCompanyInfo);
 }
コード例 #3
0
 internal LoyaltyVoucherResponse(bool inSuccesful, string inMessage, string inDescription, LoyaltyResponseCode inResponseCode,
                                 VoucherInfo inVoucherInfo)
     : base(inSuccesful, inMessage, inDescription)
 {
     _responseCode = inResponseCode;
     _voucherInfo  = CreateVoucherInfo(inVoucherInfo);
 }
コード例 #4
0
ファイル: LoyaltyGiftCardResponse.cs プロジェクト: radtek/Pos
 internal LoyaltyGiftCardResponse(bool inSuccesful, string inMessage, string inDescription, LoyaltyResponseCode inResponseCode,
                                  double giftCardBalance)
     : base(inSuccesful, inMessage, inDescription)
 {
     _responseCode    = inResponseCode;
     _giftCardBalance = giftCardBalance;
 }
コード例 #5
0
 public static LoyaltyPointsInfoResponse CreateResponseError(
     string inMessage,
     string inDescription,
     LoyaltyResponseCode inResponseCode,
     PointsInfo inPointsInfo)
 {
     return(CreateResponse(false, inMessage, inDescription, inResponseCode, inPointsInfo));
 }
コード例 #6
0
ファイル: LoyaltyTierListResponse.cs プロジェクト: radtek/Pos
 public static LoyaltyTierListResponse CreateResponseError(
     string inMessage,
     string inDescription,
     LoyaltyResponseCode inResponseCode,
     TierLevelInfo[] inTierLevelInfoList)
 {
     return(CreateResponse(false, inMessage, inDescription, inResponseCode, inTierLevelInfoList));
 }
コード例 #7
0
ファイル: LoyaltyTierListResponse.cs プロジェクト: radtek/Pos
 internal LoyaltyTierListResponse(
     bool inSuccesful,
     string inMessage,
     string inDescription,
     LoyaltyResponseCode inResponseCode,
     TierLevelInfo[] inTierLevelInfoList)
     : base(inSuccesful, inMessage, inDescription)
 {
     _responseCode  = inResponseCode;
     _tierLevelList = CreateTierLevelInfoList(inTierLevelInfoList);
 }
コード例 #8
0
ファイル: LoyaltyTierResponse.cs プロジェクト: radtek/Pos
 internal LoyaltyTierResponse(
     bool inSuccesful,
     string inMessage,
     string inDescription,
     LoyaltyResponseCode inResponseCode,
     TierLevelInfo inTierInfo)
     : base(inSuccesful, inMessage, inDescription)
 {
     _responseCode = inResponseCode;
     _tierInfo     = CreateTierInfo(inTierInfo);
 }
コード例 #9
0
 internal LoyaltyPointsInfoResponse(
     bool inSuccesful,
     string inMessage,
     string inDescription,
     LoyaltyResponseCode inResponseCode,
     PointsInfo inPointsInfo)
     : base(inSuccesful, inMessage, inDescription)
 {
     _responseCode = inResponseCode;
     _pointsInfo   = CreatePointsInfo(inPointsInfo);
 }
コード例 #10
0
ファイル: LoyaltyTierListResponse.cs プロジェクト: radtek/Pos
 public static LoyaltyTierListResponse CreateResponse(
     bool inSuccesful,
     string inMessage,
     string inDescription,
     LoyaltyResponseCode inResponseCode,
     TierLevelInfo[] inTierLevelInfoList)
 {
     return(new LoyaltyTierListResponse(
                inSuccesful,
                inMessage,
                inDescription,
                inResponseCode,
                inTierLevelInfoList));
 }
コード例 #11
0
 public static LoyaltyPointsInfoResponse CreateResponse(
     bool inSuccesful,
     string inMessage,
     string inDescription,
     LoyaltyResponseCode inResponseCode,
     PointsInfo inPointsInfo)
 {
     return(new LoyaltyPointsInfoResponse(
                inSuccesful,
                inMessage,
                inDescription,
                inResponseCode,
                inPointsInfo));
 }
コード例 #12
0
 private LoyaltyCompanyResponse CreateCompanyResponse(bool inSuccesful, string inMessage, string inDescription, LoyaltyResponseCode inResponseCode, CompanyInfo inCompanyInfo)
 {
     return(new LoyaltyCompanyResponse(inSuccesful, inMessage, inDescription, inResponseCode, inCompanyInfo));
 }
コード例 #13
0
 protected LoyaltyResponse CreateResponseError(string inMessage, string inDescription, LoyaltyResponseCode inResponseCode)
 {
     return(CreateResponse(false, inMessage, inDescription, inResponseCode));
 }
コード例 #14
0
 protected LoyaltyCompanyResponse CreateCompanyResponseError(string inMessage, string inDescription, LoyaltyResponseCode inResponseCode, CompanyInfo inCompanyInfo)
 {
     return(CreateCompanyResponse(false, inMessage, inDescription, inResponseCode, inCompanyInfo));
 }
コード例 #15
0
 protected LoyaltyGiftCardResponse CreateGiftCardResponseError(string inMessage, string inDescription, LoyaltyResponseCode inResponseCode, double giftCardBalance)
 {
     return(CreateGiftCardResponse(false, inMessage, inDescription, inResponseCode, giftCardBalance));
 }
コード例 #16
0
 protected LoyaltyVoucherResponse CreateVoucherResponseError(string inMessage, string inDescription, LoyaltyResponseCode inResponseCode, VoucherInfo inVoucherInfo)
 {
     return(CreateVoucherResponse(false, inMessage, inDescription, inResponseCode, inVoucherInfo));
 }
コード例 #17
0
 private LoyaltyResponse CreateResponse(bool inSuccesful, string inMessage, string inDescription, LoyaltyResponseCode inResponseCode)
 {
     return(new LoyaltyResponse(inSuccesful, inMessage, inDescription, inResponseCode));
 }
コード例 #18
0
 private LoyaltyVoucherResponse CreateVoucherResponse(bool inSuccesful, string inMessage, string inDescription, LoyaltyResponseCode inResponseCode, VoucherInfo inVoucherInfo)
 {
     return(new LoyaltyVoucherResponse(inSuccesful, inMessage, inDescription, inResponseCode, inVoucherInfo));
 }
コード例 #19
0
 private LoyaltyGiftCardResponse CreateGiftCardResponse(bool inSuccesful, string inMessage, string inDescription, LoyaltyResponseCode inResponseCode, double giftCardBalance)
 {
     return(new LoyaltyGiftCardResponse(inSuccesful, inMessage, inDescription, inResponseCode, giftCardBalance));
 }
コード例 #20
0
 internal LoyaltyResponse(bool inSuccesful, string inMessage, string inDescription, LoyaltyResponseCode inResponseCode)
     : base(inSuccesful, inMessage, inDescription)
 {
     _responseCode = inResponseCode;
 }