-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from tofer/feature/common-interfaces
Add common interfaces for most *Ret types
- Loading branch information
Showing
13 changed files
with
2,343 additions
and
296 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
namespace QbSync.QbXml.Objects | ||
{ | ||
public interface IQbAddress : IQbAddressBlock | ||
{ | ||
string City { get; set; } | ||
string State { get; set; } | ||
string PostalCode { get; set; } | ||
string Country { get; set; } | ||
string Addr1 { 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
namespace QbSync.QbXml.Objects | ||
{ | ||
public interface IQbAddressBlock | ||
{ | ||
string Addr1 { get; set; } | ||
string Addr2 { get; set; } | ||
string Addr3 { get; set; } | ||
string Addr4 { get; set; } | ||
string Addr5 { 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace QbSync.QbXml.Objects | ||
{ | ||
public interface IQbCommInfo | ||
{ | ||
string Phone { get; set; } | ||
string Mobile { get; set; } | ||
string Pager { get; set; } | ||
string AltPhone { get; set; } | ||
string Fax { get; set; } | ||
string Email { get; set; } | ||
string Cc { get; set; } | ||
string Contact { get; set; } | ||
string AltContact { 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
namespace QbSync.QbXml.Objects | ||
{ | ||
public interface IQbContactInfo | ||
{ | ||
string Salutation { get; set; } | ||
string FirstName { get; set; } | ||
string MiddleName { get; set; } | ||
string LastName { get; set; } | ||
string JobTitle { 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace QbSync.QbXml.Objects | ||
{ | ||
/// <summary> | ||
/// Interface for common properties to all QuickBooks List ret objects. | ||
/// </summary> | ||
public interface IQbListRet : IQbRet | ||
{ | ||
string ListID { get; } | ||
} | ||
} |
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,11 @@ | ||
namespace QbSync.QbXml.Objects | ||
{ | ||
public interface IQbPersonName | ||
{ | ||
string Salutation { get; set; } | ||
string FirstName { get; set; } | ||
string MiddleName { get; set; } | ||
string LastName { get; set; } | ||
string Suffix { 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 |
---|---|---|
|
@@ -5,5 +5,6 @@ | |
/// </summary> | ||
public interface IQbRequest | ||
{ | ||
string requestID { 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
namespace QbSync.QbXml.Objects | ||
{ | ||
/// <summary> | ||
/// Interface for common properties to all QuickBooks ret objects. | ||
/// </summary> | ||
public interface IQbRet | ||
{ | ||
DATETIMETYPE TimeCreated { get; } | ||
|
||
DATETIMETYPE TimeModified { get; } | ||
|
||
string EditSequence { get; } | ||
} | ||
} |
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,14 @@ | ||
namespace QbSync.QbXml.Objects | ||
{ | ||
/// <summary> | ||
/// Interface for common properties to all QuickBooks Txn ret objects. | ||
/// </summary> | ||
public interface IQbTxnRet : IQbRet | ||
{ | ||
string TxnID { get; } | ||
|
||
string TxnNumber { get; } | ||
|
||
DATETYPE TxnDate { get; } | ||
} | ||
} |
Oops, something went wrong.