/// <summary> /// Optional. Locations where the pass is relevant. For example, the location of your store. /// </summary> public static PassBuilder.RelevanceBuilder Locations(this PassBuilder.RelevanceBuilder builder, double latitude, double longitude, double?altitude = null, string?relevantText = null) { var value = new PassBuilder.Location { Latitude = latitude, Longitude = longitude, Altitude = altitude, RelevantText = relevantText, }; return(Locations(builder, value)); }
/// <summary> /// Optional. Locations where the pass is relevant. For example, the location of your store. /// </summary> public static PassBuilder.RelevanceBuilder Locations(this PassBuilder.RelevanceBuilder builder, PassBuilder.Location value) { builder.AppendValue(PassBuilder.GetCaller(), value); return(builder); }