---
title: "init(rawValue:)"
framework: passkit
role: symbol
role_heading: Initializer
path: "passkit/pkstoredvaluepassbalance/balancetype-swift.struct/init(rawvalue:)"
---

# init(rawValue:)

Creates a balance type.

## Declaration

```swift
init(rawValue: String)
```

## Parameters

- `rawValue`: A number that corresponds to the raw value of the type of balance of the stored-value pass.

## See Also

### Related Documentation

- [PKStoredValuePassBalance.BalanceType](passkit/pkstoredvaluepassbalance/balancetype-swift.struct.md)
