|
4 | 4 | using System.ComponentModel.DataAnnotations;
|
5 | 5 | using System.Linq;
|
6 | 6 | using System.Text;
|
7 |
| -using MercadoPago.Common; |
8 |
| -using Newtonsoft.Json.Converters; |
9 |
| -using Newtonsoft.Json; |
10 |
| - |
| 7 | +using MercadoPago.Common; |
| 8 | +using Newtonsoft.Json.Converters; |
| 9 | +using Newtonsoft.Json; |
| 10 | + |
11 | 11 | namespace MercadoPago.Resources
|
12 | 12 | {
|
13 | 13 | /// <summary>
|
@@ -82,9 +82,10 @@ public Boolean Update()
|
82 | 82 | private DifferentialPricing? _differential_pricing;
|
83 | 83 | private long? _sponsor_id;
|
84 | 84 | private List<ProcessingMode> _processing_modes;
|
85 |
| - private bool? _binary_mode; |
| 85 | + private bool? _binary_mode; |
| 86 | + private List<Tax> _taxes; |
86 | 87 | #endregion
|
87 |
| - |
| 88 | + |
88 | 89 | #region Accesors
|
89 | 90 |
|
90 | 91 | /// <summary>
|
@@ -401,68 +402,85 @@ public DifferentialPricing? Differential_pricing
|
401 | 402 | {
|
402 | 403 | _differential_pricing = value;
|
403 | 404 | }
|
404 |
| - } |
405 |
| - |
406 |
| - public List<Item> Items |
407 |
| - { |
408 |
| - get |
| 405 | + } |
| 406 | + |
| 407 | + public List<Item> Items |
| 408 | + { |
| 409 | + get |
409 | 410 | {
|
410 | 411 | if (_items == null)
|
411 | 412 | {
|
412 | 413 | _items = new List<Item>();
|
413 |
| - } |
414 |
| - return _items; |
415 |
| - } |
416 |
| - |
417 |
| - set |
418 |
| - { |
419 |
| - _items = value; |
420 |
| - } |
421 |
| - } |
422 |
| - |
423 |
| - public long? SponsorId |
424 |
| - { |
425 |
| - get |
426 |
| - { |
427 |
| - return _sponsor_id; |
428 |
| - } |
429 |
| - |
430 |
| - set |
431 |
| - { |
432 |
| - _sponsor_id = value; |
433 |
| - } |
434 |
| - } |
435 |
| - |
436 |
| - public List<ProcessingMode> ProcessingModes |
437 |
| - { |
438 |
| - get |
| 414 | + } |
| 415 | + return _items; |
| 416 | + } |
| 417 | + |
| 418 | + set |
| 419 | + { |
| 420 | + _items = value; |
| 421 | + } |
| 422 | + } |
| 423 | + |
| 424 | + public long? SponsorId |
| 425 | + { |
| 426 | + get |
| 427 | + { |
| 428 | + return _sponsor_id; |
| 429 | + } |
| 430 | + |
| 431 | + set |
| 432 | + { |
| 433 | + _sponsor_id = value; |
| 434 | + } |
| 435 | + } |
| 436 | + |
| 437 | + public List<ProcessingMode> ProcessingModes |
| 438 | + { |
| 439 | + get |
439 | 440 | {
|
440 | 441 | if (_processing_modes == null)
|
441 | 442 | {
|
442 | 443 | _processing_modes = new List<ProcessingMode>();
|
443 |
| - } |
444 |
| - return _processing_modes; |
445 |
| - } |
446 |
| - |
447 |
| - set |
448 |
| - { |
449 |
| - _processing_modes = value; |
450 |
| - } |
451 |
| - } |
452 |
| - |
453 |
| - public bool? BinaryMode |
454 |
| - { |
455 |
| - get |
456 |
| - { |
457 |
| - return _binary_mode; |
458 |
| - } |
459 |
| - |
460 |
| - set |
461 |
| - { |
462 |
| - _binary_mode = value; |
463 |
| - } |
464 |
| - } |
465 |
| - |
| 444 | + } |
| 445 | + return _processing_modes; |
| 446 | + } |
| 447 | + |
| 448 | + set |
| 449 | + { |
| 450 | + _processing_modes = value; |
| 451 | + } |
| 452 | + } |
| 453 | + |
| 454 | + public bool? BinaryMode |
| 455 | + { |
| 456 | + get |
| 457 | + { |
| 458 | + return _binary_mode; |
| 459 | + } |
| 460 | + |
| 461 | + set |
| 462 | + { |
| 463 | + _binary_mode = value; |
| 464 | + } |
| 465 | + } |
| 466 | + |
| 467 | + public List<Tax> Taxes |
| 468 | + { |
| 469 | + get |
| 470 | + { |
| 471 | + if (_taxes == null) |
| 472 | + { |
| 473 | + _taxes = new List<Tax>(); |
| 474 | + } |
| 475 | + return _taxes; |
| 476 | + } |
| 477 | + |
| 478 | + set |
| 479 | + { |
| 480 | + _taxes = value; |
| 481 | + } |
| 482 | + } |
| 483 | + |
466 | 484 | #endregion
|
467 | 485 | }
|
468 | 486 | }
|
0 commit comments