This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package api
|
||||
|
||||
import "fmt"
|
||||
|
||||
// GetOrderLink give the link to order the car.
|
||||
func (a *Availability) GetOrderLink() string {
|
||||
return fmt.Sprintf("https://www.tesla.com/fr_FR/%s/order/%s?postal=59110®ion=FR&referral=jon833", a.Model, a.Vin)
|
||||
}
|
||||
Reference in New Issue
Block a user