001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.records.payment; 005 006 007import com.echothree.model.data.payment.common.pk.PaymentMethodCreditCardPK; 008import com.echothree.model.data.payment.common.pk.PaymentMethodPK; 009 010import org.jooq.Record1; 011import org.jooq.impl.UpdatableRecordImpl; 012 013 014/** 015 * This class is generated by jOOQ. 016 */ 017@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) 018public class PaymentMethodCreditCards extends UpdatableRecordImpl<PaymentMethodCreditCards> { 019 020 private static final long serialVersionUID = 1L; 021 022 /** 023 * Setter for 024 * <code>paymentmethodcreditcards.pmcc_paymentmethodcreditcardid</code>. 025 */ 026 public void PaymentMethodCreditCard(PaymentMethodCreditCardPK value) { 027 set(0, value); 028 } 029 030 /** 031 * Getter for 032 * <code>paymentmethodcreditcards.pmcc_paymentmethodcreditcardid</code>. 033 */ 034 public PaymentMethodCreditCardPK PaymentMethodCreditCard() { 035 return (PaymentMethodCreditCardPK) get(0); 036 } 037 038 /** 039 * Setter for <code>paymentmethodcreditcards.pmcc_pm_paymentmethodid</code>. 040 */ 041 public void PaymentMethod(PaymentMethodPK value) { 042 set(1, value); 043 } 044 045 /** 046 * Getter for <code>paymentmethodcreditcards.pmcc_pm_paymentmethodid</code>. 047 */ 048 public PaymentMethodPK PaymentMethod() { 049 return (PaymentMethodPK) get(1); 050 } 051 052 /** 053 * Setter for <code>paymentmethodcreditcards.pmcc_requestnameoncard</code>. 054 */ 055 public void RequestNameOnCard(Boolean value) { 056 set(2, value); 057 } 058 059 /** 060 * Getter for <code>paymentmethodcreditcards.pmcc_requestnameoncard</code>. 061 */ 062 public Boolean RequestNameOnCard() { 063 return (Boolean) get(2); 064 } 065 066 /** 067 * Setter for <code>paymentmethodcreditcards.pmcc_requirenameoncard</code>. 068 */ 069 public void RequireNameOnCard(Boolean value) { 070 set(3, value); 071 } 072 073 /** 074 * Getter for <code>paymentmethodcreditcards.pmcc_requirenameoncard</code>. 075 */ 076 public Boolean RequireNameOnCard() { 077 return (Boolean) get(3); 078 } 079 080 /** 081 * Setter for <code>paymentmethodcreditcards.pmcc_checkcardnumber</code>. 082 */ 083 public void CheckCardNumber(Boolean value) { 084 set(4, value); 085 } 086 087 /** 088 * Getter for <code>paymentmethodcreditcards.pmcc_checkcardnumber</code>. 089 */ 090 public Boolean CheckCardNumber() { 091 return (Boolean) get(4); 092 } 093 094 /** 095 * Setter for 096 * <code>paymentmethodcreditcards.pmcc_requestexpirationdate</code>. 097 */ 098 public void RequestExpirationDate(Boolean value) { 099 set(5, value); 100 } 101 102 /** 103 * Getter for 104 * <code>paymentmethodcreditcards.pmcc_requestexpirationdate</code>. 105 */ 106 public Boolean RequestExpirationDate() { 107 return (Boolean) get(5); 108 } 109 110 /** 111 * Setter for 112 * <code>paymentmethodcreditcards.pmcc_requireexpirationdate</code>. 113 */ 114 public void RequireExpirationDate(Boolean value) { 115 set(6, value); 116 } 117 118 /** 119 * Getter for 120 * <code>paymentmethodcreditcards.pmcc_requireexpirationdate</code>. 121 */ 122 public Boolean RequireExpirationDate() { 123 return (Boolean) get(6); 124 } 125 126 /** 127 * Setter for 128 * <code>paymentmethodcreditcards.pmcc_checkexpirationdate</code>. 129 */ 130 public void CheckExpirationDate(Boolean value) { 131 set(7, value); 132 } 133 134 /** 135 * Getter for 136 * <code>paymentmethodcreditcards.pmcc_checkexpirationdate</code>. 137 */ 138 public Boolean CheckExpirationDate() { 139 return (Boolean) get(7); 140 } 141 142 /** 143 * Setter for 144 * <code>paymentmethodcreditcards.pmcc_requestsecuritycode</code>. 145 */ 146 public void RequestSecurityCode(Boolean value) { 147 set(8, value); 148 } 149 150 /** 151 * Getter for 152 * <code>paymentmethodcreditcards.pmcc_requestsecuritycode</code>. 153 */ 154 public Boolean RequestSecurityCode() { 155 return (Boolean) get(8); 156 } 157 158 /** 159 * Setter for 160 * <code>paymentmethodcreditcards.pmcc_requiresecuritycode</code>. 161 */ 162 public void RequireSecurityCode(Boolean value) { 163 set(9, value); 164 } 165 166 /** 167 * Getter for 168 * <code>paymentmethodcreditcards.pmcc_requiresecuritycode</code>. 169 */ 170 public Boolean RequireSecurityCode() { 171 return (Boolean) get(9); 172 } 173 174 /** 175 * Setter for 176 * <code>paymentmethodcreditcards.pmcc_cardnumbervalidationpattern</code>. 177 */ 178 public void CardNumberValidationPattern(String value) { 179 set(10, value); 180 } 181 182 /** 183 * Getter for 184 * <code>paymentmethodcreditcards.pmcc_cardnumbervalidationpattern</code>. 185 */ 186 public String CardNumberValidationPattern() { 187 return (String) get(10); 188 } 189 190 /** 191 * Setter for 192 * <code>paymentmethodcreditcards.pmcc_securitycodevalidationpattern</code>. 193 */ 194 public void SecurityCodeValidationPattern(String value) { 195 set(11, value); 196 } 197 198 /** 199 * Getter for 200 * <code>paymentmethodcreditcards.pmcc_securitycodevalidationpattern</code>. 201 */ 202 public String SecurityCodeValidationPattern() { 203 return (String) get(11); 204 } 205 206 /** 207 * Setter for <code>paymentmethodcreditcards.pmcc_retaincreditcard</code>. 208 */ 209 public void RetainCreditCard(Boolean value) { 210 set(12, value); 211 } 212 213 /** 214 * Getter for <code>paymentmethodcreditcards.pmcc_retaincreditcard</code>. 215 */ 216 public Boolean RetainCreditCard() { 217 return (Boolean) get(12); 218 } 219 220 /** 221 * Setter for <code>paymentmethodcreditcards.pmcc_retainsecuritycode</code>. 222 */ 223 public void RetainSecurityCode(Boolean value) { 224 set(13, value); 225 } 226 227 /** 228 * Getter for <code>paymentmethodcreditcards.pmcc_retainsecuritycode</code>. 229 */ 230 public Boolean RetainSecurityCode() { 231 return (Boolean) get(13); 232 } 233 234 /** 235 * Setter for <code>paymentmethodcreditcards.pmcc_requestbilling</code>. 236 */ 237 public void RequestBilling(Boolean value) { 238 set(14, value); 239 } 240 241 /** 242 * Getter for <code>paymentmethodcreditcards.pmcc_requestbilling</code>. 243 */ 244 public Boolean RequestBilling() { 245 return (Boolean) get(14); 246 } 247 248 /** 249 * Setter for <code>paymentmethodcreditcards.pmcc_requirebilling</code>. 250 */ 251 public void RequireBilling(Boolean value) { 252 set(15, value); 253 } 254 255 /** 256 * Getter for <code>paymentmethodcreditcards.pmcc_requirebilling</code>. 257 */ 258 public Boolean RequireBilling() { 259 return (Boolean) get(15); 260 } 261 262 /** 263 * Setter for <code>paymentmethodcreditcards.pmcc_requestissuer</code>. 264 */ 265 public void RequestIssuer(Boolean value) { 266 set(16, value); 267 } 268 269 /** 270 * Getter for <code>paymentmethodcreditcards.pmcc_requestissuer</code>. 271 */ 272 public Boolean RequestIssuer() { 273 return (Boolean) get(16); 274 } 275 276 /** 277 * Setter for <code>paymentmethodcreditcards.pmcc_requireissuer</code>. 278 */ 279 public void RequireIssuer(Boolean value) { 280 set(17, value); 281 } 282 283 /** 284 * Getter for <code>paymentmethodcreditcards.pmcc_requireissuer</code>. 285 */ 286 public Boolean RequireIssuer() { 287 return (Boolean) get(17); 288 } 289 290 /** 291 * Setter for <code>paymentmethodcreditcards.pmcc_fromtime</code>. 292 */ 293 public void FromTime(Long value) { 294 set(18, value); 295 } 296 297 /** 298 * Getter for <code>paymentmethodcreditcards.pmcc_fromtime</code>. 299 */ 300 public Long FromTime() { 301 return (Long) get(18); 302 } 303 304 /** 305 * Setter for <code>paymentmethodcreditcards.pmcc_thrutime</code>. 306 */ 307 public void ThruTime(Long value) { 308 set(19, value); 309 } 310 311 /** 312 * Getter for <code>paymentmethodcreditcards.pmcc_thrutime</code>. 313 */ 314 public Long ThruTime() { 315 return (Long) get(19); 316 } 317 318 // ------------------------------------------------------------------------- 319 // Primary key information 320 // ------------------------------------------------------------------------- 321 322 @Override 323 public Record1<PaymentMethodCreditCardPK> key() { 324 return (Record1) super.key(); 325 } 326 327 // ------------------------------------------------------------------------- 328 // Constructors 329 // ------------------------------------------------------------------------- 330 331 /** 332 * Create a detached PaymentMethodCreditCards 333 */ 334 public PaymentMethodCreditCards() { 335 super(com.echothree.model.jooq.server.tables.payment.PaymentMethodCreditCards.PaymentMethodCreditCards); 336 } 337 338 /** 339 * Create a detached, initialised PaymentMethodCreditCards 340 */ 341 public PaymentMethodCreditCards(PaymentMethodCreditCardPK PaymentMethodCreditCard, PaymentMethodPK PaymentMethod, Boolean RequestNameOnCard, Boolean RequireNameOnCard, Boolean CheckCardNumber, Boolean RequestExpirationDate, Boolean RequireExpirationDate, Boolean CheckExpirationDate, Boolean RequestSecurityCode, Boolean RequireSecurityCode, String CardNumberValidationPattern, String SecurityCodeValidationPattern, Boolean RetainCreditCard, Boolean RetainSecurityCode, Boolean RequestBilling, Boolean RequireBilling, Boolean RequestIssuer, Boolean RequireIssuer, Long FromTime, Long ThruTime) { 342 super(com.echothree.model.jooq.server.tables.payment.PaymentMethodCreditCards.PaymentMethodCreditCards); 343 344 PaymentMethodCreditCard(PaymentMethodCreditCard); 345 PaymentMethod(PaymentMethod); 346 RequestNameOnCard(RequestNameOnCard); 347 RequireNameOnCard(RequireNameOnCard); 348 CheckCardNumber(CheckCardNumber); 349 RequestExpirationDate(RequestExpirationDate); 350 RequireExpirationDate(RequireExpirationDate); 351 CheckExpirationDate(CheckExpirationDate); 352 RequestSecurityCode(RequestSecurityCode); 353 RequireSecurityCode(RequireSecurityCode); 354 CardNumberValidationPattern(CardNumberValidationPattern); 355 SecurityCodeValidationPattern(SecurityCodeValidationPattern); 356 RetainCreditCard(RetainCreditCard); 357 RetainSecurityCode(RetainSecurityCode); 358 RequestBilling(RequestBilling); 359 RequireBilling(RequireBilling); 360 RequestIssuer(RequestIssuer); 361 RequireIssuer(RequireIssuer); 362 FromTime(FromTime); 363 ThruTime(ThruTime); 364 resetTouchedOnNotNull(); 365 } 366}