| Requires any of the roles: | Client, Admin, Partner |
| GET | /payment_plan_actions |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:collection';
// @DataContract
class PaymentPlanActionsLookup implements IConvertible
{
// @DataMember(Order=2)
int? TenantsId;
// @DataMember(Order=3)
int? ActionsId;
// @DataMember(Order=4)
bool? FirstPaymentOnly;
// @DataMember(Order=5)
int? MaxMonths;
// @DataMember(Order=6)
double? PaymentValue;
// @DataMember(Order=7)
double? PaymentFixedPercentage;
// @DataMember(Order=8)
double? PaymentMinPercentage;
// @DataMember(Order=9)
double? PaymentMaxPercentage;
// @DataMember(Order=10)
double? DiscountAmount;
// @DataMember(Order=11)
double? DiscountPercentage;
PaymentPlanActionsLookup({this.TenantsId,this.ActionsId,this.FirstPaymentOnly,this.MaxMonths,this.PaymentValue,this.PaymentFixedPercentage,this.PaymentMinPercentage,this.PaymentMaxPercentage,this.DiscountAmount,this.DiscountPercentage});
PaymentPlanActionsLookup.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
TenantsId = json['TenantsId'];
ActionsId = json['ActionsId'];
FirstPaymentOnly = json['FirstPaymentOnly'];
MaxMonths = json['MaxMonths'];
PaymentValue = JsonConverters.toDouble(json['PaymentValue']);
PaymentFixedPercentage = JsonConverters.toDouble(json['PaymentFixedPercentage']);
PaymentMinPercentage = JsonConverters.toDouble(json['PaymentMinPercentage']);
PaymentMaxPercentage = JsonConverters.toDouble(json['PaymentMaxPercentage']);
DiscountAmount = JsonConverters.toDouble(json['DiscountAmount']);
DiscountPercentage = JsonConverters.toDouble(json['DiscountPercentage']);
return this;
}
Map<String, dynamic> toJson() => {
'TenantsId': TenantsId,
'ActionsId': ActionsId,
'FirstPaymentOnly': FirstPaymentOnly,
'MaxMonths': MaxMonths,
'PaymentValue': PaymentValue,
'PaymentFixedPercentage': PaymentFixedPercentage,
'PaymentMinPercentage': PaymentMinPercentage,
'PaymentMaxPercentage': PaymentMaxPercentage,
'DiscountAmount': DiscountAmount,
'DiscountPercentage': DiscountPercentage
};
getTypeName() => "PaymentPlanActionsLookup";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: <String, TypeInfo> {
'PaymentPlanActionsLookup': TypeInfo(TypeOf.Class, create:() => PaymentPlanActionsLookup()),
});
Dart PaymentPlanActionsLookup DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /payment_plan_actions HTTP/1.1 Host: duengageapi.uat.scadsoftware.com Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
[{"TenantsId":0,"ActionsId":0,"FirstPaymentOnly":false,"MaxMonths":0,"PaymentValue":0,"PaymentFixedPercentage":0,"PaymentMinPercentage":0,"PaymentMaxPercentage":0,"DiscountAmount":0,"DiscountPercentage":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}]