Skip to content

Commit

Permalink
Fix charge with discount settings (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonatasPedroso authored Jul 1, 2024
1 parent e1b0faf commit 43bb8ef
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/kotlin/Charge.kt
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ public data class ChargeRequestBody @JvmOverloads public constructor(
public val interests: Interests? = null,
public val fines: Fines? = null,
public val additionalInfos: List<AdditionalInfo>? = null,
public val type: ChargeType? = null,
public val expiresDate: String? = null,
public val discountSettings: ChargeDiscountSettings? = null,
)

@Serializable
Expand Down Expand Up @@ -334,6 +337,9 @@ public class ChargeBuilder internal constructor() {
interests,
fines,
additionalInfo,
type,
expiresDate,
discountSettings,
)
}
}
Expand Down

0 comments on commit 43bb8ef

Please sign in to comment.