/* Options: Date: 2026-11-08 11:31:05 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetDonation.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/v1.1/Donations/Get/{id}", Verbs="GET") // @Route(Path="/v1.2/Donations/Get/{id}", Verbs="GET") public static class GetDonation extends GetDonation implements IReturn, IReturnLegacyException { private static Object responseType = DonationReceiptsResponse.class; public Object getResponseType() { return responseType; } } public static class DonationReceiptsResponse { public Integer Id = null; public String Status = null; public String CampaignName = null; public Integer CampaignId = null; public String Date = null; public BigDecimal Amount = null; public CreditCardUsed CreditCard = null; public DonationLocation Location = null; public DonationTransaction Transaction = null; public Integer getId() { return Id; } public DonationReceiptsResponse setId(Integer value) { this.Id = value; return this; } public String getStatus() { return Status; } public DonationReceiptsResponse setStatus(String value) { this.Status = value; return this; } public String getCampaignName() { return CampaignName; } public DonationReceiptsResponse setCampaignName(String value) { this.CampaignName = value; return this; } public Integer getCampaignId() { return CampaignId; } public DonationReceiptsResponse setCampaignId(Integer value) { this.CampaignId = value; return this; } public String getDate() { return Date; } public DonationReceiptsResponse setDate(String value) { this.Date = value; return this; } public BigDecimal getAmount() { return Amount; } public DonationReceiptsResponse setAmount(BigDecimal value) { this.Amount = value; return this; } public CreditCardUsed getCreditCard() { return CreditCard; } public DonationReceiptsResponse setCreditCard(CreditCardUsed value) { this.CreditCard = value; return this; } public DonationLocation getLocation() { return Location; } public DonationReceiptsResponse setLocation(DonationLocation value) { this.Location = value; return this; } public DonationTransaction getTransaction() { return Transaction; } public DonationReceiptsResponse setTransaction(DonationTransaction value) { this.Transaction = value; return this; } } public static interface IReturnLegacyException { } public static class GetDonation { public Integer Id = null; public Integer getId() { return Id; } public GetDonation setId(Integer value) { this.Id = value; return this; } } public static class DonationLocation { public Double Longitude = null; public Double Latitude = null; public Double getLongitude() { return Longitude; } public DonationLocation setLongitude(Double value) { this.Longitude = value; return this; } public Double getLatitude() { return Latitude; } public DonationLocation setLatitude(Double value) { this.Latitude = value; return this; } } public static class CreditCardUsed { public String CardHolderName = null; public String Icon = null; public String CaptureSource = null; public String Last4Digits = null; public String Type = null; public String getCardHolderName() { return CardHolderName; } public CreditCardUsed setCardHolderName(String value) { this.CardHolderName = value; return this; } public String getIcon() { return Icon; } public CreditCardUsed setIcon(String value) { this.Icon = value; return this; } public String getCaptureSource() { return CaptureSource; } public CreditCardUsed setCaptureSource(String value) { this.CaptureSource = value; return this; } public String getLast4Digits() { return Last4Digits; } public CreditCardUsed setLast4Digits(String value) { this.Last4Digits = value; return this; } public String getType() { return Type; } public CreditCardUsed setType(String value) { this.Type = value; return this; } } public static class DonationTransaction { public Integer Id = null; public String Status = null; public String DetailUri = null; public String CancelUri = null; public Integer CreatedBy = null; public Integer ClientId = null; public Integer GroupId = null; public Integer getId() { return Id; } public DonationTransaction setId(Integer value) { this.Id = value; return this; } public String getStatus() { return Status; } public DonationTransaction setStatus(String value) { this.Status = value; return this; } public String getDetailUri() { return DetailUri; } public DonationTransaction setDetailUri(String value) { this.DetailUri = value; return this; } public String getCancelUri() { return CancelUri; } public DonationTransaction setCancelUri(String value) { this.CancelUri = value; return this; } public Integer getCreatedBy() { return CreatedBy; } public DonationTransaction setCreatedBy(Integer value) { this.CreatedBy = value; return this; } public Integer getClientId() { return ClientId; } public DonationTransaction setClientId(Integer value) { this.ClientId = value; return this; } public Integer getGroupId() { return GroupId; } public DonationTransaction setGroupId(Integer value) { this.GroupId = value; return this; } } }