-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Waybill 3.0 add-on examples
- Loading branch information
Showing
19 changed files
with
582 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
Facturama/Models/Complements/Waybill/ComplementoCartaPorte30.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
using System; | ||
using Facturama.Services; | ||
using Newtonsoft.Json; | ||
using System.Runtime.Serialization; | ||
|
||
namespace Facturama.Models.Complements.Waybill | ||
{ | ||
public enum RegistroISTMO | ||
{ | ||
[EnumMember(Value = "Sí")] | ||
Si, | ||
|
||
[EnumMember(Value = "No")] | ||
No, | ||
} | ||
|
||
public class ComplementoCartaPorte30 | ||
{ | ||
[JsonProperty("IdCCP")] | ||
public string IdCCP { get; set; } | ||
|
||
[JsonProperty("TranspInternac")] | ||
public TranspInternac TranspInternac { get; set; } | ||
|
||
[JsonProperty("RegimenAduanero")] | ||
public string RegimenAduanero { get; set; } | ||
|
||
[JsonProperty("EntradaSalidaMerc")] | ||
public string EntradaSalidaMerc { get; set; } | ||
|
||
[JsonProperty("PaisOrigenDestino")] | ||
public string PaisOrigenDestino { get; set; } | ||
|
||
[JsonProperty("ViaEntradaSalida")] | ||
public string ViaEntradaSalida { get; set; } | ||
|
||
[JsonProperty("TotalDistRec")] | ||
public decimal? TotalDistRec { get; set; } | ||
|
||
[JsonProperty("RegistroISTMO")] | ||
public RegistroISTMO RegistroISTMO { get; set; } | ||
|
||
[JsonProperty("UbicacionPoloOrigen")] | ||
public string UbicacionPoloOrigen { get; set; } | ||
|
||
[JsonProperty("UbicacionPoloDestino")] | ||
public string UbicacionPoloDestino { get; set; } | ||
|
||
[JsonProperty("Ubicaciones")] | ||
public Ubicacion[] Ubicaciones { get; set; } | ||
|
||
[JsonProperty("Mercancias")] | ||
public Mercancias Mercancias { get; set; } | ||
|
||
[JsonProperty("FiguraTransporte")] | ||
public TiposFigura[] FiguraTransporte { get; set; } | ||
|
||
|
||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
| ||
using System; | ||
|
||
namespace Facturama.Models.Complements.Waybill | ||
{ | ||
public class Contenedor | ||
{ | ||
public string MatriculaContenedor { get; set; } | ||
public string TipoContenedor { get; set; } | ||
public string NumPrecinto { get; set; } | ||
} | ||
public string IdCCPRelacionado { get; set; } | ||
public string PlacaVMCCP { get; set; } | ||
public DateTime FechaCertificacionCCP { get; set; } | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
Facturama/Models/Complements/Waybill/DocumentacionAduanera.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using Facturama.Services; | ||
using Newtonsoft.Json; | ||
using System; | ||
|
||
namespace Facturama.Models.Complements.Waybill | ||
{ | ||
public class DocumentacionAduanera | ||
{ | ||
[JsonProperty("TipoDocumento")] | ||
public string TipoDocumento { get; set; } | ||
|
||
[JsonProperty("NumPedimento")] | ||
public string NumPedimento { get; set; } | ||
|
||
[JsonProperty("IdentDocAduanero")] | ||
public string IdentDocAduanero { get; set; } | ||
|
||
[JsonProperty("RFCImpo")] | ||
public string RFCImpo { get; set; } | ||
|
||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace Facturama.Models.Complements.Waybill | ||
{ | ||
public class RemolquesCCP | ||
{ | ||
public string SubTipoRemCCP { get; set; } | ||
public string PlacaCCP { get; set; } | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.