-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Andrew <[email protected]>
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// | ||
// Application.swift | ||
// | ||
// | ||
// Created by Andrew Morris on 26/04/2024. | ||
// | ||
|
||
import Foundation | ||
|
||
/// The [Application Object](https://stripe.com/docs/api/application/object) | ||
public struct ConnectApplication: Codable { | ||
/// Unique identifier for the object. | ||
public var id: String | ||
/// The name of the application. | ||
public var name: String? | ||
/// String representing the object’s type. Objects of the same type share the same value. | ||
public var object: String | ||
|
||
public init(id: String, | ||
name: String? = nil, | ||
object: String) { | ||
self.id = id | ||
self.name = name | ||
self.object = object | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters