Skip to content

Commit 7ca7290

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
fix: mark nullable property as nullable (#305)
1 parent 1979afa commit 7ca7290

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bulkresult.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ type BulkResultEntity struct {
205205
// transaction. A `credit` moves money from your account to someone else's. A
206206
// `debit` pulls money from someone else's account to your own. Note that wire,
207207
// rtp, and check payments will always be `credit`.
208-
Direction string `json:"direction"`
208+
Direction string `json:"direction,nullable"`
209209
DiscardedAt time.Time `json:"discarded_at,nullable" format:"date-time"`
210210
// The timestamp (ISO8601 format) at which the ledger transaction happened for
211211
// reporting purposes.

paymentorder.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ type PaymentOrderUltimateOriginatingAccount struct {
652652
// This field can have the runtime type of [map[string]string].
653653
Metadata interface{} `json:"metadata,required"`
654654
// The name of the virtual account.
655-
Name string `json:"name,required"`
655+
Name string `json:"name,required,nullable"`
656656
Object string `json:"object,required"`
657657
// This field can have the runtime type of [[]RoutingDetail].
658658
RoutingDetails interface{} `json:"routing_details,required"`

0 commit comments

Comments
 (0)