Skip to content

Instantly share code, notes, and snippets.

View Devarshi87's full-sized avatar

Devarshi Mishra Devarshi87

View GitHub Profile

This gist contains multiple files. Each file contains a specific type of Apex or Visualforce comment header.

When code is no longer used, but can not be deleted from your org, add the @deprecated annotation to the File or Method Header.

@Devarshi87
Devarshi87 / googlemaps.apxc
Created September 16, 2020 09:55 — forked from chrisjlee/googlemaps.apxc
Salesforce and Google Maps API to calculate distance borrowed from: http://bulkified.com/How+to+use+the+Google+Maps+API+in+Salesforce.com
public class googleMaps {
public String duration {get;set;}
public Integer travelTime {get;set;}
public Decimal distance {get;set;}
public googleMaps(
String address1,
String address2) {
/*-************************************************************************************************************
* Name : AmazonAuthenticationUtility
* @Author : Aditya Kumar
* @Date : 02 Dec 2019
* @Description : The AmazonAuthenticationUtility controller is used for converting body data.
* UPDATES
* Version Developer Date Description
*-------------------------------------------------------------------------------------------
* 1.0 Aditya Kumar 02 Dec 2019 Initial Creation
****************************************************************************************************************/