Class PersonalAccountTermOfPaymentViewModel
Represents a PersonalAccountTermOfPaymentViewModel
Inheritance
System.Object
PersonalAccountTermOfPaymentViewModel
Implements
ICustomAddonViewModel
Namespace: Simplic.PlugIn.SAC.Contact.UI
Assembly: Simplic.PlugIn.SAC.dll
Syntax
public class PersonalAccountTermOfPaymentViewModel : ExtendableViewModel
Constructors
| Improve this Doc View SourcePersonalAccountTermOfPaymentViewModel(PersonalAccountTermOfPayment)
Initialize instance
Declaration
public PersonalAccountTermOfPaymentViewModel(PersonalAccountTermOfPayment model)
Parameters
Type | Name | Description |
---|---|---|
PersonalAccountTermOfPayment | model |
Properties
| Improve this Doc View SourceAddonViewModel
Gets or sets the addon viewmodel
Declaration
public PersonalAccountTermOfPaymentAddonViewModel AddonViewModel { get; set; }
Property Value
Type | Description |
---|---|
PersonalAccountTermOfPaymentAddonViewModel |
CashDiscount
Gets or sets the skonto for the term of payment
Declaration
public int? CashDiscount { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
DaysForCashDiscount
Gets or sets the days for skonto for the term of payment
Declaration
public int? DaysForCashDiscount { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Id
Gets or sets the model property Id as Guid
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
IsForPurchase
Gets or sets the property IsForSale as bool
Declaration
public bool IsForPurchase { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsForSale
Gets or sets the model property IsForSale as bool
Declaration
public bool IsForSale { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Model
Gets the model instance
Declaration
public PersonalAccountTermOfPayment Model { get; }
Property Value
Type | Description |
---|---|
PersonalAccountTermOfPayment |
Name
Gets or sets the model property Name as string
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Number
Gets or sets a number for the term of payment
Declaration
public int Number { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PaymentDeadline
Gets or sets the payment deadline in days
Declaration
public int? PaymentDeadline { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
SelectedTenant
Gets or sets the tenant ID based on the selected tenant
Declaration
public Tenant SelectedTenant { get; set; }
Property Value
Type | Description |
---|---|
Tenant |
Tenants
Gets all tenants a term of payment can be assigned to
Declaration
public ObservableCollection<Tenant> Tenants { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<Tenant> |
Methods
| Improve this Doc View SourceGetAddonPrimaryKey()
Get the primary key of the table IT_PersonalAccount_TermOfPayment_Addon
Declaration
public object GetAddonPrimaryKey()
Returns
Type | Description |
---|---|
System.Object |
Implements
ICustomAddonViewModel