Class AgencyBranchCreditCard
This class represents the EntityModel interface to the AmAgencyCC database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Common
Assembly: Cmc.Nexus.Models.dll
Syntax
public class AgencyBranchCreditCard
Constructors
AgencyBranchCreditCard()
Declaration
public AgencyBranchCreditCard()
Properties
AgencyBranch
Declaration
public virtual AgencyBranch AgencyBranch { get; set; }
Property Value
| Type | Description |
|---|---|
| AgencyBranch |
AgencyBranchId
Gets or sets the AgencyBranchId associated with this AgencyBranchCreditCard.
Declaration
public int AgencyBranchId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The AgencyBranchId. |
ApartmentNumber
Gets or sets the ApartmentNumber associated with this AgencyBranchCreditCard.
Declaration
public string ApartmentNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The ApartmentNumber. |
CardHolderCity
Gets or sets the CardHolderCity associated with this AgencyBranchCreditCard.
Declaration
public string CardHolderCity { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The CardHolderCity. |
CardHolderFirstName
Gets or sets the CardHolderFirstName associated with this AgencyBranchCreditCard.
Declaration
public string CardHolderFirstName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The CardHolderFirstName. |
CardHolderLastName
Gets or sets the CardHolderLastName associated with this AgencyBranchCreditCard.
Declaration
public string CardHolderLastName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The CardHolderLastName. |
CardHolderName
Gets or sets the CardHolderName associated with this AgencyBranchCreditCard.
Declaration
public string CardHolderName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The CardHolderName. |
CardHolderPostalCode
Gets or sets the CardHolderPostalCode associated with this AgencyBranchCreditCard.
Declaration
public string CardHolderPostalCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The CardHolderPostalCode. |
CardHolderState
Gets or sets the CardHolderState associated with this AgencyBranchCreditCard.
Declaration
public string CardHolderState { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The CardHolderState. |
CardHolderStreetAddress
Gets or sets the CardHolderStreetAddress associated with this AgencyBranchCreditCard.
Declaration
public string CardHolderStreetAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The CardHolderStreetAddress. |
CoRelationIdentifier
Gets or sets the CoRelationIdentifier associated with this AgencyBranchCreditCard.
Declaration
public string CoRelationIdentifier { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The CoRelationIdentifier. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this AgencyBranchCreditCard.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The CreatedDateTime. |
CreditCardAuthorizationNumber
Gets or sets the CreditCardAuthorizationNumber associated with this AgencyBranchCreditCard.
Declaration
public string CreditCardAuthorizationNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The CreditCardAuthorizationNumber. |
CreditCardGuid
Gets or sets the CreditCardGuid associated with this AgencyBranchCreditCard.
Declaration
public string CreditCardGuid { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The CreditCardGuid. |
CreditCardNumber
Gets or sets the CreditCardNumber associated with this AgencyBranchCreditCard.
Declaration
public string CreditCardNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The CreditCardNumber. |
CreditCardType
Declaration
public virtual CreditCardType CreditCardType { get; set; }
Property Value
| Type | Description |
|---|---|
| CreditCardType |
CreditCardTypeId
Gets or sets the CreditCardTypeId associated with this AgencyBranchCreditCard.
Declaration
public int CreditCardTypeId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The CreditCardTypeId. |
EncryptCreditCard
Declaration
public virtual AgencyBranchEncryptCreditCard EncryptCreditCard { get; set; }
Property Value
| Type | Description |
|---|---|
| AgencyBranchEncryptCreditCard |
ExpirationDate
Gets or sets the ExpirationDate associated with this AgencyBranchCreditCard.
Declaration
public DateTime ExpirationDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The ExpirationDate. |
Id
Gets or sets the Id associated with this AgencyBranchCreditCard.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
IsActive
Gets or sets the IsActive associated with this AgencyBranchCreditCard.
Declaration
public bool IsActive { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsActive. |
IsPrimaryPaymentMethod
Gets or sets the IsPrimaryPaymentMethod associated with this AgencyBranchCreditCard.
Declaration
public bool IsPrimaryPaymentMethod { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsPrimaryPaymentMethod. |
IsSingleUse
Gets or sets the IsSingleUse associated with this AgencyBranchCreditCard.
Declaration
public bool IsSingleUse { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsSingleUse. |
IsVerified
Gets or sets the IsVerified associated with this AgencyBranchCreditCard.
Declaration
public bool IsVerified { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsVerified. |
LastFourCreditCardNumber
Gets or sets the LastFourCreditCardNumber associated with this AgencyBranchCreditCard.
Declaration
public string LastFourCreditCardNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The LastFourCreditCardNumber. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this AgencyBranchCreditCard.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this AgencyBranchCreditCard.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The LastModifiedUserId. |
PaymentGatewayProvider
Gets or sets the PaymentGatewayProvider associated with this AgencyBranchCreditCard.
Declaration
public string PaymentGatewayProvider { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The PaymentGatewayProvider. |
PaymentProcessorAccount
Declaration
public virtual PaymentProcessorAccount PaymentProcessorAccount { get; set; }
Property Value
| Type | Description |
|---|---|
| PaymentProcessorAccount |
PaymentProcessorAccountId
Gets or sets the PaymentProcessorAccountId associated with this AgencyBranchCreditCard.
Declaration
public int? PaymentProcessorAccountId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The PaymentProcessorAccountId. |
VerificationNumber
Gets or sets the VerificationNumber associated with this AgencyBranchCreditCard.
Declaration
public string VerificationNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The VerificationNumber. |
Methods
GeneratedInitializer()
This is the auto-generated initializer that knows how to deal with any relationship initialization for auto-generated relationships.
Declaration
public void GeneratedInitializer()
SetupFluentMappings(DbModelBuilder)
Any type of relationship that can't be inferred from the entity annotations must be done by hand using the Fluent api. Handle those relationships here.
Declaration
public static void SetupFluentMappings(DbModelBuilder modelBuilder)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Data.Entity.DbModelBuilder | modelBuilder | The DbModelBuilder that has all of the model entities. |