Files
kami_itunes_june/AppleBatch_June.Model/PaymentList.cs
2024-07-22 00:43:14 +08:00

724 lines
14 KiB
C#

namespace AppleBatch_June.Model
{
public class PaymentList
{
public class Data
{
public string id { get; set; }
public string type { get; set; }
public Attributes attributes { get; set; }
}
public class Attributes
{
public Paymentinfo[] paymentInfos { get; set; }
}
public class Billinginfoformat
{
public Billinginfoformat1 billingInfoFormat { get; set; }
}
public class Billinginfoformat1
{
public Address address { get; set; }
public Paymentmethods paymentMethods { get; set; }
}
public class Address
{
public Billinglastname billingLastName { get; set; }
public Phoneofficenumber phoneOfficeNumber { get; set; }
public Addressofficialcity addressOfficialCity { get; set; }
public Phoneofficecountrydialcode phoneOfficeCountryDialCode { get; set; }
public Addressofficialstateprovince addressOfficialStateProvince { get; set; }
public Addressofficialcountrycode addressOfficialCountryCode { get; set; }
public Billingfirstname billingFirstName { get; set; }
public Addressofficiallinesecond addressOfficialLineSecond { get; set; }
public Addressofficiallinefirst addressOfficialLineFirst { get; set; }
public Addressofficialpostalcode addressOfficialPostalCode { get; set; }
public Addressofficiallinethird addressOfficialLineThird { get; set; }
public string[][] order { get; set; }
}
public class Billinglastname
{
public string id { get; set; }
public string type { get; set; }
public bool required { get; set; }
public string value { get; set; }
public string placeholder { get; set; }
public string label { get; set; }
public string title { get; set; }
}
public class Phoneofficenumber
{
public string id { get; set; }
public string type { get; set; }
public bool required { get; set; }
public string value { get; set; }
public string placeholder { get; set; }
public string label { get; set; }
public string title { get; set; }
}
public class Addressofficialcity
{
public string id { get; set; }
public string type { get; set; }
public bool required { get; set; }
public string value { get; set; }
public string placeholder { get; set; }
public string label { get; set; }
public string title { get; set; }
}
public class Phoneofficecountrydialcode
{
public string id { get; set; }
public string type { get; set; }
public bool required { get; set; }
public string placeholder { get; set; }
public string title { get; set; }
}
public class Addressofficialstateprovince
{
public string id { get; set; }
public string type { get; set; }
public string subType { get; set; }
public bool required { get; set; }
public string value { get; set; }
public Option[] options { get; set; }
public string placeholder { get; set; }
public string label { get; set; }
public string title { get; set; }
}
public class Option
{
public string displayName { get; set; }
public string name { get; set; }
public string value { get; set; }
public int selected { get; set; }
public Extra extra { get; set; }
}
public class Extra
{
public string romanizedDisplayName { get; set; }
}
public class Addressofficialcountrycode
{
public string id { get; set; }
public string type { get; set; }
public bool required { get; set; }
public string value { get; set; }
public string label { get; set; }
public string title { get; set; }
}
public class Billingfirstname
{
public string id { get; set; }
public string type { get; set; }
public bool required { get; set; }
public string value { get; set; }
public string placeholder { get; set; }
public string label { get; set; }
public string title { get; set; }
}
public class Addressofficiallinesecond
{
public string id { get; set; }
public string type { get; set; }
public bool required { get; set; }
public string placeholder { get; set; }
public string label { get; set; }
public string title { get; set; }
}
public class Addressofficiallinefirst
{
public string id { get; set; }
public string type { get; set; }
public bool required { get; set; }
public string value { get; set; }
public string placeholder { get; set; }
public string label { get; set; }
public string title { get; set; }
}
public class Addressofficialpostalcode
{
public string id { get; set; }
public string type { get; set; }
public bool required { get; set; }
public string placeholder { get; set; }
public string label { get; set; }
public string title { get; set; }
}
public class Addressofficiallinethird
{
public string id { get; set; }
public string type { get; set; }
public bool required { get; set; }
public string placeholder { get; set; }
public string label { get; set; }
public string title { get; set; }
}
public class Paymentmethods
{
public Payeaseoption PayEaseOption { get; set; }
public Creditcardoption creditCardOption { get; set; }
public string id { get; set; }
public Wcpyoption WCPYOption { get; set; }
public string[] order { get; set; }
public Apwcoption APWCOption { get; set; }
}
public class Payeaseoption
{
public string id { get; set; }
public bool required { get; set; }
public string value { get; set; }
public string displayName { get; set; }
public string verboseDisplayName { get; set; }
public int cvmLength { get; set; }
public string regexes { get; set; }
public int ccId { get; set; }
public bool topUpEnabled { get; set; }
public bool requiresSms { get; set; }
public bool canUseForSharedPayment { get; set; }
public bool topUpOnly { get; set; }
public Data1 data { get; set; }
public bool isEnabledForWeb { get; set; }
}
public class Data1
{
}
public class Creditcardoption
{
public Creditcardexpirationmonth creditCardExpirationMonth { get; set; }
public Creditverificationnumber creditVerificationNumber { get; set; }
public Creditcardexpirationyear creditCardExpirationYear { get; set; }
public Creditcardnumber creditCardNumber { get; set; }
public string displayName { get; set; }
public Cctypes ccTypes { get; set; }
public string id { get; set; }
public string value { get; set; }
public string[] order { get; set; }
}
public class Creditcardexpirationmonth
{
public string id { get; set; }
public bool required { get; set; }
public Option1[] options { get; set; }
public string title { get; set; }
public string placeholder { get; set; }
public string label { get; set; }
}
public class Option1
{
public string displayName { get; set; }
public string name { get; set; }
public string value { get; set; }
public int selected { get; set; }
public Extra1 extra { get; set; }
}
public class Extra1
{
}
public class Creditverificationnumber
{
public string id { get; set; }
public bool required { get; set; }
public string value { get; set; }
public string placeholder { get; set; }
public string label { get; set; }
}
public class Creditcardexpirationyear
{
public string id { get; set; }
public bool required { get; set; }
public Option2[] options { get; set; }
public string title { get; set; }
public string placeholder { get; set; }
public string label { get; set; }
}
public class Option2
{
public string displayName { get; set; }
public string name { get; set; }
public string value { get; set; }
public int selected { get; set; }
public Extra2 extra { get; set; }
}
public class Extra2
{
}
public class Creditcardnumber
{
public string id { get; set; }
public bool required { get; set; }
public string value { get; set; }
public string placeholder { get; set; }
public string label { get; set; }
}
public class Cctypes
{
public string id { get; set; }
public bool required { get; set; }
public int selectableNumberOfFields { get; set; }
public Option3[] options { get; set; }
}
public class Option3
{
public bool required { get; set; }
public string value { get; set; }
public string displayName { get; set; }
public string verboseDisplayName { get; set; }
public int cvmLength { get; set; }
public string regexes { get; set; }
public int ccId { get; set; }
public bool topUpEnabled { get; set; }
public bool requiresSms { get; set; }
public bool canUseForSharedPayment { get; set; }
public bool topUpOnly { get; set; }
public Data2 data { get; set; }
public bool isEnabledForWeb { get; set; }
}
public class Data2
{
}
public class Wcpyoption
{
public string id { get; set; }
public bool required { get; set; }
public string value { get; set; }
public string displayName { get; set; }
public string verboseDisplayName { get; set; }
public int cvmLength { get; set; }
public string regexes { get; set; }
public int ccId { get; set; }
public bool topUpEnabled { get; set; }
public bool requiresSms { get; set; }
public bool canUseForSharedPayment { get; set; }
public bool topUpOnly { get; set; }
public Data3 data { get; set; }
public bool isEnabledForWeb { get; set; }
public string signUpUrl { get; set; }
public string partnerAppId { get; set; }
public string version { get; set; }
}
public class Data3
{
}
public class Apwcoption
{
public string id { get; set; }
public bool required { get; set; }
public string value { get; set; }
public string displayName { get; set; }
public string verboseDisplayName { get; set; }
public int cvmLength { get; set; }
public string regexes { get; set; }
public int ccId { get; set; }
public string ccSubType { get; set; }
public bool topUpEnabled { get; set; }
public bool requiresSms { get; set; }
public bool canUseForSharedPayment { get; set; }
public bool topUpOnly { get; set; }
public Data4 data { get; set; }
public bool isEnabledForWeb { get; set; }
public string signUpUrl { get; set; }
public string partnerAppId { get; set; }
public string version { get; set; }
}
public class Data4
{
public Phoneofficecountrydialcode1 phoneOfficeCountryDialCode { get; set; }
public Nationalid nationalId { get; set; }
public Partnerlogin partnerLogin { get; set; }
}
public class Phoneofficecountrydialcode1
{
public string id { get; set; }
public bool required { get; set; }
public Option4[] options { get; set; }
}
public class Option4
{
public string displayName { get; set; }
public string name { get; set; }
public string value { get; set; }
public int selected { get; set; }
public Extra3 extra { get; set; }
}
public class Extra3
{
}
public class Nationalid
{
public string id { get; set; }
public string type { get; set; }
public bool required { get; set; }
public string placeholder { get; set; }
}
public class Partnerlogin
{
public string id { get; set; }
public string type { get; set; }
public bool required { get; set; }
}
public class Storefront
{
public string id { get; set; }
public bool required { get; set; }
public Defaultstorefront defaultStorefront { get; set; }
public Activestorefront[] activeStorefronts { get; set; }
}
public class Defaultstorefront
{
public string displayName { get; set; }
public string name { get; set; }
public string value { get; set; }
public int selected { get; set; }
public Extra4 extra { get; set; }
public string storefrontId { get; set; }
}
public class Extra4
{
public string countryDialCodeLabel { get; set; }
public string countryDialCodeValue { get; set; }
}
public class Activestorefront
{
public string displayName { get; set; }
public string name { get; set; }
public string value { get; set; }
public int selected { get; set; }
public Extra5 extra { get; set; }
}
public class Extra5
{
public string countryDialCodeLabel { get; set; }
public string countryDialCodeValue { get; set; }
}
public class Lockstatus
{
public bool isStackLocked { get; set; }
}
public class Paymentinfo
{
public string creditCardExpirationMonth { get; set; } = "";
public string creditCardExpirationYear { get; set; } = "";
public string paymentId { get; set; }
public string last4CCDigits { get; set; }
public string paymentMethodType { get; set; }
public string translatedDisplayNameForCC { get; set; }
public bool requiresPSD2Check { get; set; }
public string partnerLogin { get; set; }
public Billingaddress billingAddress { get; set; }
public Phone phone { get; set; }
public Taxident taxIdent { get; set; }
public ValidationErrors[] validationErrors { get; set; }
public string paymentInfoAction { get; set; }
}
public class ValidationErrors
{
public string errorShortMessage { get; set; }
public string error { get; set; }
}
public class Billingaddress
{
public string billingFirstName { get; set; }
public string billingLastName { get; set; }
public string addressOfficialLineFirst { get; set; }
public string addressOfficialCity { get; set; }
public string addressOfficialStateProvince { get; set; }
public string addressOfficialCountryCode { get; set; }
public string addressOfficialLineSecond { get; set; }
public string addressOfficialPostalCode { get; set; }
}
public class Phone
{
public string phoneOfficeNumber { get; set; }
public string phoneOfficeAreaCode { get; set; }
}
public class Taxident
{
}
public Data data { get; set; }
}
}