/// <summary> /// Optional. Alignment for the field’s contents. /// </summary> public static PassBuilder.StandardFieldBuilder TextAlignment(this PassBuilder.StandardFieldBuilder builder, string value) { builder.SetFieldValue(PassBuilder.GetCaller(), value); return(builder); }
/// <summary> /// Optional. Format string for the alert text that is displayed when the pass is updated. /// The format string must contain the escape %@, which is replaced with the field’s new value. For example "Gate changed to %@". /// </summary> /// <remarks> /// If you don’t specify a change message, the user isn’t notified when the field changes. /// </remarks> public static PassBuilder.StandardFieldBuilder ChangeMessage(this PassBuilder.StandardFieldBuilder builder, string value) { builder.SetFieldValue(PassBuilder.GetCaller(), value); return(builder); }
/// <summary> /// Optional. Data detectors that are applied to the field’s value. /// </summary> public static PassBuilder.StandardFieldBuilder DataDetectorTypes(this PassBuilder.StandardFieldBuilder builder, string[] value) { builder.SetFieldValue(PassBuilder.GetCaller(), value); return(builder); }
/// <summary> /// Style of number to display. /// </summary> public static PassBuilder.StandardFieldBuilder NumberStyle(this PassBuilder.StandardFieldBuilder builder, NumberStyle value) { builder.SetFieldValue(PassBuilder.GetCaller(), value.ToPassKitString()); return(builder); }