@@ -281,6 +281,7 @@ public long surchargeAmount
281
281
}
282
282
public orderSourceType orderSource ;
283
283
public customerInfo customerInfo ;
284
+ public sellerInfo sellerInfo ; //12.29
284
285
public contact billToAddress ;
285
286
public contact retailerAddress ; ///12.24
286
287
public additionalCOFData additionalCOFData ;
@@ -531,6 +532,25 @@ public fraudSwitchIndicatorEnum fraudSwitchIndicator
531
532
}
532
533
public passengerTransportData passengerTransportData ;
533
534
//12.25 and 12.26 end
535
+
536
+ //12.30 start
537
+ private authIndicatorEnum authIndicatorField ;
538
+ private bool authIndicatorSet ;
539
+ public authIndicatorEnum authIndicator
540
+ {
541
+ get
542
+ {
543
+ return authIndicatorField ;
544
+ }
545
+ set
546
+ {
547
+ authIndicatorField = value ;
548
+ authIndicatorSet = true ;
549
+ }
550
+ }
551
+
552
+ //12.30 end
553
+
534
554
public bool ? skipRealtimeAU ;
535
555
536
556
public string merchantCategoryCode ;
@@ -547,6 +567,8 @@ public override string Serialize()
547
567
if ( cnpTxnIdSet )
548
568
{
549
569
xml += "\r \n <cnpTxnId>" + cnpTxnIdField + "</cnpTxnId>" ;
570
+ xml += "\r \n <amount>" + amount + "</amount>" ;
571
+ xml += "\r \n <authIndicator>" + authIndicatorField + "</authIndicator>" ;
550
572
}
551
573
else
552
574
{
@@ -560,6 +582,10 @@ public override string Serialize()
560
582
{
561
583
xml += "\r \n <customerInfo>" + customerInfo . Serialize ( ) + "\r \n </customerInfo>" ;
562
584
}
585
+ if ( sellerInfo != null )
586
+ {
587
+ xml += "\r \n <sellerInfo>" + sellerInfo . Serialize ( ) + "\r \n </sellerInfo>" ;
588
+ }
563
589
if ( billToAddress != null )
564
590
{
565
591
xml += "\r \n <billToAddress>" + billToAddress . Serialize ( ) + "\r \n </billToAddress>" ;
@@ -694,6 +720,15 @@ public override string Serialize()
694
720
xml += "\r \n <passengerTransportData>" + passengerTransportData . Serialize ( ) + "\r \n </passengerTransportData>" ;
695
721
}
696
722
//end
723
+
724
+ //12.30 start
725
+
726
+ if ( authIndicatorSet )
727
+ {
728
+ xml += "\r \n <authIndicator>" + authIndicatorField + "</authIndicator>" ;
729
+ }
730
+ //end
731
+
697
732
if ( merchantData != null )
698
733
{
699
734
xml += "\r \n <merchantData>" + merchantData . Serialize ( ) + "\r \n </merchantData>" ;
@@ -2607,6 +2642,7 @@ public long surchargeAmount
2607
2642
}
2608
2643
public orderSourceType orderSource ;
2609
2644
public customerInfo customerInfo ;
2645
+ public sellerInfo sellerInfo ; //12.29
2610
2646
public contact billToAddress ;
2611
2647
public contact retailerAddress ; ///12.24
2612
2648
public contact shipToAddress ;
@@ -2907,6 +2943,10 @@ public override string Serialize()
2907
2943
{
2908
2944
xml += "\r \n <customerInfo>" + customerInfo . Serialize ( ) + "\r \n </customerInfo>" ;
2909
2945
}
2946
+ if ( sellerInfo != null )
2947
+ {
2948
+ xml += "\r \n <sellerInfo>" + sellerInfo . Serialize ( ) + "\r \n </sellerInfo>" ;
2949
+ }
2910
2950
if ( billToAddress != null )
2911
2951
{
2912
2952
xml += "\r \n <billToAddress>" + billToAddress . Serialize ( ) + "\r \n </billToAddress>" ;
@@ -3720,6 +3760,7 @@ public enum orderChannelEnum
3720
3760
SOCIAL ,
3721
3761
MARKETPLACE ,
3722
3762
IN_STORE_KIOSK ,
3763
+ MIT // new 12.28
3723
3764
}
3724
3765
3725
3766
//new 12.25, 12.26 and 12.27 start
@@ -3791,6 +3832,14 @@ public enum walletSourceType
3791
3832
}
3792
3833
//12.25, 12.26 and 12.27 end
3793
3834
3835
+ //new 12.28, 12.29 and 12.30 start
3836
+ public enum authIndicatorEnum
3837
+ {
3838
+ Estimated ,
3839
+ Incremental
3840
+ }
3841
+
3842
+
3794
3843
#endregion
3795
3844
3796
3845
#region Child elements.
@@ -4458,7 +4507,7 @@ public partial class cardTokenType
4458
4507
public string tokenUrl ;
4459
4508
public string expDate ;
4460
4509
public string cardValidationNum ;
4461
- private string authenticatedShopperID ;
4510
+ private string authenticatedShopperID ;
4462
4511
private methodOfPaymentTypeEnum typeField ;
4463
4512
private bool typeSet ;
4464
4513
public methodOfPaymentTypeEnum type
@@ -6211,6 +6260,106 @@ public string Serialize()
6211
6260
}
6212
6261
}
6213
6262
6263
+ //12.29
6264
+ public partial class sellerInfo
6265
+ {
6266
+ public string accountNumber ;
6267
+ private int aggregateOrderCountField ;
6268
+ private bool aggregateOrderCountSet ;
6269
+ public int aggregateOrderCount
6270
+ {
6271
+ get { return aggregateOrderCountField ; }
6272
+ set { aggregateOrderCountField = value ; aggregateOrderCountSet = true ; }
6273
+ }
6274
+
6275
+ private int aggregateOrderDollarsField ;
6276
+ private bool aggregateOrderDollarsSet ;
6277
+
6278
+ public int aggregateOrderDollars
6279
+ {
6280
+ get { return aggregateOrderDollarsField ; }
6281
+ set { aggregateOrderDollarsField = value ; aggregateOrderDollarsSet = true ; }
6282
+ }
6283
+ public sellerAddress sellerAddress ;
6284
+ public string createdDate ;
6285
+ public string domain ;
6286
+ public string email ;
6287
+ public string lastUpdateDate ;
6288
+ public string name ;
6289
+ public string onboardingEmail ;
6290
+ public string onboardingIpAddress ;
6291
+ public string parentEntity ;
6292
+ public string phone ;
6293
+ public string sellerId ;
6294
+ public sellerTagsType sellerTags ;
6295
+ public string username ;
6296
+
6297
+ public string Serialize ( )
6298
+ {
6299
+ var xml = "" ;
6300
+ if ( accountNumber != null ) xml += "\r \n <accountNumber>" + SecurityElement . Escape ( accountNumber ) + "</accountNumber>" ;
6301
+ if ( aggregateOrderCountSet ) xml += "\r \n <aggregateOrderCount>" + aggregateOrderCountField + "</aggregateOrderCount>" ;
6302
+ if ( aggregateOrderDollarsSet ) xml += "\r \n <aggregateOrderDollars>" + aggregateOrderDollarsField + "</aggregateOrderDollars>" ;
6303
+ if ( sellerAddress != null )
6304
+ {
6305
+ xml += "\r \n <sellerAddress>" + sellerAddress . Serialize ( ) + "\r \n </sellerAddress>" ;
6306
+ }
6307
+ return xml ;
6308
+ if ( createdDate != null ) xml += "\r \n <createdDate>" + SecurityElement . Escape ( createdDate ) + "</createdDate>" ;
6309
+ if ( domain != null ) xml += "\r \n <domain>" + SecurityElement . Escape ( domain ) + "</domain>" ;
6310
+ if ( email != null ) xml += "\r \n <email>" + SecurityElement . Escape ( email ) + "</email>" ;
6311
+ if ( lastUpdateDate != null ) xml += "\r \n <lastUpdateDate>" + SecurityElement . Escape ( lastUpdateDate ) + "</lastUpdateDate>" ;
6312
+ if ( name != null ) xml += "\r \n <name>" + SecurityElement . Escape ( name ) + "</name>" ;
6313
+ if ( onboardingEmail != null ) xml += "\r \n <onboardingEmail>" + SecurityElement . Escape ( onboardingEmail ) + "</onboardingEmail>" ;
6314
+ if ( onboardingIpAddress != null ) xml += "\r \n <onboardingIpAddress>" + SecurityElement . Escape ( onboardingIpAddress ) + "</onboardingIpAddress>" ;
6315
+ if ( parentEntity != null ) xml += "\r \n <parentEntity>" + SecurityElement . Escape ( parentEntity ) + "</parentEntity>" ;
6316
+ if ( phone != null ) xml += "\r \n <phone>" + SecurityElement . Escape ( phone ) + "</phone>" ;
6317
+ if ( sellerId != null ) xml += "\r \n <sellerId>" + SecurityElement . Escape ( sellerId ) + "</sellerId>" ;
6318
+ if ( sellerTags != null )
6319
+ {
6320
+ xml += "\r \n <sellerTags>" + sellerTags . Serialize ( ) + "\r \n </sellerTags>" ;
6321
+ }
6322
+ if ( username != null ) xml += "\r \n <username>" + SecurityElement . Escape ( username ) + "</username>" ;
6323
+
6324
+ return xml ;
6325
+ }
6326
+
6327
+ }
6328
+
6329
+ public partial class sellerAddress
6330
+ {
6331
+ public string sellerStreetaddress ;
6332
+ public string sellerUnit ;
6333
+ public string sellerPostalcode ;
6334
+ public string sellerCity ;
6335
+ public string sellerProvincecode ;
6336
+ public string sellerCountrycode ;
6337
+
6338
+ public string Serialize ( )
6339
+ {
6340
+ var xml = "" ;
6341
+ if ( sellerStreetaddress != null ) xml += "\r \n <sellerStreetaddress>" + SecurityElement . Escape ( sellerStreetaddress ) + "</sellerStreetaddress>" ;
6342
+ if ( sellerUnit != null ) xml += "\r \n <sellerUnit>" + SecurityElement . Escape ( sellerUnit ) + "</sellerUnit>" ;
6343
+ if ( sellerPostalcode != null ) xml += "\r \n <sellerPostalcode>" + SecurityElement . Escape ( sellerPostalcode ) + "</sellerPostalcode>" ;
6344
+ if ( sellerCity != null ) xml += "\r \n <sellerCity>" + SecurityElement . Escape ( sellerCity ) + "</sellerCity>" ;
6345
+ if ( sellerProvincecode != null ) xml += "\r \n <sellerProvincecode>" + SecurityElement . Escape ( sellerProvincecode ) + "</sellerProvincecode>" ;
6346
+ if ( sellerCountrycode != null ) xml += "\r \n <sellerCountrycode>" + SecurityElement . Escape ( sellerCountrycode ) + "</sellerCountrycode>" ;
6347
+ return xml ;
6348
+ }
6349
+ }
6350
+
6351
+ public partial class sellerTagsType
6352
+ {
6353
+ public string tag ;
6354
+
6355
+ public string Serialize ( )
6356
+ {
6357
+ var xml = "" ;
6358
+ if ( tag != null ) xml += "\r \n <tag>" + SecurityElement . Escape ( tag ) + "</tag>" ;
6359
+ return xml ;
6360
+ }
6361
+ }
6362
+
6214
6363
public partial class propertyAddress
6215
6364
{
6216
6365
public string name ;
0 commit comments