Tabnine Logo
CreditCard.getPhone
Code IndexAdd Tabnine to your IDE (free)

How to use
getPhone
method
in
com.aoindustries.creditcards.CreditCard

Best Java code snippets using com.aoindustries.creditcards.CreditCard.getPhone (Showing top 6 results out of 315)

origin: com.aoindustries/ao-credit-cards-stripe

/** https://stripe.com/docs/api#create_charge */
private static Map<String,Object> makeShippingParams(TransactionRequest transactionRequest, CreditCard creditCard, boolean update) {
  Map<String,Object> shippingParams = new HashMap<String,Object>();
  addParam(update, shippingParams, "address", makeShippingAddressParams(transactionRequest, update));
  addParam(update, shippingParams, "name", CreditCard.getFullName(transactionRequest.getShippingFirstName(), transactionRequest.getShippingLastName()));
  // Phone cannot be in the shipping by itself
  if(!shippingParams.isEmpty()) addParam(update, shippingParams, "phone", creditCard.getPhone());
  // Unused: tracking_number
  return shippingParams;
}
// </editor-fold>
origin: com.aoindustries/ao-credit-cards-stripe

/** https://stripe.com/docs/api#metadata */
private static Map<String,Object> makeMetadata(CreditCard creditCard, boolean update) {
  Map<String,Object> metadata = new LinkedHashMap<String,Object>();
  addMetaData(update, metadata, "company_name", creditCard.getCompanyName(), true);
  addMetaData(update, metadata, "phone", creditCard.getPhone(), true);
  addMetaData(update, metadata, "fax", creditCard.getFax(), true);
  addMetaData(update, metadata, "customer_id", creditCard.getCustomerId(), true);
  addMetaData(update, metadata, "customer_tax_id", creditCard.getCustomerTaxId(), true);
  return metadata;
}
origin: com.aoindustries/ao-credit-cards-usaepay

String billcountry = creditCard.getCountryCode();
if(billcountry!=null && billcountry.length()>0) request.put("UMbillcountry", billcountry);
String billphone = creditCard.getPhone();
if(billphone!=null && billphone.length()>0) request.put("UMbillphone", billphone);
origin: com.aoindustries/ao-credit-cards-authorizeNet

addField(querySB, "x_zip", CreditCard.numbersOnly(creditCard.getPostalCode()));
addField(querySB, "x_country", creditCard.getCountryCode());
addField(querySB, "x_phone", creditCard.getPhone());
addField(querySB, "x_fax", creditCard.getFax());
addField(querySB, "x_email", creditCard.getEmail());
origin: com.aoindustries/ao-credit-cards-payflowPro

String email = creditCard.getEmail();
if(email!=null && email.length()>0) billTo.setEmail(email);
String phone = creditCard.getPhone();
if(phone!=null && phone.length()>0) billTo.setPhoneNum(phone);
String street = getStreetAddress(creditCard.getStreetAddress1(), creditCard.getStreetAddress2());
origin: com.aoindustries/ao-credit-cards-sagePayments

emptyStringIfNull(transactionRequest.getTaxAmount()==null ? null : transactionRequest.getTaxAmount().toString()),
emptyStringIfNull(transactionRequest.getOrderNumber()),
emptyStringIfNull(creditCard.getPhone()),
emptyStringIfNull(creditCard.getFax()),
emptyStringIfNull(CreditCard.getFullName(transactionRequest.getShippingFirstName(), transactionRequest.getShippingLastName())),
emptyStringIfNull(transactionRequest.getTaxAmount()==null ? null : transactionRequest.getTaxAmount().toString()),
emptyStringIfNull(transactionRequest.getOrderNumber()),
emptyStringIfNull(creditCard.getPhone()),
emptyStringIfNull(creditCard.getFax()),
emptyStringIfNull(CreditCard.getFullName(transactionRequest.getShippingFirstName(), transactionRequest.getShippingLastName())),
emptyStringIfNull(transactionRequest.getTaxAmount()==null ? null : transactionRequest.getTaxAmount().toString()),
emptyStringIfNull(transactionRequest.getOrderNumber()),
emptyStringIfNull(creditCard.getPhone()),
emptyStringIfNull(creditCard.getFax()),
emptyStringIfNull(CreditCard.getFullName(transactionRequest.getShippingFirstName(), transactionRequest.getShippingLastName())),
emptyStringIfNull(transactionRequest.getTaxAmount()==null ? null : transactionRequest.getTaxAmount().toString()),
emptyStringIfNull(transactionRequest.getOrderNumber()),
emptyStringIfNull(creditCard.getPhone()),
emptyStringIfNull(creditCard.getFax()),
emptyStringIfNull(CreditCard.getFullName(transactionRequest.getShippingFirstName(), transactionRequest.getShippingLastName())),
com.aoindustries.creditcardsCreditCardgetPhone

Popular methods of CreditCard

  • getCardCode
  • getCardNumber
  • getCity
  • getCountryCode
  • getEmail
  • getFirstName
  • getLastName
  • getPostalCode
  • getState
  • getStreetAddress1
  • getStreetAddress2
  • getComments
  • getStreetAddress2,
  • getComments,
  • getCompanyName,
  • getCustomerId,
  • getExpirationDateMMYY,
  • getFax,
  • getFullName,
  • numbersOnly,
  • getCustomerTaxId

Popular in Java

  • Running tasks concurrently on multiple threads
  • setScale (BigDecimal)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getResourceAsStream (ClassLoader)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now