Skip to content

Commit

Permalink
Update all
Browse files Browse the repository at this point in the history
  • Loading branch information
mani1232 committed Aug 19, 2024
1 parent 430b1eb commit a7d4dfc
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
org.gradle.parallel=true
kotlin.code.style=official
nextPlannedApiVersion=0.0.1
nextPlannedApiVersion=0.0.2
isRelease=false
8 changes: 4 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[versions]

kotlin = "2.0.20-Beta2"
ktor = "2.3.12" # 3.0.0-beta-1
coroutines = "1.9.0-RC"
kotlin = "2.0.20-RC2"
ktor = "3.0.0-beta-2"
coroutines = "1.9.0-RC.2"
serializationJson = "1.7.1"
updateVersions = "0.51.0"
cache = "2.1.1-SNAPSHOT"
dokka = "1.9.20"
datetime = "0.6.0"
logging = "7.0.0"
uuid = "0.0.26"
uuid = "0.1.1"

[libraries]

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Sat Jun 29 17:47:25 CEST 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package cc.worldmandia.paypalApi.orderApi.builders

import app.softwork.uuid.datetime.Uuidv7
import cc.worldmandia.OrderDsl
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.uuid.UUIDExperimentalAPI
import kotlinx.uuid.datetime.UUIDv7
import kotlin.random.Random
import kotlin.uuid.ExperimentalUuidApi

@Serializable
data class PurchaseUnit(
Expand All @@ -21,8 +22,9 @@ data class PurchaseUnit(
private lateinit var amount: Amount
var description: String? = null
var customId: String? = null
@OptIn(UUIDExperimentalAPI::class)
var referenceId: String = UUIDv7().toString()

@OptIn(ExperimentalUuidApi::class)
var referenceId: String = Uuidv7(random = Random).toString()
var softDescriptor: String? = null
var items: List<Item>? = null
var invoiceId: String? = null
Expand Down

0 comments on commit a7d4dfc

Please sign in to comment.